interpolate_squares: Generates data for the 'Interpolate Squares' visualisation

Description Usage Arguments Examples

View source: R/interpolate_squares.R

Description

For each square, interpolates the four edges of the square to random line segments whose endpoints lie inside the square

Usage

1
interpolate_squares(seed = 1, n = 25, ease_function = "")

Arguments

seed

Seed number

n

Number of squares

ease_function

Either randomly selected or specified for all squares. Options: "linear", "quadratic-in", "quadratic-out", "quadratic-in-out", "cubic-in", "cubic-out", "cubic-in-out", "quartic-in", "quartic-out", "quartic-in-out", "quintic-in", "quintic-out", "quintic-in-out", "sine-in", "sine-out", "sine-in-out", "circular-in", "circular-out", "circular-in-out", "exponential-in", "exponential-out", "exponential-in-out", "elastic-in", "elastic-out", "elastic-in-out", "back-in", "back-out", "back-in-out", "bounce-in", "bounce-out", "bounce-in-out"

Examples

1

marcusvolz/aRtwork documentation built on March 27, 2020, 8:32 p.m.