We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I've recently worked on my first complete project with Processing, a simple paint application where the strokes of different colors eventually fade completely to black.
Using the common methods which simply draw a fullscreen rect with an alpha value, it seems it is inevitable that there will always be some shadows/artifacts left behind from the strokes.
This example is from the old forum: http://forum.processing.org/one/topic/background-will-not-fade-to-white.html
The suggested improved method works, but is extremely slow on the systems I tried it on at fullscreen 1366x768. These systems had relatively basic integrated intel based video cards on i5/i7 systems. If this is the suggested method to avoid these ghosting issues, will a dedicated desktop video card allow for much higher/smoother framerates? The smoothness of the drawing depends on there being a high framerate, hopefully of at least 60fps.
Answers
I get 60 fps using a shader, 4 year old intel graphics:
fadeWithShader.pde
fade.glsl
Excellent. This works as intended. The glsl shader was not implemented in the previous solution. Thanks!