Skip to content

Commit ff81847

Browse files
committed
Address maintainer feedback by updating fill color, adjusting sphere size, and simplifying sine wave example
1 parent 17992d7 commit ff81847

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/webgl/ShaderGenerator.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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>

0 commit comments

Comments
 (0)