Skip to contents

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()

Value

list of stimuli with rotated tems and/or images

See also

Stimulus manipulation functions align(), crop_tem(), crop(), greyscale(), image_func(), mask_oval(), mask(), mirror(), pad(), resize(), rotate(), to_size()

Examples

stimuli <- demo_unstandard(1:3)
horiz_eyes(stimuli, fill = "red")