numberscope / frontscope

Numberscope's front end and user interface: responsible for specifying sequences and defining and displaying visualizers
MIT License
7 stars 14 forks source link

Randomness re-seeding #363

Open katestange opened 1 week ago

katestange commented 1 week ago

Now that we can play with hot modification, I've noticed a behaviour of the random sequence that may need revisiting later. When we change the parameter of the visualizer or delete but replace a parameter of the random sequence with the same value, the randomness is not re-seeded. But if you change a parameter of the random sequence (such as max) and then reset to the original value after letting it draw with the changed value briefly, it will be re-seeded. So we may wish to force re-seed on any touch of the controls.