p5.js is a client-side JS platform that empowers artists, designers, students, and anyone to learn to code and express themselves creatively on the web. It is based on the core principles of Processing. http://twitter.com/p5xjs —
Draw something to a framebuffer. The clip shouldn't be applied to the framebuffer's context.
Stop clipping
Draw the framebuffer to the main canvas
The framebuffer should appear unclipped, since its framebuffer context was never clipped, and clipping was not applied when drawing it to the main canvas.
Most appropriate sub-area of p5.js?
p5.js version
1.9.1
Web browser and version
Chrome 124 (not Firefox, weirdly!)
Operating system
MacOS 14.2.1
Steps to reproduce this
Steps:
Snippet:
The expected output is a full red canvas, but instead we get an empty canvas.