Notable Pottery Manufacturer
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

@pixi/filter-color-map

2.6.0 • Public • Published

ColorMapFilter

PixiJS v4 filter to apply a color-map effect.

Installation

npm install @pixi/filter-color-map

Usage

import {ColorMapFilter} from '@pixi/filter-color-map';
import {Container} from 'pixi.js';
 
const container = new Container();
 
const colorMap = new Image();
colorMap.src='foo/bar/colorMap.png';
 
container.filters = [new ColorMapFilter(colorMap)];

Documentation

See https://pixijs.github.io/pixi-filters/docs

Keywords

none

install

npm i @pixi/filter-color-map

Downloadsweekly downloads

1,186

version

2.6.0

license

MIT

homepage

pixijs.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar