File tree 5 files changed +25
-25
lines changed
5 files changed +25
-25
lines changed Original file line number Diff line number Diff line change 4
4
* Conditions are like questions.
5
5
* They allow a program to decide to take one action if
6
6
* the answer to a question is "true" or to do another action
7
- * if the answer to the question is "false."<br />
7
+ * if the answer to the question is "false."
8
8
* The questions asked within a program are always logical
9
9
* or relational statements. For example, if the variable 'i' is
10
10
* equal to zero then draw a line.
Original file line number Diff line number Diff line change 4
4
* The character datatype, abbreviated as char, stores letters and
5
5
* symbols in the Unicode format, a coding system developed to support
6
6
* a variety of world languages. Characters are distinguished from other
7
- * symbols by putting them between single quotes ('P').<br />
8
- * <br />
7
+ * symbols by putting them between single quotes ('P').
8
+ *
9
9
* A string is a sequence of characters. A string is noted by surrounding
10
10
* a group of letters with double quotes ("Processing").
11
11
* Chars and strings are most often used with the keyboard methods,
12
- * to display text to the screen, and to load images or files.<br />
13
- * <br />
12
+ * to display text to the screen, and to load images or files.
13
+ *
14
14
* The String datatype must be capitalized because it is a complex datatype.
15
15
* A String is actually a class with its own methods, some of which are
16
16
* featured below.
Original file line number Diff line number Diff line change 2
2
* Listing files in directories and subdirectories
3
3
* by Daniel Shiffman.
4
4
*
5
- * This example has three functions:<br />
6
- * 1) List the names of files in a directory<br />
7
- * 2) List the names along with metadata (size, lastModified)<br />
8
- * of files in a directory<br />
9
- * 3) List the names along with metadata (size, lastModified)<br />
5
+ * This example has three functions:
6
+ * 1) List the names of files in a directory
7
+ * 2) List the names along with metadata (size, lastModified)
8
+ * of files in a directory
9
+ * 3) List the names along with metadata (size, lastModified)
10
10
* of files in a directory and all subdirectories (using recursion)
11
11
*/
12
12
Original file line number Diff line number Diff line change 6
6
* between Cube, Pyramid, Cone and
7
7
* Cylinder 3D primitives.
8
8
*
9
- * Instructions:<br />
10
- * Up Arrow - increases points<br />
11
- * Down Arrow - decreases points<br />
12
- * 'p' key toggles between cube/pyramid<br />
9
+ * Instructions:
10
+ * Up Arrow - increases points
11
+ * Down Arrow - decreases points
12
+ * 'p' key toggles between cube/pyramid
13
13
*/
14
14
15
15
int pts = 4 ;
Original file line number Diff line number Diff line change 5
5
* Illustrates the geometric relationship between Toroid, Sphere, and Helix
6
6
* 3D primitives, as well as lathing principal.
7
7
*
8
- * Instructions: <br />
9
- * UP arrow key pts++ <br />
10
- * DOWN arrow key pts-- <br />
11
- * LEFT arrow key segments-- <br />
12
- * RIGHT arrow key segments++ <br />
13
- * 'a' key toroid radius-- <br />
14
- * 's' key toroid radius++ <br />
15
- * 'z' key initial polygon radius-- <br />
16
- * 'x' key initial polygon radius++ <br />
17
- * 'w' key toggle wireframe/solid shading <br />
18
- * 'h' key toggle sphere/helix <br />
8
+ * Instructions:
9
+ * UP arrow key pts++
10
+ * DOWN arrow key pts--
11
+ * LEFT arrow key segments--
12
+ * RIGHT arrow key segments++
13
+ * 'a' key toroid radius--
14
+ * 's' key toroid radius++
15
+ * 'z' key initial polygon radius--
16
+ * 'x' key initial polygon radius++
17
+ * 'w' key toggle wireframe/solid shading
18
+ * 'h' key toggle sphere/helix
19
19
*/
20
20
21
21
int pts = 40 ;
You can’t perform that action at this time.
0 commit comments