this code is a mouse controlled brush that creates a class of ellipses that move around the canvas following a random vector while recording their history of locations until these ellipses decay, creating a tube-like form. the ellipses also have a set of characteristics that can be manipulated through a simple interface. These characteristics include size, speed, hue, saturation, brightness, age, drag, number of ellipses and jitter.

the code is simply a set of conditional loops that create a number of floating ellipses and check for the death of the ellipses as time passes.

it does that by setting an initial age to each ellipse and recording its transformations and vector changes.

the vector changes are also subject to “jitter” which adds noise by an interface controlled factor to the vector location






mohamad alchawa


tutor : angelos chronis