We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b488e12 commit db426cbCopy full SHA for db426cb
src/data/examples/en/20_3D/12_simple_feedback.js
@@ -20,14 +20,14 @@ function setup() {
20
}
21
22
function draw() {
23
+ // clears and resets the p5.Graphics so that 3D objects draw correctly
24
+ pg.reset();
25
+
26
// draw the previous frame
27
pg.texture(swap);
28
pg.noStroke();
29
pg.plane(width, height);
30
- // p5.Graphics sometimes requires us to use reset() before drawing
- pg.reset();
-
31
// draw our sphere on top
32
pg.push();
33
// slowly move the sphere in a circle
0 commit comments