global vs local variables in p5.js

global vs local variables in p5.js

In the previous lesson, students learned how to create a variable by declaring it, initializing it, and using it. Today they are learning the difference between local and global variables.