Skip to content

Commit b8f3422

Browse files
committed
added describe to directional light and color variable example
1 parent 80fabd4 commit b8f3422

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

content/examples/Basics/Color/ColorVariables/ColorVariables.pde

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
* in the program by a name, rather than a number.
66
*/
77

8+
9+
describe('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.')
10+
811
size(640, 360);
912
noStroke();
1013
background(51, 0, 0);

content/examples/Basics/Lights/Directional/Directional.pde

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@
88
* scatters in all directions.
99
*/
1010

11+
1112
void setup() {
13+
14+
describe('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.')
15+
1216
size(640, 360, P3D);
1317
noStroke();
1418
fill(204);

0 commit comments

Comments
 (0)