Skip to content

Commit a71d800

Browse files
committed
Simple updates
1 parent db2c8af commit a71d800

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

Basics/Color/Hue/Hue.pde

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
* Hue.
33
*
44
* Hue is the color reflected from or transmitted through an object
5-
* and is typically referred to as the name of the color (red, blue, yellow, etc.)
6-
* Move the cursor vertically over each bar to alter its hue.
5+
* and is typically referred to as the name of the color such as
6+
* red, blue, or yellow. In this example, move the cursor vertically
7+
* over each bar to alter its hue.
78
*/
89

910
int barWidth = 20;

Basics/Image/RequestImage/RequestImage.pde

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Shows how to use the requestImage() function with preloader animation.
66
* The requestImage() function loads images on a separate thread so that
7-
* the sketch does not freeze while they load. It's useful when you are
7+
* the sketch does not freeze while they load. It's useful when you are
88
* loading large images. These images are small for a quick download, but
99
* try it with your own huge images to get the full effect.
1010
*/

Basics/Lights/Spot/Spot.pde

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
* Move the mouse the change the position and concentation
55
* of a blue spot light.
66
*/
7-
8-
int concentration = 600; // Try values 1 -> 10000
97

108
void setup() {
119
size(640, 360, P3D);
@@ -24,8 +22,8 @@ void draw() {
2422
spotLight(204, 153, 0, 360, 160, 600, 0, 0, -1, PI/2, 600);
2523

2624
// Moving spotlight that follows the mouse
27-
spotLight(102, 153, 204, 360, mouseY, 600, 0, 0, -1, PI/2, 600);
28-
29-
translate(width/2, height/2, 0);
30-
sphere(120);
31-
}
25+
spotLight(102, 153, 204, 360, mouseY, 600, 0, 0, -1, PI/2, 600);
26+
27+
translate(width/2, height/2, 0);
28+
sphere(120);
29+
}

0 commit comments

Comments
 (0)