recode-fa23

Printing & Annotate Code Exercise

Printing code and annotating by hand can be a useful exercise to help you think more deeply about the mechanisms at work in a piece of artwork. Often with the paintbrush in hand, a different part of our minds are engaged and we can become overtaken by the same pitfalls that seem to limit our ability to think outside whatever box we may find ourselves in at any given moment.

This way of working engages with the concept of embodied cognition, allowing us to work with a different part of our brain, and indeed the body itself, to understand the issues and learn the solutions. I first learned about this concept from an artist talk that the researcher and educator Phoenix Perry gave at Coding Lab in 2021.

Choosing a sketch

Steps to print

Annotating

The goal of this exercise is for you to be able to predict from the code what is happening on the screen. Therefore it is important to look up any built-in functions or words that you don’t understand (Google-ing is fine or use the p5.js, MDN, W3, or other references). You can pretend that if you came back to this document a year later, you would be able to read your notes and understand the entire behavior of the code.

You can assume that the reader has some base-level of knowledge of p5.js, so there’s no need to annotate what setup() and draw() do or how RGB color values work. Dig into the unknowns!

More Tips: