Algorithmically distorting images is fun! Shimmia re-uses most of the maths and the code from Zoobie – both programs run through a grid of points, and for each one they pick a second point, displaced from the first by the interactions of waves.
Zoobie then draws a semi-transparent triangle at the second point, whereas Shimmia draws a pixel at the first point which gets its colour from second point in an image. The relation between them is quite a lot like the one between caustics and refracted images, though the mathematical analogy is not exact.
Click and drag inside the applet with either mouse button (or, if you only have one, with and with the closest thing you have to a Ctrl button) to change the frequency and amplitude of the waves. Drag with shift held down to change their speed.
For now the image is just this one I took of some leaves, but I figure I’ll see if I can pull pictures from Flickr later.
Snake Charmer is an applet closely based on Paul Friedlander’s light sculptures, which use hanging ropes spun at varying speeds, combined with ‘Chromastrobic’ lights’ (changing colour very quickly), to produce stunning visual effects. I recommend seeing the full-sized, physical ones if you ever get the chance, but I think there’s a lot of fun to be had with this interactive simulation, too.
Resonata Squared is based on a stack of chains, each transmitting waves at a different speed, but all driven by the same driving frequency.
The original Resonata is considerably more sophisticated in various ways, but really almost completely different.
Having finally looked up how to produce big images in processing, I’ve been having great fun digging up code I originally wrote more than a decade ago in POCO (the Autodesk Animator Pro variant of C), translating it into Processing and whipping up stills which are potentially big enough to print at about two feet across (I’m settling for 2400×2400 for now – nothing seriously vast). Here’s a sampling that you can view at 1024×1024, or here’s a full-size version of the first…
I might make t-shirts of some of these (etc.) available in my Cafepress Trigonometry shop (already selling some related designs), although I’ve never really made enough sales there to justify the effort.
Curlicor is a very simple toy. You basically control the steering wheel of the triangle. If you keep turning it you produce curlicue fractals. Click on the applet to toggle between mouse and keyboard control. Unlike most of my interactive animations, this one really requires interaction in order to do anything interesting.