Closed ericcervin closed 2 years ago
the java I'm working from
Hi Eric.
I can confirm the error.
I'll investigate the issue further.
Thanks for the precise example.
/Jens Axel
Hi Eric,
I have investigated the issue.
In the draw-line
function I inserted lines that print the smooting settings and the background color.
They are the same for the first frame and the following frames.
Now if I move the call (background 200)
from setup
to the beginning of draw
then I see smooth lines.
And now I notice your Processing example also has (background 200)
in draw
:-)
The background command not only sets the background color, it also clears the screen. So it sort of makes sense that drawing a line on a blank background and on top of an existing line doesn't give the same result.
What happens if you move the background
call from draw
to setup
in the Processing example?
/Jens Axel
[sad trombone]
Thanks.
I mean to go get my eyes checked. Haven't been to the eye doctor since before covid.
It fooled me too. :-)
Working on another simple example when I noticed roughness in some lines that were drawn. The lines are perfectly smooth when they aren't being looped.