From 7b1cba7f37018d70c692cc18f9bfdf10f6971b7f Mon Sep 17 00:00:00 2001 From: FORCHA PEARL Date: Mon, 26 Aug 2024 23:26:13 +0100 Subject: [PATCH] changed canvas size --- src/webgl/p5.Framebuffer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webgl/p5.Framebuffer.js b/src/webgl/p5.Framebuffer.js index 26d423f93e..0eab25a80f 100644 --- a/src/webgl/p5.Framebuffer.js +++ b/src/webgl/p5.Framebuffer.js @@ -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 });