George was trying object-oriented code for the first time when he created this interesting visual effect. The title refers to moving balls, but in the absence of background refreshes the "balls" soon adopt different shapes. The code follows the graphic in action. If ObjectMovingBalls does not run in your current browser, please try another (such as Chrome).
Array of objects, c-style operators, Ellipse, FillRectF, BeginPath, Fill, ClosePath