animation

Nature of Code Final Proposal

Screen Shot 2016-04-13 at 8.46.03 AM

For my Nature of Code final project, I decided to try my hands at Unity 3D.

I want to create a Coral Reef Scenery, full of abundant variety of living creatures fish, turtles, crabs, sharks etc. I’d like to implement some Nature of Code to the project, by creating different school of fish ( flocking systems), current and random movers ( single fish/ sharks).

I think this is a great opportunity to practice both coding, as visual skills.

I find it a bit challenging, since I haven’t been using Unity a lot, and am not familiar with C#, but with a little help of tutorials I’m sure I will be able to figure something out. So far, I’ve created several flocking systems and some caustic effects. Still working on Sun shafts.

This is what I have so far:

First flocking system:

gif_flock

Flocking system without collider:

no_collider

First Collider Attempt:

gif_1

Collider test with a wall

overview collider_test

Finally, creating a reef

insta_lapse

caustic effect:

caustic

scenery:

overview2 scene

and here’s what I have so far:

scene2

Screen Shot 2016-04-13 at 8.46.03 AM

Screen Shot 2016-04-13 at 8.45.40 AM Screen Shot 2016-04-13 at 9.00.11 AM

Dots

dots

I came up with this weird idea, and decided to practice my p5 skills a little more. Firstly, I wanted to create some ellipses,  which would follow the cursor with a different delays.

 

Then, inspired by clock and solar system, I made some randomly shaped circular paths, for another set of ellipses.

The ellipses in the background use nested loop function. To make it more fancy, I made this ‘flashing’ effect by setting ellipses’ opacity to random.

I also added two additional ‘hidden’ features, which plays more with the background.

 

Surprisingly, one of the most important thing I’ve learned thanks to this sketch, is that I definitely should write my code in an organized way! I created so many variables, so many elements that I almost got lost! I need to work on that a lot…

CODE