Name

randomGaussian()

Examples
for y in range(100): 
    x = randomGaussian() * 15
    line(50, y, 50 + x, y)
distribution = [0.0] * 360
size(100, 100)
for i in range(len(distribution)):
    distribution[i] = int(randomGaussian() * 15)
background(204)
translate(width / 2, width / 2)
for i in range(len(distribution)):
    rotate(TWO_PI / len(distribution))
    stroke(0)
    dist = abs(distribution[i])
    line(0, 0, dist, 0)
Description
Syntax
Related random()
noise()
Updated on Wed Jan 18 17:32:21 2017.
Creative Commons License