Closed masakudamatsu closed 4 years ago
Oops, I just found the answer in one of the pending pull requests. See: https://github.com/nature-of-code/noc-examples-p5.js/pull/66/commits/7f133e7bbb2aafc1e7bc5ae4936dfb712ff99263#diff-57fc6b7143f64009deeaf7105eeb0b3b
The original Processing code (source) is as follows:
I tried myself to convert this code into
p5.js
. But I cannot tell where to put this set of code. Insidesetup()
ordraw()
? Does anyone have a clue? I'll then code it up and send a pull request.