Adds tweening frames to the animation of ball positions in a Plinko board.

tween_balls(board, frame_mult, ease = "bounce-out")

Arguments

board

A plinko_board() object

frame_mult

The number of frames to add per existing frame in the animation. 4 tends to be a good number.

ease

The easing function to use. See tweenr::display_ease() for examples.

Value

A modifed plinko_board() with tweened frames added.