AnimationRenderer

doodle.interact.effect.AnimationRenderer
See theAnimationRenderer companion object
trait AnimationRenderer[Canvas]

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

Attributes

Companion
object
Source
AnimationRenderer.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

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.

Attributes

Source
AnimationRenderer.scala