Brush tool closes automatically in psychojs/online, despite closeShape : false

Hi, posting this in case anyone is still struggling with the jittery lines. It is a partial fix, which draws circles in addition to lines. It is not perfect but it is a considerable improvement.
It also saves the locations of the circles and lines in case you want to re-make the drawings offline from the excel output (though there is nothing to end the experiment in this demo). There is also an undo button. Offline version only draws lines. You will need to download the code then upload to your own pavlovia account to run the online version.

Code: James / DrawDemo ยท GitLab

1 Like