From 7136ab711972d4f6fb215cee9420cbe32bdd40e0 Mon Sep 17 00:00:00 2001 From: Shreya Sharma Date: Tue, 25 Nov 2025 14:09:50 +0530 Subject: [PATCH 1/2] docs update --- src/shape/2d_primitives.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/shape/2d_primitives.js b/src/shape/2d_primitives.js index 3a9f38d53d..c6955ffb84 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); From 3bbde767c55a7cb6e3a911d10e27edd39a03ea5a Mon Sep 17 00:00:00 2001 From: Perminder Singh <127239756+perminder-17@users.noreply.github.com> Date: Tue, 25 Nov 2025 14:58:51 +0530 Subject: [PATCH 2/2] fixes --- src/shape/2d_primitives.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shape/2d_primitives.js b/src/shape/2d_primitives.js index c6955ffb84..96a5d530e8 100644 --- a/src/shape/2d_primitives.js +++ b/src/shape/2d_primitives.js @@ -761,7 +761,7 @@ function primitives(p5, fn){ * * background(200); * - * // Making point to 5 pixels. + * // Making point to 5 pixels * strokeWeight(5); * * // Top-left.