Interface: AsciiFilterOptions

AsciiFilterOptions

Options for AsciiFilter constructor.

Properties:
Name Type Default Description
color ColorSource 0x000000

A color to set the ascii characters to. If not set, the color will be taken from the source.

replaceColor boolean false

Determine whether or not to replace the source colors with the provided.

Will automatically be assigned to true if color is provided. Set replaceColor to false to prevent that.

size number 8

The pixel size used by the filter

Members

color ColorSource

A color to set the ascii characters to. If not set, the color will be taken from the source.

Default Value:
  • 0x000000
Example
[1.0, 1.0, 1.0] = 0xffffff

replaceColor boolean

Determine whether or not to replace the source colors with the provided.

Will automatically be assigned to true if color is provided. Set replaceColor to false to prevent that.

Default Value:
  • false

size number

The pixel size used by the filter

Default Value:
  • 8