many many rainbows, rainbows everywere
Create your own object that moves around the screen. What is it? A butterfly? An alien? Be as creative as you like. In this session we’ll review the basics of p5.js and get everyone up and running with posting sketches online. We’ll look at how object-oriented programming works in JS and create simple sketches of objects moving around a canvas. 100%
Create a simulation entirely driven by forces. This session will look at the concept of a vector and implement sketches using a p5.Vector object. By creating objects with vectors for position, velocity, and acceleration, we’ll build a simple “hello world” physics engine. 110%
This assignment will have you creating your own simulation using steering forces. This session, we’ll examine a special kind of force (pioneered by Craig Reynolds) — a steering force — that moves an object according to its own goals or desires. Examples are wandering, seeking a target, path following, obstacle... 100%
Using recursion, integrate a fractal design into a simulation. In this session we will cover the concept of a fractal and look at ways of generating fractal patterns with code.