diff --git a/examples/maze/torus_maze.scad b/examples/maze/torus_maze.scad index 473beafe..2208b324 100644 --- a/examples/maze/torus_maze.scad +++ b/examples/maze/torus_maze.scad @@ -1,7 +1,7 @@ use ; -use ; -use ; use ; +use ; +use ; rows = 36; columns = 12; @@ -14,11 +14,12 @@ leng = rows * block_width; radius = 0.5 * leng / PI; a_step = 360 / leng; -blocks = go_maze( - 1, 1, // starting point - starting_maze(rows, columns), - rows, columns, x_circular = true, y_circular = true +blocks = maze_blocks( + [1, 1], + rows, columns, + x_circular = true, y_circular = true ); + walls = maze_walls(blocks, rows, columns, block_width, left_border = false, bottom_border = false); size = [columns * block_width, rows * block_width];