More Conditionals TopColors and Random Numbers

Colors and Random Numbers

  1. A new version of the scribbler program that draws in four different colors.

    Click on Scribble4Color to show the example.

  2. A fancier version of the scribbler program that generates a random color by selecting the red, green, and blue components at random by using a random number generator that selects a number between 0 and 255.

    Click on ScribbleColor to show the example.


More Conditionals TopColors and Random Numbers