1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-09 08:16:50 +02:00

offset by 1

This commit is contained in:
Justin Lin
2020-12-18 17:57:33 +08:00
parent f33cb95d72
commit 931c388ad2
3 changed files with 3 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ module random_scala(rows, columns, start, width, height) {
random_scala(
rows = 2,
columns = 3,
start = [0, 0],
start = [1, 1],
width = .5,
height = .25
);

View File

@@ -2,7 +2,7 @@ use <maze/mz_hamiltonian.scad>;
rows = 2;
columns = 2;
start = [0, 0];
start = [1, 1];
width = .5;
height = .05;
test_torii = "FALSE"; // [TRUE, FALSE]

View File

@@ -28,4 +28,4 @@ function mz_hamiltonian(rows, columns, start, seed) =
),
dot_pts = dedup(sort(all, by = "vt"), sorted = true)
)
_mz_hamiltonian_travel(dot_pts, start, rows * columns * 4);
_mz_hamiltonian_travel(dot_pts, start + [-1, -1], rows * columns * 4);