Variations on a maze
From Maze
(Difference between revisions)
| Line 18: | Line 18: | ||
10 PRINT CHR$(102+RND(1)*2); : GOTO 10 | 10 PRINT CHR$(102+RND(1)*2); : GOTO 10 | ||
| − | [[Image:10print-orthogonal-weave.png]] | + | [[Image:10print-orthogonal-weave.png|200px]] |
Randomly selecting corner pieces such as "L", on the other hand, simply turn the image into a honeycomb. | Randomly selecting corner pieces such as "L", on the other hand, simply turn the image into a honeycomb. | ||
| Line 32: | Line 32: | ||
10 PRINT CHR$(181+(INT(RND(1)+.5)*3)+(INT(RND(1)+.5))); : GOTO 10 | 10 PRINT CHR$(181+(INT(RND(1)+.5)*3)+(INT(RND(1)+.5))); : GOTO 10 | ||
| + | [[Image:10print-orthogonal-rough.png|200px]] | ||
| + | |||
The image that emerges is indeed mazelike, but (like the code) lacks simplicity and elegance. potential redundancy between the top / bottom and left / right elements creates apparent variation in the thickness of the walls -- an interesting but potentially distracting implication of messiness and texture. | The image that emerges is indeed mazelike, but (like the code) lacks simplicity and elegance. potential redundancy between the top / bottom and left / right elements creates apparent variation in the thickness of the walls -- an interesting but potentially distracting implication of messiness and texture. | ||
