/** * Noise Sphere * by David Pena. * * Uniform random distribution on the surface of a sphere. */ int cuantos = 1000; Pelo[] lista ; float[] z = new float[cuantos]; float[] phi = new float[cuantos]; float[] largos = new float[cuantos]; float radio; float rx = 0; float ry =0; void setup() { size(displayWidth, displayHeight, P3D); orientation(LANDSCAPE); radio = height/3; lista = new Pelo[cuantos]; for (int i=0; i