| continuum | R Documentation |
Morph from one image to another in the specified steps.
continuum(from_img, to_img, from = 0, to = 1, by = 0.1, ...)
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 |
a list of stimuli containing each step of the continuum
WebMorph.org functions
avg(),
loop(),
symmetrize(),
trans(),
webmorph_up()
if (webmorph_up()) {
stimuli <- demo_stim()
cont <- continuum(stimuli$f_multi, stimuli$m_multi)
# create an animated gif
animate(cont, fps = 10, rev = TRUE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.