Skip to contents

Morph from one image to another in the specified steps.

Usage

continuum(from_img, to_img, from = 0, to = 1, by = 0.1, ...)

Arguments

from_img

image to start at

to_img

image to end at

from

starting percentage

to

ending percentage

by

step size

...

arguments to pass to trans()

Value

a list of stimuli containing each step of the continuum

See also

WebMorph.org functions avg(), loop(), symmetrize(), trans(), webmorph_up()

Examples

# \donttest{
if (webmorph_up()) {
  stimuli <- demo_stim()
  cont <- continuum(stimuli$f_multi, stimuli$m_multi)
  
  # create an animated gif
  animate(cont, fps = 10, rev = TRUE)
}
# }