/** * Noise Sphere * by David Pena. * * Uniform random distribution on the surface of a sphere. */ int cuantos = 4000; 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(640, 360, P3D); radio = height/3; lista = new Pelo[cuantos]; for (int i=0; i