Generate a random pattern on load
This commit is contained in:
parent
f838bbf233
commit
bc99313c2c
1 changed files with 2 additions and 2 deletions
|
|
@ -13,8 +13,8 @@ const height_ = 594
|
|||
const cellSize_ = 12
|
||||
const padding_ = 5 // * cellSize
|
||||
|
||||
const xSeeds_ = "101110100101100"
|
||||
const ySeeds_ = "101001111001110000101"
|
||||
const xSeeds_ = Math.random().toString(2).substring(46, 54)
|
||||
const ySeeds_ = Math.random().toString(2).substring(46, 54)
|
||||
const unit_ = 'mm'
|
||||
|
||||
// turn these into reactive values to trigger re-rendering on change
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue