DrAbstract
x.com/Dr_Abstract
Inventor, Founder of ZIM - JavaScript Canvas Framework - code creativity). Canadian New Media Awards Winner, Founder of Nodism and Professor of Interactive Media at Sheridan College. AltspaceVR World Builder - Nodist Colony and PagodaScope.
Rarity Function
by DrAbstract
14 Sep 202220 EDITIONS
We have created a rarity() function for the ZIM JavaScript Canvas Framework. It was added specifically for (fx)hash but can be used whenever odds are desired. We also have an odds() function that returns true if the percentage argument is met otherwise false but rarity() is great for a list of options.