Generate correct number of lines :)

This commit is contained in:
arne 2024-07-20 19:29:20 +02:00
commit c42d0dd23f

View file

@ -74,7 +74,7 @@ const generateLines = (maxCoordOnAxis: number, maxCoordPerpendicular: number, se
onEvenCoord ? stitches(seed, maxCoordPerpendicular) : reverse(stitches(seed, maxCoordPerpendicular)) onEvenCoord ? stitches(seed, maxCoordPerpendicular) : reverse(stitches(seed, maxCoordPerpendicular))
) )
}), }),
zip(range(maxCoordOnAxis), seeds) zip(range(maxCoordOnAxis + 1), seeds)
) )
// now we can put the functions above together based on the current settings and generate a scene to be drawn // now we can put the functions above together based on the current settings and generate a scene to be drawn