int x = 0; int y = 0; int humeur = 0; int sens = 1; void setup(){ size(800,600); background(255); frameRate(1000); } void draw(){ stroke(200,0,200); y = 0; x+= humeur; for(int i=0; iwidth) || (x<0)){ x=0; } }