Remarks: Processing Mazes

From Maze

(Difference between revisions)
Jump to: navigation, search
Line 70:Line 70:
void draw() { print((random(1) < 0.5) ? '/' : '\\'); }
void draw() { print((random(1) < 0.5) ? '/' : '\\'); }
−
When the program is run in Processing, an empty display window opens, and the text is printed to the console as seen in Figure ??. This exploration raises an crucial difference between writing this program in BASIC for the C64 and writing it in Processing. The one-line Processing program is a more similar program to the BASIC program, but it produces a divergent result. To achieve a more similar visual result, but program needs to be written from the different point of view expressed in Code ?? [We might need to number code as well as figure to refer to them within the text].
+
When the program is run in Processing, an empty display window opens, and the text is printed to the console as seen in Figure ??. This exploration raises a crucial difference between writing this program in BASIC for the C64 and writing it in Processing. The one-line Processing program is a more similar program to the BASIC program, but it produces a divergent result. To achieve a more similar visual result, but program needs to be written from the different point of view expressed in Code ?? [We might need to number code as well as figure to refer to them within the text].

Revision as of 11:35, 22 July 2011

View this revision of Remarks: Processing Mazes.

Personal tools