From 2eb7188d14855ee1d943ed764132e34b9d4a42dd Mon Sep 17 00:00:00 2001 From: Yong Bakos Date: Fri, 1 Mar 2013 13:07:11 -0700 Subject: [PATCH] Adding javadoc for randomGaussian. References processing/processing-web#42 --- core/src/processing/core/PApplet.java | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/core/src/processing/core/PApplet.java b/core/src/processing/core/PApplet.java index 4d2b3e4bc..8918f8723 100644 --- a/core/src/processing/core/PApplet.java +++ b/core/src/processing/core/PApplet.java @@ -5185,7 +5185,23 @@ public class PApplet extends Applet return value; } - + /** + * ( begin auto-generated from randomGaussian.xml ) + * + * Returns a float from a random series of numbers having a mean of 0 + * and standard deviation of 1. Each time the randomGaussian() + * function is called, it returns a number fitting a Gaussian, or + * normal, distribution. There is theoretically no minimum or maximum + * value that randomGaussian() might return. Rather, there is + * just a very low probability that values far from the mean will be + * returned; and a higher probability that numbers near the mean will + * be returned. + * + * ( end auto-generated ) + * @webref math:random + * @see PApplet#random(float,float) + * @see PApplet#noise(float, float, float) + */ public final float randomGaussian() { if (internalRandom == null) { internalRandom = new Random();