VARIABLESAfter you’ve input numbers, or parameters, within createCanvas() for the width and height of your drawing space, you can reference them within the draw() function block using the built-in variables of width and height. This allows you to just change those numbers in one place and have everything you draw automatically adjust their location relative […]
Archives for October 2020
Class 14, Mon 10/19
Class began with an online quiz that referenced the overview of p5.js from the end of Class 12, and the coding introduction from Class 13. Ten of you did the quiz during class, so we reviewed the answers after you completed it. This slide demonstrates the use of the circle() object with solid colors via […]
Class 13, Wed 10/14
After Professor Adam Wilson’s guest lecture, we dove into an overview of how p5.js works— Because it originated as a tool for creative coding, it uses the metaphor of a drawing or painting canvas— The default sketch in the web editor gives you two function coding blocks which do two different things— The function createCanvas() […]
Class 12, Wed 10/7
Today marked the beginning of the Media Computation module. After today, we have the guest lecture by Professor Adam Wilson, then four classes which are essentially p5.js coding labs, followed by the individual project presentation class. The MTEC Media Computation concentration covers the… This includes… We can think of code as…. Essentially, it’s just another language […]
Response to Assignment 5
Submit your written response to Assignment 5 as a comment on this post before the deadline date and time indicated on the Assignments page, and please use the same section numbers/titles to organize your response. Feel free to add your opinions and questions, beyond just answering the questions, which helps the qualitative portion of the […]
Class 11, Mon 10/5
The Project 1 group presentations were today, in this order: CROSSING, a one-player simulation game that deals with the issue of immigration, giving the player an opportunity to cross the border from Mexico to the U.S. Group members: Ling Mei Wu, Nicholas Bueta, Karla Ramirez KING BILL, a tap mobile game that deals with the […]