Remarks: Processing Mazes

From Maze

(Difference between revisions)
Jump to: navigation, search
Line 9:Line 9:
While we were making these variations, we took the opportunity to make some additional quick changes to explore the visual aspects of the 10 PRINT maze. [MORE, about weighting the random values, using different symbols to show how it's based on the diagonals. ]
While we were making these variations, we took the opportunity to make some additional quick changes to explore the visual aspects of the 10 PRINT maze. [MORE, about weighting the random values, using different symbols to show how it's based on the diagonals. ]
−
It's important to note that these changes could have been explored directly on the C64, but it was convenient to do to in Processing because Casey was writing this code and he was more fluent with that syntax than with BASIC. The 10 PRINT variations to explore weighting the random value to have a higher percentage of one diagonal lines is:
+
It's important to note that these changes could have been explored directly on the C64, but it was convenient to do to in Processing because Casey was writing this code and he was more fluent with that syntax than with BASIC. The 10 PRINT variations to explore weighting the random value to have a higher percentage of one diagonal lines is created by changing the value after the decimal in 205.5:
−
10 print
+
10 PRINT CHR$(205.2+RND(1)); : GOTO 10
−
The 10 PRINT variation to show white and black squares in place of diagonal lines is:
+
The 10 PRINT variation to show white and black squares in place of diagonal lines also changes the value 205.5 to the number between the symbols for a white box, , and black box, number ?:
10 print
10 print

Revision as of 19:29, 9 July 2011

View this revision of Remarks: Processing Mazes.

Personal tools