smooth(8) doesn't work with size(100,100,P3D)
in
Programming Questions
•
11 months ago
I have the following script:
void setup(){
size(800,400,P3D);
colorMode(HSB, 360, 100, 100);
background(360);
smooth(8);
}
void draw(){
strokeWeight(1);
stroke(50);
rect(100,100,100,100);
}
but I go the following result:
only when i set "smooth()" will the script work...
Any advise?
(using Processing 2.05b in Mac OS X)
thanks in advance!
- J
void setup(){
size(800,400,P3D);
colorMode(HSB, 360, 100, 100);
background(360);
smooth(8);
}
void draw(){
strokeWeight(1);
stroke(50);
rect(100,100,100,100);
}
but I go the following result:
only when i set "smooth()" will the script work...
Any advise?
(using Processing 2.05b in Mac OS X)
thanks in advance!
- J
1