Brush Component

The Brush component is a freehand drawing tool.



Everything in a PsychoPy® experiment needs a unique name. The name should contain only letters, numbers and underscores (no punctuation marks or spaces).

Startint, float

The time that the stimulus should first appear.

Stopint, float

Governs the duration for which the stimulus is presented.

Press Buttonbool

Should the participant have to press a button to paint, or should it be always on?


How should the stimulus look? Colour, borders, etc.

Brush Sizeint, float

Width of the line drawn by the brush, in pixels

Opacity :

Vary the transparency, from 0.0 = invisible to 1.0 = opaque

Brush Colorcolor

Colour of the brush

Brush Color Spacergb, dkl, lms, hsv

See Color spaces

See also

API reference for Brush

Back to top