Totally rando.
Numbers
Arrays.randomElement
Arrays.randomIndex
Time
Weighted random numbers:
More
Visual.Colour.randomHue
// If library is stored two directories up under `ixfx/`import {hue as randomHue, string as randomString} from '../../ixfx/dist/random.js';// Import from webimport {hue as randomHue, string as randomString} from 'https://unpkg.com/ixfx/dist/random.js' Copy
// If library is stored two directories up under `ixfx/`import {hue as randomHue, string as randomString} from '../../ixfx/dist/random.js';// Import from webimport {hue as randomHue, string as randomString} from 'https://unpkg.com/ixfx/dist/random.js'
Totally rando.
Numbers
Arrays.randomElement
)Arrays.randomIndex
)Time
Weighted random numbers:
More
Visual.Colour.randomHue
)Example: Importing (with aliasing)