How to use the pixi-filters.ShockwaveFilter function in pixi-filters

To help you get started, we’ve selected a few pixi-filters examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github dacaher / pixijs-ts-boilerplate / src / scripts / app / sample-app.ts View on Github external
}

        text.position.set(bunniesContainer.width / 2, 0);

        bunniesContainer.hitArea = new PIXI.Rectangle(0, 0, bunniesContainer.width, bunniesContainer.height);

        this.filteredBunnies.x = this.app.initialWidth - this.filteredBunnies.width - 10;
        this.filteredBunnies.y = this.app.initialHeight - this.filteredBunnies.height;

        // Filters
        const filters = [
            new AsciiFilter(),
            new CRTFilter(),
            new GlowFilter(),
            new OldFilmFilter(),
            new ShockwaveFilter(new PIXI.Point(bunniesContainer.width / 2, bunniesContainer.height / 2)),
            new OutlineFilter(1, 0xFF0000),
        ];
    }

pixi-filters

[![Node.js CI](https://github.com/pixijs/filters/workflows/Node.js%20CI/badge.svg)](https://github.com/pixijs/filters/actions/workflows/nodejs.yml?query=branch%3Amain) [![npm version](https://badge.fury.io/js/pixi-filters.svg)](https://www.npmjs.com/packa

MIT
Latest version published 25 days ago

Package Health Score

76 / 100
Full package analysis

Similar packages