Adjective – Dusty – Prototypes

Idea
Make an array of particles, dust-looking.
Mouse move wipes them, like when you try to clean a very dusty surface.

First prototype
Creating the 2D-array (x and y coordinates) and detecting mouse collision.

Second prototype
Repelling the particles. I’ve never done a script like this before, but it worked out well! I only needed to figure out the sin/cos/atan2 thing all over again:

sketches

Third prototype
I added more particles and a third position to the array, to store a random opacity.
Turns out this app makes a really cool effect to draw. I haven’t think of that when I first had this idea. Typographic experiments:

Technical details: I had problems trying to hide the cursor. Looks like “ofHideCursor()” doesn’t work on Mac OSX. I found this code and it worked perfectly: http://forum.openframeworks.cc/index.php?topic=336.0

Notes
I like the repelling effect, but I am not sure if it makes it feel like dust. Also, I could not add the Multitouch feature, I still have no idea of how to do it.

Original post
http://codeforart.cc/fall-2013/dusty-prototype/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s