2 ms·
So simple.. yet so clever. All the code runs in the parent window. It tracks the ball location in screen coordinates and transforms them to the window coordina
by extension 18y ago
So simple.. yet so clever.
All the code runs in the parent window. It tracks the ball location in screen coordinates and transforms them to the window coordinates of each child window. It draws the ball in any child windows in which it's visible.
It's very fast in Chrome.