Here another example using a normal distribution to generate a drawing. The normal distribution is used a lot in generative art.
This sketch draws a line based on a normal distribution, using a standard deviation of the distance of the mouse to the center. The closer you are to the center the shorter the line.