rotate() and smooth() : how to smooth the border of what is rotated?
in
Programming Questions
•
3 years ago
Hello!
I really appreciate the smooth() function!
But I was afraid to see that when you use the rotate() func,
the rotation is smoothed but not the edges of the rect which is drawn!
ex: the border of the image is not smoothed.
// with:
PImage img = loadImage("animage.jpg");
smooth();
- draw(){
- translate(100,100);
- rotate(0.5);
- image(img,0,0);
- }
How to fix that?
2