So simple.. yet so clever.<p>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.<p>It's very fast in Chrome.
This is rather awesome, maybe if these new javascript graphic technologies, as well as speed enhancements, we soon will have a world primarily owned by more compliant browsers like firefox safari and chrome.
Fun interactions for the author to think about!<p>- move the ball around just by creating/moving/resizing windows<p>- minimize or close the window with the ball<p>- maximize a window, let the ball fall, restore to normal size<p>- hide some windows behind a Word document or something