This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Marc Krenn
Posted Oct 28 - Read on Facebook

Hey Frameristos,

Finally had some time to fix, clean up and wrap my solution for
Black Ray's problem ( into a module:

"Utils.randomND(from,to,deviation,mean,amplitude)" returns a "Normally Distributed" random number - think Bell-Curve - where some numbers are more likely to be returned than others. Please see and play around with the provided randomNDExample.

Live Demo:

Probs to Chris Camargo, Jordan Robert Dobson and stackoverflow’s user5084.


Koen Bok

Wow this is really cool. I'm a sucker for math like this.

Andrew Nalband


Marc Krenn

Thanks! I've updated the module to handle larger offsets better. I'd say it's pretty robust now :)

Jonathon Toon

cc Jérôme Cukier

Read the entire post on Facebook