comment 0

Particles and Motion: Line Drawings

I’ve been working through Daniel Shiffman’s very helpful book, The Nature of Code, and came across a sketch that draws a small rectangle, which constantly adjusts to face and accelerate towards the cursor.  I wondered what it would look like if the background wasn’t redrawn each frame, so gave it ago. Adjusting to a pink oval instead of a grey rectangle, here are some of the results. Check out chapter 3.4 of The Nature of Code to see how to make it yourself.

01

03 J

05 swan

02 bowl

zen

04 atom

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