Skip to content

Commit 039eb1b

Browse files
committed
have smoothstep examples use buildFilterShader()
1 parent 8c02b5c commit 039eb1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/strands/p5.strands.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ if (typeof p5 !== "undefined") {
329329
*
330330
* function setup() {
331331
* createCanvas(300, 200, WEBGL);
332-
* fadeShader = baseFilterShader().modify(fadeCallback);
332+
* fadeShader = buildFilterShader(fadeCallback);
333333
* }
334334
*
335335
* function draw() {
@@ -356,7 +356,7 @@ if (typeof p5 !== "undefined") {
356356
*
357357
* function setup() {
358358
* createCanvas(300, 200, WEBGL);
359-
* animatedShader = baseFilterShader().modify(animatedFadeCallback);
359+
* animatedShader = buildFilterShader(animatedFadeCallback);
360360
* }
361361
*
362362
* function draw() {

0 commit comments

Comments
 (0)