Boing 2 by Lamer Deluxe
The second demo is also a Boing Ball demo, but updated for the capabilities of the Lynx. It uses the scaling ability of the Lynx and the multiplication ability of Suzy to calculate and draw the ball bouncing in 3D space. For every frame it renders either just the colors of the image, or just the brightness, mixing them together to create a shading effect, showing many more colors than just 16. This also only works correctly on the real Lynx hardware. Color cycling is used for the rotation effect of the ball.It draws the ball sprite from its top-left corner, which is much faster than from its center and then uses tables to adjust the position to scale from the center. It also uses a fixed point division table to calculate the perspective projection.