AnimateToStreamOps

doodle.interact.syntax.AbstractAnimationRendererSyntax.AnimateToStreamOps
implicit class AnimateToStreamOps[Alg <: Algebra, A](frames: Stream[IO, Picture[Alg, A]])

This syntax is for streams that are not producing pictures at a rate that is appropriate for animation. They will be throttled to an appropriate rate.

Attributes

Source
AbstractAnimationRendererSyntax.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def animateFrames[Frame, Canvas](frame: Frame)(implicit a: AnimationRenderer[Canvas], e: Renderer[Alg, Frame, Canvas], r: Redraw[Canvas], m: Monoid[A], runtime: IORuntime): Unit

Animate a source of frames that is not producing those frames at a rate that is suitable for animation.

Animate a source of frames that is not producing those frames at a rate that is suitable for animation.

Attributes

Source
AbstractAnimationRendererSyntax.scala
def animateFramesToIO[Frame, Canvas](frame: Frame)(implicit a: AnimationRenderer[Canvas], e: Renderer[Alg, Frame, Canvas], r: Redraw[Canvas], m: Monoid[A]): IO[A]

Create an effect that, when run, will animate a source of frames that is not producing those frames at a rate that is suitable for animation.

Create an effect that, when run, will animate a source of frames that is not producing those frames at a rate that is suitable for animation.

Attributes

Source
AbstractAnimationRendererSyntax.scala
def animateFramesWithCanvas[Canvas](canvas: Canvas)(implicit a: AnimationRenderer[Canvas], e: Renderer[Alg, _, Canvas], r: Redraw[Canvas], m: Monoid[A], runtime: IORuntime): Unit

Animate a source of frames that is not producing those frames at a rate that is suitable for animation, displaying the animation on the given canvas.

Animate a source of frames that is not producing those frames at a rate that is suitable for animation, displaying the animation on the given canvas.

Attributes

Source
AbstractAnimationRendererSyntax.scala
def animateFramesWithCanvasToIO[Canvas](canvas: Canvas)(implicit a: AnimationRenderer[Canvas], e: Renderer[Alg, _, Canvas], r: Redraw[Canvas], m: Monoid[A]): IO[A]

Create an effect that, when run, will animate a source of frames that is not producing those frames at a rate that is suitable for animation, displaying the animation on the given canvas.

Create an effect that, when run, will animate a source of frames that is not producing those frames at a rate that is suitable for animation, displaying the animation on the given canvas.

Attributes

Source
AbstractAnimationRendererSyntax.scala