AnimationRenderer

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

Companion:
object
Source:
AnimationRenderer.scala
class Object
trait Matchable
class Any

Value members

Abstract methods

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

Animate frames that are produced by a Stream.

Animate frames that are produced by a Stream.

Source:
AnimationRenderer.scala