Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
p5js-week-10 [2022/07/02 21:49] renickp5js-week-10 [2023/06/29 22:50] (current) reina.chen
Line 29: Line 29:
 Now we'll make a class and put this in the draw method so that we can draw it. Now we'll make a class and put this in the draw method so that we can draw it.
  
-Notice that we have to call the constructor once using the "new" keyword with the class name to make an object to draw.+Notice that we have to call the constructor once using the <color black/yellow>"new"</color> keyword with the class name to make an object to draw.
  
 <HTML> <HTML>
  • p5js-week-10.1656823794.txt.gz
  • Last modified: 3 years ago
  • by renick