Is it possible to manipulate the pixels in a DrawingCanvas at much higher speed, redrawing every mouse movement? Or is manipulating pixels at high speed possible with another object?
What I want to achieve eventually is a heatmap-drawing effect.
I hope the c3p file makes my question clear:
I simplified my code to focus on the manipulation of the pixels. The DrawingCanvas now gets another color every .1 second (pixel by pixel). But on my Windows laptop it's only two or three times/second.
What I want is possible with js & html canvas. I included the html/js code in my project in an Iframe to show what I want to get.
The loop in 'on snapshot' takes to much time for the html/js code to work, so disable this loop to see what I want to achieve!