This module, we are really digging into the foundational material for the class. Almost every example all semester long will make use of vectors! This is a chance to learn about what vectors are, how they work in p5.js, and practice coding with them.
For each module, I will provide written and video tutorials on the topics. You can review whichever format suits you best. If the amount feels overwhelming, please reach out and we can help you narrow things down, and select a subset of the material to focus an exercise around. Itβs a lot!
For each module, I will provide a list of additional video tutorials and readings that you may draw on for further exploration. Itβs unlikely you would be able to consume everything in one week and if you are looking for guidance about what might fit with your interests and learning style the most, please reach out.
Try using vectors! Here are some suggestions:
x
,y
variables for elements on the sketch. Can you rewrite the sketch with createVector()
for each of these pairs?p5.Vector
class can be very useful expanding the random walk object to create fractal-like patterns. Two examples are Diffusion Limited Aggregation and Brownian Tree Snowflake. Create your own variation of these patterns. What would happen if you added forces and acceleration?The following emoji key will hopefully help you navigate the material for each module.