/** * Esfera * by David Pena. * * Distribucion aleatoria uniforme sobre la superficie de una esfera. */ int cuantos = 16000; pelo[] lista ; float[] z = new float[cuantos]; float[] phi = new float[cuantos]; float[] largos = new float[cuantos]; float radio = 200; float rx = 0; float ry =0; void setup() { size(1024, 768, P3D); noSmooth(); frameRate(120); radio = height/3.5; lista = new pelo[cuantos]; for (int i=0; i