ThreePipe
    Preparing search index...

    Class ImageSequenceRecorder

    Records the canvas as an image sequence: one PNG, JPEG or WebP per frame. It captures the frames and gives them in order to a sink (CanvasRecorderOptions.frameSink): by default a folder the user picks (DirectoryFrameSink), or a zip download (ZipFrameSink) in a browser that can't pick a folder (Safari, Firefox); or your own. The next converged frame waits for the sink.

    Hierarchy (View Summary)

    Index
    _canvas: HTMLCanvasElement
    _console: Console = console
    _currentRecording: Blob[] = []
    _frameCount: number = 0
    _ondataavailable: (event: BlobEvent) => void = ...
    • Parameters

      • value: "error" | "paused" | "stopped" | "recording" | "starting" | "stopping"
      • Optionalevent: any

      Returns void