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.

Last modified November 29, 2023: Advanced Haskell coding and worksheets. (e8e2e5b)