Change randomSeed again

This commit is contained in:
arne 2024-07-21 01:19:08 +02:00
commit 008badf123

View file

@ -13,7 +13,7 @@ const height_ = 594
const cellSize_ = 12 const cellSize_ = 12
const padding_ = 5 // * cellSize const padding_ = 5 // * cellSize
const randomSeed = () => Math.random().toString(2).split('.').pop()!.slice(Math.floor(Math.random() * -9)) const randomSeed = () => [...range(Math.ceil(Math.random() * 10))].map(_ => Math.round(Math.random())).join('')
const xSeeds_ = randomSeed() const xSeeds_ = randomSeed()
const ySeeds_ = randomSeed() const ySeeds_ = randomSeed()