cross_g: Cross shapes gadget

Description Usage Arguments Value Examples

View source: R/cross.R

Description

Calculates intermediates forms between two shapes using a gadget

Usage

1
cross_g(..., steps = 100, interval = 1000/15)

Arguments

...

two shapes, or a cool or a list of shapes. Only the first two will be crossed. In all cases, they need to be homogeneized.

steps

integer to feed cross, number of intermediate steps

interval

integer to feed shiny::animationOptions, time between frames in milliseconds

Value

a cool

Examples

1
2
3
4
5
## Not run: 
s <- shapes %>% pick(1:2) %>% homogeneize()
s %>% cross_g

## End(Not run)

MomX/Momfarm documentation built on April 4, 2020, 6:18 p.m.