Ruckus
07/21/2017, 7:58 PMrunLater
can be squashed to
rects.mapIndexed { i, rect ->
rect.init()
SequentialTransition(
PauseTransition((i * 0.1).seconds),
rect.scale(0.67.seconds, Point2D(0.1, 1.0), play = false),
rect.rotate(0.33.seconds, 90.0, play = false)
)
}.playSequentioally { cycleCount = Timeline.INDEFINITE }