
Canvas Drawing
Canvas drawing gives you the capability to let a participant draw, sketch, or annotate directly inside a trial, using a mouse, finger, or trackpad, with the result saved as part of the same study data.
Table of Contents
How Canvas Drawing Works
You can give the participant a full drawing toolkit, pencil, eraser, shapes, lines, text, color and brush-size controls, or restrict a canvas task to exactly the tools a study needs. You can also load a background image and have the participant draw or annotate directly on top of it, marking locations, labeling parts of a diagram, or sketching over a photo, rather than starting from a blank canvas. The same effect can also be achieved by placing a regular image object in the trial and positioning the canvas directly on top of it, if you'd rather manage the image separately from the canvas itself.
What Gets Captured
A canvas drawing is saved as a single flattened image, everything the participant adds, pencil strokes, shapes, text, comes back as one picture, saved alongside the rest of your study's data. If the moment-by-moment process of drawing matters more than the final result, screen recording captures that instead.
Research Applications
A canvas drawing task shows up across several domains, not just creative ones:
- Educational Psychology: handwriting practice, diagram labeling, or spatial reasoning tasks where a student draws their answer directly. See Educational Psychology.
- Sports Psychology: drawing trajectories, marking spatial positions, or sketching strategy solutions in movement and tactical-reasoning tasks. See Sports Psychology.
- Arts Research: freehand drawing, annotation, or creative response for studying aesthetic judgment and visual arts. See Arts Research.
Linking Drawing Responses to Experimental Conditions
Depending on which condition a participant is in, you can swap in a different background image, change which tools are available (for example, shapes only in one condition, freehand drawing only in another), or skip the canvas entirely. You also have the option to move the trial forward automatically as soon as a drawing is submitted, rather than requiring a separate button press.
Setting It Up in Labvanced
You have the capacity to set up canvas drawing with a single object, no code required. For the full step-by-step, see the Objects guide in the Labvanced documentation.
Frequently Asked Questions
What exactly gets saved, the image, or the individual strokes?
Does it support a stylus or pressure-sensitive input?
What drawing tools are available?
Further Reading
Mouse Tracking
Track cursor movement, hovers, and clicks alongside a canvas drawing.
Code-Free Study Building
Place objects, wire up events, and build a trial without writing a line of code.