AnimationRenderer

trait AnimationRenderer[Canvas]

The AnimationRenderer typeclass describes a data type that can render an animation to a Canvas.

Companion
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def animate[Alg <: ([x[_]] =>> Algebra[x]), F[_], A, Frame](canvas: Canvas)(frames: Stream[IO, Picture[Alg, F, A]])(implicit e: Renderer[Alg, F, Frame, Canvas], m: Monoid[A]): IO[A]

Animate frames that are produced by a Stream.

Animate frames that are produced by a Stream.