Create random trajectory
make_random_trajectory.Rd
Create random trajectory
Examples
sett_move <-
new_settings(
speed = 5, xlim = c(-9, 9), ylim = c(-9, 9),
bounce_off_square = FALSE,
bounce_off_circle = TRUE, circle_bounce_jitter = pi / 6
)
moment <- position8c %>% add_random_direction()
tt <- make_random_trajectory(
moment, seq(0, 8, by = 0.1), sett_move, step_direct
)