Calculates intermediates forms between two shapes using a gadget

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

# NOT RUN {
s <- shapes %>% pick(1:2) %>% homogeneize()
s %>% cross_g
# }