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(