PreviewEncoder
A utility encoder is used to quickly preview animations in the browser that inherits FrameEncoder. It doesn't produce file artifacts or capture the canvas.
Constructor
Construction of the encoder class is not required. Refer to DeckAdapter.render for usage. The constructor accepts a FrameEncoderSettings object.
Usage
import {DeckAdapter, PreviewEncoder} from '@hubble.gl/core'
const adapter = new DeckAdapter({});
adapter.render({Encoder: PreviewEncoder});