Class: AsciiFilter

AsciiFilter

An ASCII filter.
originalfilter

new AsciiFilter (options)

Constructor.

Name Type Attributes Description
options AsciiFilterOptions <optional>

The options of the ASCII filter.

Extends

  • Filter

Members

DEFAULT_OPTIONS AsciiFilterOptions staticreadonly

Default values for options.

color ColorSource

The resulting color of the ascii characters, as a 3 component RGB or numerical hex

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

replaceColor boolean

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

size number

The pixel size used by the filter.

Default Value:
  • 8