Module Juice

type t
val none : seed:int -> t
val step : Playground.computer -> t -> t
val now : t -> Playground.time
type mode =
  1. | Off
  2. | Hand
  3. | Engine
val mode : default:mode -> Playground.flags -> mode
type ease
val linear : ease
val in_quad : ease
val out_quad : ease
val in_out_quad : ease
val in_cubic : ease
val out_cubic : ease
val in_out_cubic : ease
val in_sine : ease
val out_sine : ease
val in_out_sine : ease
val in_back : ease
val out_back : ease
val in_out_back : ease
val in_elastic : ease
val out_elastic : ease
val in_out_elastic : ease
val in_bounce : ease
val out_bounce : ease
val in_out_bounce : ease
val during : Playground.number -> Playground.time -> t -> bool
val shake : Playground.number -> t -> t
val freeze : int -> t -> t
val flash : Playground.color -> int -> t -> t
type burst
val sparks : burst
val smoke : burst
val debris : Playground.color -> burst
val burst : at:(Playground.number * Playground.number) -> burst -> t -> t
type follow
val follow : ?frequency:Playground.number -> ?damping:Playground.number -> Playground.number -> follow
val toward : Playground.number -> t -> follow -> follow
val value : follow -> Playground.number
val frozen : t -> bool
val on : t -> bool
val view : t -> Playground.shape list -> Playground.shape list