Waveform Loops

Here’s an experiment in oscillation. The user can modify the frequency, amplitude and type of wave function that controls the position and size of a ball on the screen. The user can also choose to show a white curve or a series of increasingly transparent red balls that indicate the future motion of the main actor of the sketch.

Here’s a video of some of the nice patterns I was able to generate using the program.

[vimeo https://vimeo.com/87441291 w=640]

You can play with it here: antiboredom.github.io/waves

Coding an Emotion [Ecstasy]

Here are three attempts to represent the emotion of ecstasy in code.

This is my first attempt – most people I showed it to found it difficult to look at. It represents a continuous experience of ecstatic hallucination. You probably shouldn’t click play if you are prone to seizures.
[vimeo http://vimeo.com/86160167 w=640]

For my second attempt I tried something more soothing. The user has to hold the mouse down for the effect to kick in. Click here to see the full sketch.
e2

My third attempt is an iteration of the second. I tried to add an element of time – the boxes will begin to shake, then become ecstatic and after a few moments will return to their original place on the screen. The user can also incite a frenzy by clicking. Click here to see the full sketch.
e1