Apple II Programs Apple II Programs

Byte-sized delights that are guaranteed to ward off hysteria and melancholy!

22 July 2023

Truchet Tiles

by Lee Fastenau


Truchet Tiles

Program

0HGR2:HCOLOR=3:S=3:Y=0:FORL=0TO1:FORX=0TO280-SSTEPS:D=INT(RND(1)*2):Z=Y+D*(S-1):D=-D*2+1:FORR=0TOS-1:HPLOTX+R,Z:Z=Z+D:NEXT:NEXT:Y=Y+S:L=(Y+S)>191:NEXT

Try me!

Information

It’s not a maze. It’s a Truchet tile pattern.

Discussion

Apple II Enthusiasts Group Permalink