Drifting Snow

This one starts by generating an array of 50 snowflake objects. As each one disappears from the screen (meaning it is past the bottom edge of the screen a distance greater than half its height), its space in the array is given to a new, randomly generated snowflake. Each snowflake has its own fall speed, based on size, for a parallax effect, and its own spin speed. I managed to get each snowflake to spin independently by translating the origin to its center and rotating the origin before drawing it, them immediately undoing the rotation and translation before the next snowflake was drawn. The illusion of three-dimensional movement is created by making each snowflake’s height change along with a sine function.

Jayson Corey Project 1: Flies

This project was inspired by everyone’s favorite pest that isn’t called a mosquito: Flies! Also the book Lord of the Flies, somehow, I guess. Anyway, the program generates flies of random sizes that use noise to fly around the screen in natural ways. There is no interactive element in this project, except the interaction between your eyeballs and the program while it is running. Enjoy!

Jayson Corey Project 1: Rain

This program makes a quick rainfall when ran once that consists of custom made raindrop graphics. This was inspired quite simply by rain, or more specifically quick drizzles that don’t last much longer than a minute (Even though this only lasts seconds).

Nature VS Machine #1 – Sunset Reflection

This processing sketch was designed to replicate a sunset. As the mouse moves downward the sun also moves, changing the sky color as it moves.
The waves use various implementations of the noise function to animate there jittering and opacity.

Nature? Amoeba Tree!

This uses recursion! It was a pain to make, and it’s still not exactly what I wanted, but it looks neat. Some numbers can be changed in the code to completely change the look, density, and shape of the blob.

Bee

Every flower corresponds to one third of the layout. Each flower supposed to lose its pollen as the bee crosses its boundaries.

Nature? Spinning Flowers!

THIS DOESN’T SEEM TO DO SQUAT ONLINE. OH DEAR.
Click to make flowers!

This one uses objects and rotation! Each petal and each flower is an object. This causes a pretty significant amount of lag. This turned out pretty cool though, because the more lag there is, the more petals appear on each flower!

Nature? Rolling Hell Eggs!

Click to make it go!

This was an accident. I made it while trying to make my second nature sketch. It looks like eggs constantly spinning towards you, in an unstoppable death march.

Nature/Machine Project 3

My last project extended the rain idea. I made an interactive raincloud that rains and creates thunderbolts.
The ‘rain’ positions are stored in an array, and it draws lines from those stored positions to make the rain.
I think it’s a cute animation, and I want to put some finishing touches on it later.

the noise function doesn’t seem to work on the blog for the way I have it set up, so here is the code.

static int arrMax = 320;
int[] positions1 = new int[arrMax];
int[] positions2 = new int[arrMax];
int index=1;
int trueDex=0;

void setup(){
size(500,500);
smooth();
}

void draw(){
int i=1;
int x, y;
background(150,180,250);
fill(120,120,120);
ellipseMode(CENTER);
noStroke();
triangle(mouseX-25,mouseY+15,mouseX+30,mouseY+15,mouseX,mouseY-10);
ellipse(mouseX+21,mouseY-5,40,40);
ellipse(mouseX-18,mouseY,30,30);
ellipse(mouseX-12,mouseY-23,40,40);
ellipse(mouseX+6,mouseY-20,35,35);
ellipse(mouseX+10,mouseY+14,30,5);
ellipse(mouseX-9,mouseY+14,30,5);
if(frameCount%1==0){
x = positions1[index-1] = mouseX + 35 – int(noise(index)*70);
y = positions1[index] = mouseY + 16;
positions2[index-1] = x + 20;
positions2[index] = y + 30;
index=(index+2)%arrMax;
if(trueDex static int arrMax = 320; int[] positions1 = new int[arrMax]; int[] positions2 = new int[arrMax]; int index=1; int trueDex=0; void setup(){ size(500,500); smooth(); } void draw(){ int i=1; int x, y; background(150,180,250); fill(120,120,120); ellipseMode(CENTER); noStroke(); triangle(mouseX-25,mouseY+15,mouseX+30,mouseY+15,mouseX,mouseY-10); ellipse(mouseX+21,mouseY-5,40,40); ellipse(mouseX-18,mouseY,30,30); ellipse(mouseX-12,mouseY-23,40,40); ellipse(mouseX+6,mouseY-20,35,35); ellipse(mouseX+10,mouseY+14,30,5); ellipse(mouseX-9,mouseY+14,30,5); if(frameCount%1==0){ x = positions1[index-1] = mouseX + 35 - int(noise(index)*70); y = positions1[index] = mouseY + 16; positions2[index-1] = x + 20; positions2[index] = y + 30; index=(index+2)%arrMax; if(trueDex

Abnormal Tomato

I first tried to create a tomato that shrinks and spins as it reaches the bottom. Some other ideas were to have the tomato become darker as a fly approached the tomato.