Skip to content

Commit

Permalink
changed canvas size
Browse files Browse the repository at this point in the history
  • Loading branch information
Forchapeatl authored Aug 26, 2024
1 parent d46a582 commit 7b1cba7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webgl/p5.Framebuffer.js
Original file line number Diff line number Diff line change
Expand Up @@ -1486,7 +1486,7 @@ class Framebuffer {
* // The `pixelColor` is logged to the console, returning red with full opacity.
*
* function setup() {
* createCanvas(400, 400, WEBGL);
* createCanvas(100, 100, WEBGL);
*
* // Create an off-screen WebGL graphics buffer
* let myBuffer = createFramebuffer({ width: 200, height: 200 });
Expand Down

0 comments on commit 7b1cba7

Please sign in to comment.