From 49723627fd21302ada8da720ed911d7f37f57408 Mon Sep 17 00:00:00 2001 From: Umang Utkarsh Date: Wed, 4 Oct 2023 11:29:03 +0530 Subject: [PATCH 1/2] describe-for-ColorVariable --- content/examples/Basics/Color/ColorVariables/liveSketch.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/content/examples/Basics/Color/ColorVariables/liveSketch.js b/content/examples/Basics/Color/ColorVariables/liveSketch.js index c4d04a5b..474606f9 100644 --- a/content/examples/Basics/Color/ColorVariables/liveSketch.js +++ b/content/examples/Basics/Color/ColorVariables/liveSketch.js @@ -5,6 +5,12 @@ * in the program by a name, rather than a number. */ +function describe() { + const description = "There are two sets of squares. The first set contains three squares of varying sizes stacked together. The color of the smallest square is orange, the color of the middle square is gold, and the color of the biggest square is brown. On the right of the first set is the second set, which is similar to the first. The only difference here is the color of the squares; the smallest square is gold, the middle square is brown, and the biggest square is orange." + + return description; +} + function runLiveSketch(s) { s.setup = () => { s.createCanvas(640, 360); From 225ad6fd1deb60040f6043d3505e5ddb7558f1d5 Mon Sep 17 00:00:00 2001 From: Umang Utkarsh Date: Wed, 4 Oct 2023 11:29:45 +0530 Subject: [PATCH 2/2] describe-for-DirectionalLight --- content/examples/Basics/Lights/Directional/liveSketch.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/content/examples/Basics/Lights/Directional/liveSketch.js b/content/examples/Basics/Lights/Directional/liveSketch.js index d71b6df2..815522de 100644 --- a/content/examples/Basics/Lights/Directional/liveSketch.js +++ b/content/examples/Basics/Lights/Directional/liveSketch.js @@ -1,3 +1,9 @@ +function describe() { + const description = "There are two dark spheres side by side, the cursor works like a light source, when mouse moves the direction of light changes and reveals some part of spheres." + + return description; +} + function runLiveSketch(s) { s.setup = () => {