Click Redraw to change the pattern.
For details go to [url=https://10print.org/]https://10print.org/[/url]
#maze"+(i)+"_{"+(j)+"}[br][br]num=20[br]width=400[br]height=400[br][br]#Execute(Sequence( , i, 0, num-1))[br]#Execute(Flatten(Sequence( Sequence( ,j, 0, num-1), i, 0, num-1)))[br][br]Execute(Sequence( "posX"+(i)+"=width/num*"+(i)+"", i, 0, num-1))[br]Execute(Sequence( "posY"+(i)+"=height/num*"+(i)+"", i, 0, num-1))[br][br]Execute(Flatten(Sequence( Sequence( "toggle"+(i)+"_{"+(j)+"}=RandomBetween( 0, 2 )", j, 0, num-1), i, 0, num-1)))[br][br]#Segment((posX"+(i)+", posY"+(j)+"), (posX"+(i)+"+width/num, posY"+(j)+"+height/num))[br]#Segment((posX"+(i)+", posY"+(j)+"+width/num), (posX"+(i)+"+height/num, posY"+(j)+"))[br][br]Execute(Flatten(Sequence( Sequence( "maze"+(i)+"_{"+(j)+"}=If( toggle"+(i)+"_{"+(j)+"}==0, Segment((posX"+(i)+", posY"+(j)+"), (posX"+(i)+"+width/num, posY"+(j)+"+height/num)), Segment((posX"+(i)+", posY"+(j)+"+width/num), (posX"+(i)+"+height/num, posY"+(j)+")))",j, 0, num-1), i, 0, num-1)))[br][br]Execute(Flatten(Sequence( Sequence( "ShowLabel( maze"+(i)+"_{"+(j)+"}, false)",j, 0, num-1), i, 0, num-1)))[br][br]Execute(Flatten(Sequence( Sequence( "If( toggle"+(i)+"_{"+(j)+"}==0, SetColor( maze"+(i)+"_{"+(j)+"}, BLUEVIOLET), SetColor( maze"+(i)+"_{"+(j)+"} , RED))",j, 0, num-1), i, 0, num-1)))[br][br]Execute(Flatten(Sequence( Sequence( "SetLineThickness( maze"+(i)+"_{"+(j)+"}, 6)",j, 0, num-1), i, 0, num-1)))