Ricardbt_generative/lorenzAtractor/lorenzAtractor.pde
float x = 0.01;
float y = 0;
float z = 0;

float a = 10;
float b = 25;
float c = 8.0/3.0;

ArrayList<PVector> points = new ArrayList<PVector>();
void setup(){
  size(900,900, P3D);
  background(255);
}
void draw(){
  colorMode(HSB);
 float dt = 0.01;
 float dx = (a * (y - x))*dt;
 float dy = (x * (b - z) -y)*dt;
 float dz = (x * y - c * z)*dt;
 x= x + dx;
 y= y + dy;
 z= z + dz;
 
 points.add(new PVector(x,y,z));
 noFill();
 translate(width/2,height/2);
 scale(0.6);
 stroke(255);
 strokeWeight(3);
 float hu = 0;
 beginShape();
 for (PVector v : points){
 stroke(hu,255,255);
 ellipse(v.x,v.y,10,10);
 v.x=(v.x*noise(-2,2))+v.x;
  v.y=(v.y*noise(-2,2))+v.y;
 vertex(v.x,v.y,v.z);
 
 hu+=0.03;
 if( hu >= 255){
  hu = 0 ; 
 }
 }
 endShape();
}