package tiny_libs

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module MovieSource

Sourcetype t = {
  1. width : int;
  2. height : int;
  3. times : float array;
  4. duration : float;
  5. frame : int -> Rgba_image.t;
}
Sourceval frame_count : t -> int
Sourceval of_frames : (Rgba_image.t * float) list -> t
Sourceval sequential : width:int -> height:int -> times:float array -> duration:float -> start:(unit -> 's) -> next:('s -> 's * Rgba_image.t) -> t
Sourceval index_at : t -> float -> int
Sourceval frame_at : t -> float -> Rgba_image.t