Rotate each stimulus so the eye points are horizontal.
Usage
horiz_eyes(stimuli, left_eye = 0, right_eye = 1, fill = wm_opts("fill"))
Arguments
- stimuli
list of stimuli
- left_eye
The first point to align (defaults to 0)
- right_eye
The second point to align (defaults to 1)
- fill
background color to pass to rotate, see
color_conv()
Examples
stimuli <- demo_unstandard(1:3)
horiz_eyes(stimuli, fill = "red")