-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Open
Description
Most appropriate sub-area of p5.js?
- WebGL
- p5.strands
p5.js version
2.2.1, 2.2.2 rcs
Web browser and version
n/a (any)
Operating system
n/a (any)
Steps to reproduce this
Steps:
- visit https://beta.p5js.org/reference/p5/filtercolor/
- observe example sketch fails
error & stack trace
VM503:9 Uncaught (in promise) ReferenceError: canvasContent is not defined
at eval (eval at id (filtercolor/:1:872297), <anonymous>:9:32)
at <anonymous>:1:872335
at e.Shader.modify (<anonymous>:1:890546)
at t.buildFilterShader (<anonymous>:1:303149)
at setup (VM500 about:srcdoc:4:14)
code in question
filterColor.begin();
let warped = [0,0] // omitting real coord calc here
filterColor.set(getTexture(canvasContent, warped));
filterColor.end();I'd like to work on this, please.
(canvasContent has to be referenced from filterColor block).
Reactions are currently unavailable