|
Author |
Topic: ellipseStrokes are somehow strange (Read 750 times) |
|
christian
|
ellipseStrokes are somehow strange
« on: Jan 6th, 2004, 6:10pm » |
|
hi somehow, i do not know why the graphic quality of p5 is somehow not satisfying, concerning especially round forms like circles and curves. is this because p5 is not vectorbased like eg. flash? i tried to write code that makes circle lines: int button; float r1,r2; float farbzahl; float s,r,g,b,t; void setup(){ size(800,600); background(255,255,250); ellipseMode(CENTER_DIAMETER); } void loop(){ if(mousePressed == true){ clear(); } } void mouseReleased(){ generiere(); } void generiere(){ r2=random(40)+10; s=r2*10; for(int i = 0; i < r2; i++){ //fill(0,0,0); //stroke(255,255,255); ellipse(width/2, height/2, s, s); strokeWeight(; //push(); s-=30; t = random(30)*s; noFill();//(255,255,255); //noStroke(); //triangle(width/2, height/2, t, t, -t, -t); //pop(); smooth(); } }
|
|
|
|
fry
|
Re: ellipseStrokes are somehow strange
« Reply #1 on: Jan 8th, 2004, 6:26pm » |
|
nah, that's just a bug. unfortunately the person working on new line code for us bailed, so we're behind on getting that fixed. i've added it to the list, however.
|
|
|
|
|