mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-01-17 14:18:13 +01:00
add seed parameter
This commit is contained in:
parent
0b115df546
commit
8b6eccf62b
@ -4,11 +4,12 @@ use <experimental/mz_get.scad>;
|
|||||||
use <util/sort.scad>;
|
use <util/sort.scad>;
|
||||||
use <util/dedup.scad>;
|
use <util/dedup.scad>;
|
||||||
|
|
||||||
function mz_hamiltonian(rows, columns, start) =
|
function mz_hamiltonian(rows, columns, start, seed) =
|
||||||
let(
|
let(
|
||||||
blocks = mz_blocks(
|
blocks = mz_blocks(
|
||||||
[1, 1],
|
[1, 1],
|
||||||
rows, columns
|
rows, columns,
|
||||||
|
seed = seed
|
||||||
),
|
),
|
||||||
all = concat(
|
all = concat(
|
||||||
[
|
[
|
||||||
|
Loading…
x
Reference in New Issue
Block a user