Lina Maria Giraldo's Blog

Multimedia Artist and ITP Student

Archive for the ‘Array’ tag

Exercise week 2, Nature of Code

without comments

In this exercise I tried to fix my leaf with pvectors that I created last week. I added an array of 100 elements and I started playing with the noise function, which gave the leaf acceleration from different angles creating a more natural movement.

My goal was to add forces, but I couldn’t make it work as I wanted, I’m sure it will happen in the next few days.


Click in the image for the applet

Here is the video documentation:

Video documentation of exercise week 2 of nature of code from Lina Maria Giraldo on Vimeo.

Here is my second attempt after Daniel Shiffman help me. The leafs now move differently which a huge success based on what it was stock

link to the applet

http://linamariagiraldo.com/noc/week2_b/

and here is the video documentation:

Here is my second try using pVector with noise acceleration from Lina Maria Giraldo on Vimeo.

Written by admin

February 3rd, 2010 at 10:16 am