Open shiffman opened 11 years ago
from reader:
This is just a note on the PBox2D example code that came with Processing 2.0b6:
ApplyForceSimpleWind and ApplyForceAttractMouse around line 48
// When the mouse is clicked, add a new Box object if (random(1) < 0.1) { Box p = new Box(random(width),10); boxes.add(p); }
I guess the comment should read something like "add a new Box object about 10% of the time"
from reader:
This is just a note on the PBox2D example code that came with Processing 2.0b6:
ApplyForceSimpleWind and ApplyForceAttractMouse around line 48
// When the mouse is clicked, add a new Box object if (random(1) < 0.1) { Box p = new Box(random(width),10); boxes.add(p); }
I guess the comment should read something like "add a new Box object about 10% of the time"