Nature vs. Machine Sketch 1

For the first iteration of my project I went with the theme of a black hole. My original idea was to make a blue earth however I stumbled upon the idea of a black hole when I added some code from the book, that made a matrix of clouds, and made my “earth” shape black. The background color is also random because although black is more like space it gets boring.

Click to expand the black hole, and ask yourself: is it actually black?

Nature vs Machines, Night & Light 3: Nebulae

The third sketch in “Night & Light” is Nebulae, is which creates a different starry sky with each mouse or key press. The color is randomized as well as the star field, so you get a different sky each time!

Nature vs Machines, Night & Light 2: Will o’ the Wisps

The second of my “Night & Light” sketches is based on will o’ the wisps, ghostly lights supposedly seen by travelers at night that lead them on safe paths over swamps and marshes in English folklore.

The two will o’ the wisps dance around each other naturally, but will also dance in time as you move your mouse around the canvas. Try it! You’ll need to hover your mouse over it to get them started.

 

Nature vs Machine, Night & Light 1: Fireflies

My series of sketches for the Nature vs Machine project is called “Night & Light” as each sketch plays with the idea of nature and light at night. This first sketch is “Fireflies” in which I aimed to recreated the beautiful light trails left by fireflies at night.

This sketch is both animated and interactive; click the mouse to add more fireflies to the jar, and use the S key to save the frame!

 

Nature image 1- blooming roses

For this image I made a set of 4 roses bloom over time. This was somewhat tricky to get correct and involved a lot of playing around to figure out the best way to get it to look right. At any point you may press the mouse key to restart. I made the fill have a lower alpha so the roses would be darker towards the center and lighter towards the delicate outer petals. The fill colors are fully saturated and the strokes are a solid version of the fill color, which I feel makes the flowers look like they are glowing against the hunter green background. I thought the dark green looked majestic and was fitting for the roses. I used both dark and light along with cool and warm going from red to teal to pink to indigo. I played around a lot with the color choices and thought the ones I picked came out nicely.

Paw Prints

This sketch was inspired by a cat leaving paw prints in the snow in winter. Click to make footprints!

Spider Web

This sketch is inspired by a spider’s web, and it draws triangles that all connect towards the center of the window. It ended up looking more like a top-down view of a city.

Bubbly Ripples

This sketch was inspired by water ripples, and I wanted to work with arrays in moving images, so this sketch uses arrays to move the bubbles around. The finished program reminds me of soda now.

Project 1 – Hurricane

The final sketch of the three part series of this project features inspiration from the most recent storm, hurricane Sandy. However, the difference is in this sketch is I’ve created a mini game which allows the user to try and thwart the hurricane as it reaches the coastline. The players must control the hurricane with the four arrow keys, and direct the storm into the targets displayed on screen. If the hurricane hits all of the targets before reaching the end of the shoreline, the storm will perform a shrinking animation signalling the player has won, and restart the game. If the player misses the targets, the game will restart. In order to build suspense, the size of the hurricane grows as each target is collected until finally it reaches critical mass where the player either wins or loses. You can play the game below!

Project 1 – Electricity

For the second sketch the Machine vs. Nature project series, my main inspiration was electricity! After seeing an example in class about how to create noise within a line, it sparked some great ideas on how to create an interactive Van der Graaf generator. The user can control the “power level” of the machine by using the up and down arrow keys. As the power level rises, random sparks of electricity in the background become more frequent. In addition, more lines of electricity form at power levels 5 and 10. Finally, the thickness of the electricity changes along with the color the more powerful the machine gets. Check out the machine below!