Archive for the ‘Nature of Code’ Category
Final of Nature of Code
Final Proposal Fractal Map
Nature of Code midterm proposal
Midterm Presentation-Nature of Code
Human history is a collection of data, represented in many different ways.
I’m going to map data to a space/time artistic representation using latitude and longitude. In a few words, I would like to have a dynamic visualization that describes cholera, aid, HIV and malaria from a social point of view. I would like to have an organic net that interacts with each cell. The overlapping of facts in mankind fascinates me. Education, health, wars and wealth define our path and development.
For the midterm I would like to have a silhouette of a map that hosts different organisms that coexist and attack each other. When I say silhouette, I imagine a map being drawn by the disease as they grow and interact.
For the first sketch, I’ve used box2d and it’s been very convenient but I’m open to experiment with toxiclib. It looks wonderful if it’s used with particles.
The history of diseases in mankind is long and full of interesting paths.
midterm proposal nature of code first early sketch from Lina Maria Giraldo on Vimeo.
Exercise week 4, Nature of Code
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
Bellow is the video
Disease from Lina Maria Giraldo on Vimeo.
Exercise week 3, Nature of Code
I’m trying to recreate the movement of the bacteria but it’s far from being real. I’m using processing changing the oscillation example from Daniel Shiffman. The video turned out to be sort of old-school with the pixelation.
Assignment:
Incorporate oscillatory motion into a previous assignment (or create a new one)
Create a moving body with a shape made from oscillating parts
Here is the link to the applets:
Exercise week 2, Nature of Code
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.
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.
Nature of Code 1st homework
This is my first homework of nature of code. We have to understand any movement from the nature, use a video as an inspiration and try to recreate it using PVector . The video I took from you tube is a leaf being push for the wind left and right. Sometimes just stop in the air if like somebody is holding it.
This is the video I grab from you tube that demonstrate how the leaf is push by the wind
In my sketch I try to recreate the same but I didn’t happen what I was expecting sometime the leaf got stock depending of the angle that falls.Bellow are the links of my first try using a square and the second link is using the leaf
Here is the video of the final Documentation
Nature of Code 1st Homework using PVector from Lina Maria Giraldo on Vimeo.












