File tree Expand file tree Collapse file tree 5 files changed +25
-25
lines changed Expand file tree Collapse file tree 5 files changed +25
-25
lines changed Original file line number Diff line number Diff line change 44 * Conditions are like questions.
55 * They allow a program to decide to take one action if
66 * 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."
88 * The questions asked within a program are always logical
99 * or relational statements. For example, if the variable 'i' is
1010 * equal to zero then draw a line.
Original file line number Diff line number Diff line change 44 * The character datatype, abbreviated as char, stores letters and
55 * symbols in the Unicode format, a coding system developed to support
66 * 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+ *
99 * A string is a sequence of characters. A string is noted by surrounding
1010 * a group of letters with double quotes ("Processing").
1111 * 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+ *
1414 * The String datatype must be capitalized because it is a complex datatype.
1515 * A String is actually a class with its own methods, some of which are
1616 * featured below.
Original file line number Diff line number Diff line change 22 * Listing files in directories and subdirectories
33 * by Daniel Shiffman.
44 *
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)
1010 * of files in a directory and all subdirectories (using recursion)
1111 */
1212
Original file line number Diff line number Diff line change 66 * between Cube, Pyramid, Cone and
77 * Cylinder 3D primitives.
88 *
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
1313 */
1414
1515int pts = 4 ;
Original file line number Diff line number Diff line change 55 * Illustrates the geometric relationship between Toroid, Sphere, and Helix
66 * 3D primitives, as well as lathing principal.
77 *
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
1919 */
2020
2121int pts = 40 ;
You can’t perform that action at this time.
0 commit comments