Give the pulses a size multiplier attribute, which is based on mouse speed. The faster the mouse is dragging, the bigger the pulses.

Here is my solution.


Combine the three versions of the text brush in a single sketch so that when you press 1 it sprays lines, when you press 2 it sprays words, and when you press 3 it sprays characters.

Here is my solution.


Recreate the following sketch. The flashlight effect is created by setting each character's color based on its distance from the mouse. The dist() and map() built-in functions will probably be useful.

Processing Workshop

Elie Zananiri
Alberta College of Art + Design
3-5 April 2008