diff --git a/src/shape/2d_primitives.js b/src/shape/2d_primitives.js index 3a9f38d53d..96a5d530e8 100644 --- a/src/shape/2d_primitives.js +++ b/src/shape/2d_primitives.js @@ -760,7 +760,10 @@ function primitives(p5, fn){ * createCanvas(100, 100); * * background(200); - * + * + * // Making point to 5 pixels + * strokeWeight(5); + * * // Top-left. * point(30, 20); * @@ -786,6 +789,9 @@ function primitives(p5, fn){ * createCanvas(100, 100); * * background(200); + * + * // Making point to 5 pixels. + * strokeWeight(5); * * // Top-left. * point(30, 20); @@ -816,6 +822,9 @@ function primitives(p5, fn){ * createCanvas(100, 100); * * background(200); + * + * // Making point to 5 pixels. + * strokeWeight(5); * * // Top-left. * let a = createVector(30, 20);