Change randomSeed again
This commit is contained in:
parent
1268e4811a
commit
008badf123
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ const height_ = 594
|
|||
const cellSize_ = 12
|
||||
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 ySeeds_ = randomSeed()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue