At this point, we are almost ready to work on our final project: an interactive game built using JavaScript and p5.js! That’s in the next chapter. Before we do that, I would like to demonstrate a couple of more useful p5.js functions to extend the realm of things we can build.
Have you noticed how we can draw shapes on the screen using our current knowledge, but we can’t really transform them such as rotating them around their center? That’s a big blocker on the kinds of visuals we can build, so in this chapter let’s learn how to do transformations in p5.js to enhance our abilities.