Boxes in Silverlight 2.0
Boxes perturbed by mouse movement. The amount of perturbation drops off by a normal distribution curve centred on the mouse. The horizontal and vertical box count may be from 6 to 24 (any bad values are ignored and not applied). The colour gradients change randomly on each apply and they are created by mixing sines and cosines of the box coordinates. The radius slider controls the width of the distribution curve around the mouse. Inspired by Bill Kolomyjec's composition Boxes I created using BASIC on a PDP-11 in 1973.
Created by Greg Keogh for a bit of fun over a few hobby coding evenings. A zip of the full project is available: boxes_project.zip (~50KB).
| Back to: | The Nancy Street Network Home Page |
| Info ♦ Music ♦ Gallery ♦ Pets ♦ Computers ♦ Hobbies |
NOTE: The boxes sometime snap into a vertical line and the boxes on the right of the mouse may flip on the X-axis. This is a known artifact of rounding and a kind of branch cut that I'll fix when I have more hobby time to create a smoother experience.