GithubHelp home page GithubHelp logo

isabella232 / pixi-extra-filters Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pixijs/pixi-extra-filters

0.0 0.0 0.0 86 KB

[deprecated] Please see https://github.com/pixijs/pixi-filters

License: MIT License

JavaScript 62.10% GLSL 37.90%

pixi-extra-filters's Introduction

IMPORTANT: This project is no longer maintained. All community filters have been combined with the core pixi-filters and are not longer maintained here. Pull requests should be made to pixi-filters.

pixi-extra-filters

Some extra filters for pixi that aren't in the core plugin.

Usage

Browserify

If you use browserify you can use pixi-extra-filters like this:

var PIXI = require('pixi.js'),
    extraFilters = require('pixi-extra-filters');

var sprite = new PIXI.Sprite(someTexture);
sprite.filters = [new extraFilters.GlowFilter(15, 2, 1, 0xFF0000, 0.5)];

Prebuilt Files

If you are just including the built files, pixi-extra-filters extends the PIXI.filters namespace with its filters:

var sprite = new PIXI.Sprite(someTexture);
sprite.filters = [new PIXI.filters.GlowFilter(15, 2, 1, 0xFF0000, 0.5)];

Building

You will need to have node setup on your machine.

Then you can install dependencies and build:

npm i && npm run build

That will output the built distributables to ./dist.

pixi-extra-filters's People

Contributors

englercj avatar ivanpopelyshev avatar oza94 avatar thegamerzesport avatar goodboydigital avatar bigtimebuddy avatar develra avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.