Animus
An FRP animation library for Laminar
// build.sbt
libraryDependencies += "io.github.kitlangton" %%% "animus" % "0.2.0"
Example
import animus._
val $left: Signal[Double] = EventStream.periodic(1000).toSignal(0).mapToValue(Random.nextDouble() * 1000)
val animatedBox =
div(
width("100px"),
height("100px"),
position.relative,
left <-- $left.spring.px
)