Quantcast
Channel: stardot.org.uk
Viewing all articles
Browse latest Browse all 2345

8-bit acorn software: other • Re: High-resolution "maze" one-liner

$
0
0
That's neat, the slight "jagginess" (not sure how to describe it) of the pattern is a nice twist.
I think I slight stuffed up the definitions of the Truchet tiles. Essentially, if you create an 8x8 UDG that has pixels at the centre two spots of each of the four edges, and you create a mirrored version, a random arrangement of those two tiles will always produce an infinite maze-like structure.

It looks nice with quarter circles instead of straight lines, but that doesn't render well with 4x4 squares.
very nice program scruss :+1:

redone as a 1 liner
Same number of characters, though, and mine preserves the familiar 10 PRINT structure ;-)

Statistics: Posted by scruss — Mon Aug 12, 2024 5:28 pm



Viewing all articles
Browse latest Browse all 2345

Trending Articles