Remarks: Processing Mazes

From Maze

(Difference between revisions)
Jump to: navigation, search
Line 76:Line 76:
−
After evaluating the similarities and differences between the C64 and Processing programs, we realized that the line endings are a subtle, but crucial change within this program. In the original 10 PRINT image (see fig ??), notice how each line terminates into a point. This is required because each of the 40 x 25 tiles that comprise the maze are constrained to an 8 x 8 pixel area. This maze is created by tiling the lines, each constrained within a a 64 pixel square. In the Processing program, each line is free to extend beyond the boundaries that define a line. The screen in Processing is a continuous surface of pixels, each of which can be addressed precisely with an x- and y-coordinate rather than a tile position. The 10 PRINT program is comprised of 320 x 200 pixels, but the actual controllable resolution is 40 x 25, for a total of 1000 elements. A Processing version of the program can utilize all of the pixels on a contemporary screen which makes it possible to access millions of pixels. For example, a standard 1080p screen, provides 2,073,600 pixels to control.
+
Evaluating the similarities and differences between the C64 and Processing programs shows that the line endings are a subtle, but crucial change within the 10 PRINT program. In the original 10 PRINT image (see fig ??): each line terminates in a point. This is required because each of the 40 x 25 tiles that comprise the maze are constrained to an 8 x 8 pixel area. This maze is created by tiling the lines, each constrained within a 64 pixel square. In the Processing program, each line is free to extend beyond the boundaries that define a line. The screen in Processing is a continuous surface of pixels, each of which can be addressed precisely with an x- and y-coordinate rather than a tile position. The 10 PRINT program comprises 320 x 200 pixels, but the controllable resolution is 40 x 25, for a total of 1000 elements. A Processing version of the program can utilize all of the pixels on a contemporary screen which makes it possible to access millions of pixels. A standard 1080p screen, for example, provides 2,073,600 pixels to control.

Revision as of 11:40, 22 July 2011

View this revision of Remarks: Processing Mazes.

Personal tools