uji icon indicating copy to clipboard operation
uji copied to clipboard

Randomize all slider options?

Open wahidshafique opened this issue 3 years ago • 1 comments

Hey, super cool! I was thinking, as a feature request, the option to randomize within sets, it might lend to more easily discovering cool patterns.

wahidshafique avatar May 28 '21 13:05 wahidshafique

I actually implemented this early on in UJI's development – the code's still there, albeit commented-out:

https://github.com/doersino/uji/blob/59f85195bc252f5fc1502f427325fde52693d7eb/script.js#L309-L327

It worked fairly well when there were only a few options, but as I added more, it started delivering bad results exceedingly frequently. (Because: If randomizing any one option has a, say, 50% probability of yielding a cool image, with 20 options, the total probability is more or less 0.5²⁰, which is a really tiny number.)

So a button to randomize all sliders won't yield many interesting results, but randomizing within sets as you suggest (or randomly jiggling a few sliders) might be worth a shot. How to communicate that through the UI is another challenge. I think it makes sense to postpone this, though, until I implement an undo/redo feature as mentioned in README.md.

doersino avatar May 29 '21 18:05 doersino