New plugin for drawing on canvas and mouse tracking #1370
GEJ1
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
This is really neat @GEJ1! I'm not sure why you need the global variables in the experiment script instead of the plugin file. Is there a reason those variables don't work if you just stick them in the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Everyone,
I'm working on a new plugin for drawing on canvas and tracking the cursor position.
You can see it an working example running on Cognition https://nrz7zmmo5m.cognition.run/ and the code in this repository https://github.com/GEJ1/draw-and-mouse-tracking.
Because of the type of experiment I want to do, the plugin work as follows: The image is presented at the beginning of the trial, when you click, it starts to draw and when you release the button the trial ends. But I think that we can made a more flexible plugin.
Parameters:
Data Generated:
I'll be happy if anyone share their critics and comments in order to improve it.
I hope it serves the community and can become a plugin that can be used for different experiments!
Beta Was this translation helpful? Give feedback.
All reactions