| loop | R Documentation |
Morph between each image in a list of stimuli, looping back to the start.
loop(stimuli, steps = 10, ...)
stimuli |
list of stimuli to morph between |
steps |
number of steps from one image to the next |
... |
arguments to pass to |
list of stimuli containing each step of the loop
WebMorph.org functions
avg(),
continuum(),
symmetrize(),
trans(),
webmorph_up()
if (webmorph_up()) {
# align and crop images
stimuli <- demo_unstandard(1:5) |>
align() |> crop_tem()
loop <- loop(stimuli, 5)
# create an animated gif
animate(loop, fps = 10)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.