This was just me messing around with one of the Processing.js demos. I took one of the standard demo code examples, and fiddled with it a bit: The throbbing circle will change aspect ratio and size as it follows the cursor, and I defined the boundaries so that the circle remains inside its canvas.
This entry was posted in Whatever and tagged demo, fiddle, processing, processingjs, toy. Bookmark the permalink.