Skip to content

Commit bd44550

Browse files
authored
Merge pull request #8569 from nbogie/nb-fix-filtercolor-example
fix strands filterColor example
2 parents 5b74aa6 + 99372dc commit bd44550

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/strands/p5.strands.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,8 @@ if (typeof p5 !== "undefined") {
643643
* filterColor.texCoord.x,
644644
* filterColor.texCoord.y + 0.1 * sin(filterColor.texCoord.x * 10)
645645
* ];
646-
* filterColor.set(getTexture(canvasContent, warped));
646+
* let tex = filterColor.canvasContent;
647+
* filterColor.set(getTexture(tex, warped));
647648
* filterColor.end();
648649
* }
649650
*

0 commit comments

Comments
 (0)