Mini C
Very simple key handler.
- Clicking alternately places a square (side length 2) and a circle (radius 1), centered on the click.
- Hitting “1” changes the color of the last shape placed.
- Hitting “2” changes the color of the penultimate shape placed.
Make successive hits of a key cycle the color between orange and blue.