tsParticles - v4.2.1
    Preparing search index...

    Canvas emitter shape options

    Implements

    Index

    Constructors

    Properties

    The canvas element to use as the shape source

    filter: string | ((pixel: IRgba) => boolean) = ...

    A filter function or string to apply to pixels

    The pixel

    The boolean value

    The image element to use as the shape source

    pixels: PixelsOptions = ...

    The pixels options

    scale: number = 1

    The scale factor for the shape

    selector: string = ""

    The CSS selector for the canvas element

    text: TextOptions = ...

    The text options for rendering text as the shape

    Methods