NOC – Week 1: p5.js Sketch – Yang Gao

Assignment: 

For my first week Nature of Code project, I created a sketch of mimicking how we stir the pearl red bean milk tea – when you put the straw in the bubble tea, it will separate the pearl and the red bean.

Sketch: https://editor.p5js.org/yg1273@nyu.edu/present/LcvSi1QMl

Question:

  1. For p5 web editor, how can we add music?
  2. If I type print() in the p5 web editor, it will pop up the web print page, how can we prevent it?

Leave a Reply