From 7edf99ec2004c576c624b5284e18fa82aa1c27ad Mon Sep 17 00:00:00 2001 From: nbogie Date: Mon, 23 Feb 2026 12:44:13 +0000 Subject: [PATCH] fix filterColor example --- src/strands/p5.strands.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/strands/p5.strands.js b/src/strands/p5.strands.js index 9eb2269a13..981d45e934 100644 --- a/src/strands/p5.strands.js +++ b/src/strands/p5.strands.js @@ -643,7 +643,8 @@ if (typeof p5 !== "undefined") { * filterColor.texCoord.x, * filterColor.texCoord.y + 0.1 * sin(filterColor.texCoord.x * 10) * ]; - * filterColor.set(getTexture(canvasContent, warped)); + * let tex = filterColor.canvasContent; + * filterColor.set(getTexture(tex, warped)); * filterColor.end(); * } *