Open su opened 8 years ago
oh excellent, i was looking for something like probable
recently and managed to not find it! (i was going to use beta distributions)
a config.js file that exported the options object might be useful in the meantime, that way all the probability/config stuff could go in one place. It would also make it easy to turn on/off various features while testing because you could just set a probability to 0/false/etc.
agreed, config should definitely be its own module :)
edit: it is now :sparkles:
Not sure I'll be able to personally do anything about this soon because I still have to learn it myself for something else, but as features and even feature variations(eg. whiskers vs droopy whiskers) increase, plain randomization might no longer be entirely practical or the best approach. Probable seems like it'd allow for managing some of that as well as introducing rarity to some things(mis-matched eyes should probably be a little uncommon), for an additional nice touch.
(Stolen from poking around in everybody's favorite, Tribs.)