Interface PlasmaGeneratorOptions

Options passed to a PlasmaGenerator constructor.

Hierarchy

  • PlasmaGeneratorOptions

Properties

height?: number

Height in pixels of the generated plasma.

maxSteps?: number

A largest possible count of radnom animation steps between phase and amplitude transitions.

The larger the number the slower plasma animates.

minSteps?: number

A least possible count of radnom animation steps between phase and amplitude transitions.

The larger the number the slower plasma animates.

parallel?: boolean

Should the rendering be performed with asynchronous worker threads.

width?: number

Width in pixels of the generated plasma.

workerUrl?: string

The worker URL.

workers?: number

Specifies how many workers will be used for parallel rendition.