p5.js is used under GNU LGPLv2.1.
The five small projects here comprise the coursework across different topics, beginning with simple ideas and increasing in complexity.
- Random Walker: just a simple exercise of a creature chasing an imaginary creature. Nothing impressive, but the bug is cute [src]
- Physics: a colorful user-controlled animation of flowers that simulates gravity and wind [src]
- Steering Forces: a zoo with wondering carnivores and herbivores that lose energy and die if they don’t get their food [src]
- Fractal Design: a generator of a static grid of (partially) fractal squares, with several color palettes [src]
- Genetic Algorithms: A visually minimalist game of spaceship-shooting where the ships evolve to become better at surviving [src]
There is some inconsistency with the use of the p5.js library, since in the first two assignments I’ve used the most recent version, while only afterwards I saw that I needed to use an older version provided by the course in order for it to run in the course website (due to ES6 incompatibility).