Lina Maria Giraldo's Blog

Multimedia Artist and ITP Student

Archive for the ‘Nature of Code’ tag

Final of Nature of Code

without comments

Written by admin

May 10th, 2010 at 10:35 am

Final Proposal Fractal Map

without comments

Fractal Map Fractal Map Fractal Map Fractal Map

Click in the image for the applet

Written by admin

April 7th, 2010 at 2:38 pm

Posted in Nature of Code

Tagged with ,

Exercise week 4, Nature of Code

without comments

Here is my example using box2d, my final goal is to disappear the red cells as soon as they touch the Disease and a second one where the virus will attach to the white cells. The solution is to create a contact listener so I know the values of the collision and can create functions like destroy and attach. The code is not very easy so I haven’t been able to figure it out, even with the help of Daniel Shiffman.

After I created the world and set the variables I realized that something was missing. I thought to create walls with lines that move with time, and noise. I looked at a lot of videos of cells and processing examples and I found a wonderful example in open processing.

After you mouse clicked the noise function adds massive points into the background. The cells and the disease have problems moving faster but when the toxin is flushed, they bounce between each other graciously again.

I’m exited about better understanding the contact listener function in box2d and experimenting more.

Bellow is the applet

Please click on the image to the applet

Bellow is the video

Disease from Lina Maria Giraldo on Vimeo.

Written by admin

February 17th, 2010 at 12:35 pm

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