From f2b4c2eb91296d9b0fa057691ee3687badb3952d Mon Sep 17 00:00:00 2001 From: limzykenneth Date: Sat, 28 Mar 2026 17:35:56 +0000 Subject: [PATCH] Example typo fix --- src/color/setting.js | 2 +- src/webgl/p5.Geometry.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/color/setting.js b/src/color/setting.js index cae961600b..a8e8d0b1b3 100644 --- a/src/color/setting.js +++ b/src/color/setting.js @@ -509,7 +509,7 @@ function setting(p5, fn){ * * describe('A canvas with a transparent green background.'); * } - * < + * * @example * function setup() { * createCanvas(100, 100); diff --git a/src/webgl/p5.Geometry.js b/src/webgl/p5.Geometry.js index dad4c860f4..a2c8992885 100644 --- a/src/webgl/p5.Geometry.js +++ b/src/webgl/p5.Geometry.js @@ -330,7 +330,7 @@ class Geometry { * let saveBtn; * function setup() { * createCanvas(200, 200, WEBGL); - * myModel = buildGeometry(function()) { + * myModel = buildGeometry(function() { * for (let i = 0; i < 5; i++) { * push(); * translate(