It may seem surprising that these two figures were drawn by the same procedure with only different parameters. This display was produced by a fifteen-line program, not counting comments. Random Rectangles Recursive division and random coloration produced this decorative image. Running the program produces a sun in motion, here shown by gray circles. Although the static image is not very interesting, this simple animation exerts an odd fascination when it runs.
Mixed Fonts Try modifying the code to vary the type size as well as the font and style.
Drawing in a Window A program like this provides an easy way to develop your skill at moving the mouse precisely. Try writing your signature.