File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2080,7 +2080,7 @@ if (typeof p5 !== 'undefined') {
20802080 * let t = uniformFloat(() => millis());
20812081 * getObjectInputs(inputs => {
20822082 * // Create a sine wave along the x axis in object space
2083- * inputs.position.y += 3 * sin(t * 0.001 + inputs.position.x * 0.05 );
2083+ * inputs.position.y += sin(t * 0.001 + inputs.position.x);
20842084 * return inputs;
20852085 * });
20862086 * });
@@ -2090,7 +2090,7 @@ if (typeof p5 !== 'undefined') {
20902090 * shader(myShader);
20912091 * noStroke();
20922092 * fill('orange');
2093- * sphere(100 );
2093+ * sphere(50 );
20942094 * }
20952095 * </code>
20962096 * </div>
@@ -2138,7 +2138,7 @@ if (typeof p5 !== 'undefined') {
21382138 * background(200);
21392139 * shader(myShader);
21402140 * noStroke();
2141- * fill('blue ');
2141+ * fill('red ');
21422142 * sphere(50);
21432143 * }
21442144 * </code>
You can’t perform that action at this time.
0 commit comments