At CERN in 1980, I. Gumowski and C. Mira devised an equation to calculate the trajectories of sub-atomic particles.
A side effect of the equation is the generation of some quite interesting patterns.
And with the relatively fast pixel-plotting of ActionScript 3, the equation can create a spray pattern.
action | key | |
---|---|---|
paint | mouse left down | button hold to spray |
colour change | mouse left release, then down | |
clear | spacebar |
Using the Flex compiler on Linux / Windows:
./mxmlc MiraPaint.as
mxmlc MiraPaint.as
Most browsers, because of revised security, will now not load a Flash .swf directly.
MiraRunner.html and the js/ directory provide old code to run MiraPaint.swf in a browser.
Licensed under the MIT License.