val get : unit -> t
Get the window object.
val on_next_animation : ( float -> unit ) -> t -> unit
on_next_animation callback window
callback is called on the next animation frame. Usually a browser has 60 frames per second.
The argument received by the callback is the time in milliseconds since the current document has been loaded.