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.


03 J

05 swan

02 bowl


04 atom


Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s