Week 8 assignment based on Steering Behavior example. Typeface: Alpha Headline
Some additional updates are expected:
- assigning separate class for ghost/poison vector
- continuously generating new food
Assignment 3 based on Daniel Shiffman’s Polar Rose Pattern example and the Rhodonea Curve Chart in Wikipedia. The value of mouseX will determine number of polygons, although I merely play with these elements in order to help my own understanding. The chart image that I used as a reference:
Another version that changes over mouse position (Full Screen):
Assignment 2 based on Daniel Shiffman’s Attraction / Repulsion example. Attractors get added by pressing left-arrow key, while repulsers get added by pressing right-arrow. When there are same amount of attractors and repulsers, particles will change into purple color and both forces will be effective. Otherwise, one that has more number will override the movement of particles.