Hi all - this functionality looks great. I’m wondering about this implementation though - it’s a little buggy. If you click on the demo above (and in my code), and move the mouse somewhat slowly with the mouse held down, the ‘shape’ draws with intermittent pixels (screen shot attached). The top line was drawn quickly and smoothly. The bottom line was drawn slowly and smooth, with increasing speed toward the end. But note, even where the drawing is smooth, there are gaps when direction is changing quickly.
Any ideas for how to fix this in JS? This problem does not occur in the Psychopy standalone.