Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pixi-filters

Package Overview
Dependencies
Maintainers
3
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pixi-filters - npm Package Compare versions

Comparing version 2.4.1 to 2.5.0

lib/pixi-filters.cjs.js

6

lib/pixi-filters.es.js
/*!
* pixi-filters - v2.4.1
* Compiled Sat, 23 Dec 2017 14:49:32 UTC
* pixi-filters - v2.5.0
* Compiled Wed, 10 Jan 2018 17:38:59 UTC
*

@@ -8,3 +8,3 @@ * pixi-filters is licensed under the MIT License.

*/
export{AdvancedBloomFilter}from"@pixi/filter-advanced-bloom";export{AsciiFilter}from"@pixi/filter-ascii";export{BloomFilter}from"@pixi/filter-bloom";export{BulgePinchFilter}from"@pixi/filter-bulge-pinch";export{ColorReplaceFilter}from"@pixi/filter-color-replace";export{ConvolutionFilter}from"@pixi/filter-convolution";export{CrossHatchFilter}from"@pixi/filter-cross-hatch";export{DotFilter}from"@pixi/filter-dot";export{DropShadowFilter}from"@pixi/filter-drop-shadow";export{EmbossFilter}from"@pixi/filter-emboss";export{GlowFilter}from"@pixi/filter-glow";export{GodrayFilter}from"@pixi/filter-godray";export{MotionBlurFilter}from"@pixi/filter-motion-blur";export{MultiColorReplaceFilter}from"@pixi/filter-multi-color-replace";export{OldFilmFilter}from"@pixi/filter-old-film";export{OutlineFilter}from"@pixi/filter-outline";export{PixelateFilter}from"@pixi/filter-pixelate";export{RGBSplitFilter}from"@pixi/filter-rgb-split";export{RadialBlurFilter}from"@pixi/filter-radial-blur";export{ShockwaveFilter}from"@pixi/filter-shockwave";export{SimpleLightmapFilter}from"@pixi/filter-simple-lightmap";export{TiltShiftFilter,TiltShiftAxisFilter,TiltShiftXFilter,TiltShiftYFilter}from"@pixi/filter-tilt-shift";export{TwistFilter}from"@pixi/filter-twist";export{ZoomBlurFilter}from"@pixi/filter-zoom-blur";
export{AdjustmentFilter}from"@pixi/filter-adjustment";export{AdvancedBloomFilter}from"@pixi/filter-advanced-bloom";export{AsciiFilter}from"@pixi/filter-ascii";export{BloomFilter}from"@pixi/filter-bloom";export{BulgePinchFilter}from"@pixi/filter-bulge-pinch";export{ColorReplaceFilter}from"@pixi/filter-color-replace";export{ConvolutionFilter}from"@pixi/filter-convolution";export{CrossHatchFilter}from"@pixi/filter-cross-hatch";export{CRTFilter}from"@pixi/filter-crt";export{DotFilter}from"@pixi/filter-dot";export{DropShadowFilter}from"@pixi/filter-drop-shadow";export{EmbossFilter}from"@pixi/filter-emboss";export{GlitchFilter}from"@pixi/filter-glitch";export{GlowFilter}from"@pixi/filter-glow";export{GodrayFilter}from"@pixi/filter-godray";export{KawaseBlurFilter}from"@pixi/filter-kawase-blur";export{MotionBlurFilter}from"@pixi/filter-motion-blur";export{MultiColorReplaceFilter}from"@pixi/filter-multi-color-replace";export{OldFilmFilter}from"@pixi/filter-old-film";export{OutlineFilter}from"@pixi/filter-outline";export{PixelateFilter}from"@pixi/filter-pixelate";export{RadialBlurFilter}from"@pixi/filter-radial-blur";export{ReflectionFilter}from"@pixi/filter-reflection";export{RGBSplitFilter}from"@pixi/filter-rgb-split";export{ShockwaveFilter}from"@pixi/filter-shockwave";export{SimpleLightmapFilter}from"@pixi/filter-simple-lightmap";export{TiltShiftFilter,TiltShiftAxisFilter,TiltShiftXFilter,TiltShiftYFilter}from"@pixi/filter-tilt-shift";export{TwistFilter}from"@pixi/filter-twist";export{ZoomBlurFilter}from"@pixi/filter-zoom-blur";
//# sourceMappingURL=pixi-filters.es.js.map
{
"name": "pixi-filters",
"version": "2.4.1",
"main": "lib/pixi-filters.js",
"description": "Optional display filters to work with PixiJS",
"version": "2.5.0",
"main": "lib/pixi-filters.cjs.js",
"description": "PixiJS v4 optional display filters",
"author": "Mat Groves <mat@goodboydigital.com>",

@@ -10,3 +10,4 @@ "contributors": [

"Matt Karl <matt@mattkarl.com>",
"Chad Engler <chad@pantherdev.com>"
"Chad Engler <chad@pantherdev.com>",
"finscn <finscn@gmail.com>"
],

@@ -35,27 +36,32 @@ "module": "lib/pixi-filters.es.js",

"dependencies": {
"@pixi/filter-advanced-bloom": "^2.4.0",
"@pixi/filter-ascii": "^2.4.0",
"@pixi/filter-bloom": "^2.4.0",
"@pixi/filter-bulge-pinch": "^2.4.0",
"@pixi/filter-color-replace": "^2.4.0",
"@pixi/filter-convolution": "^2.4.0",
"@pixi/filter-cross-hatch": "^2.4.0",
"@pixi/filter-dot": "^2.4.0",
"@pixi/filter-drop-shadow": "^2.4.0",
"@pixi/filter-emboss": "^2.4.0",
"@pixi/filter-glow": "^2.4.1",
"@pixi/filter-godray": "^2.4.0",
"@pixi/filter-motion-blur": "^2.4.0",
"@pixi/filter-multi-color-replace": "^2.4.0",
"@pixi/filter-old-film": "^2.4.0",
"@pixi/filter-outline": "^2.4.1",
"@pixi/filter-pixelate": "^2.4.0",
"@pixi/filter-radial-blur": "^2.4.0",
"@pixi/filter-rgb-split": "^2.4.0",
"@pixi/filter-shockwave": "^2.4.0",
"@pixi/filter-simple-lightmap": "^2.4.0",
"@pixi/filter-tilt-shift": "^2.4.0",
"@pixi/filter-twist": "^2.4.0",
"@pixi/filter-zoom-blur": "^2.4.0"
"@pixi/filter-adjustment": "^2.5.0",
"@pixi/filter-advanced-bloom": "^2.5.0",
"@pixi/filter-ascii": "^2.5.0",
"@pixi/filter-bloom": "^2.5.0",
"@pixi/filter-bulge-pinch": "^2.5.0",
"@pixi/filter-color-replace": "^2.5.0",
"@pixi/filter-convolution": "^2.5.0",
"@pixi/filter-cross-hatch": "^2.5.0",
"@pixi/filter-crt": "^2.5.0",
"@pixi/filter-dot": "^2.5.0",
"@pixi/filter-drop-shadow": "^2.5.0",
"@pixi/filter-emboss": "^2.5.0",
"@pixi/filter-glitch": "^2.5.0",
"@pixi/filter-glow": "^2.5.0",
"@pixi/filter-godray": "^2.5.0",
"@pixi/filter-kawase-blur": "^2.5.0",
"@pixi/filter-motion-blur": "^2.5.0",
"@pixi/filter-multi-color-replace": "^2.5.0",
"@pixi/filter-old-film": "^2.5.0",
"@pixi/filter-outline": "^2.5.0",
"@pixi/filter-pixelate": "^2.5.0",
"@pixi/filter-radial-blur": "^2.5.0",
"@pixi/filter-reflection": "^2.5.0",
"@pixi/filter-rgb-split": "^2.5.0",
"@pixi/filter-shockwave": "^2.5.0",
"@pixi/filter-simple-lightmap": "^2.5.0",
"@pixi/filter-tilt-shift": "^2.5.0",
"@pixi/filter-twist": "^2.5.0",
"@pixi/filter-zoom-blur": "^2.5.0"
}
}

@@ -5,6 +5,7 @@ # PixiJS Filters

Optional filters that work with PixiJS v4.
PixiJS v4 optional display filters.
Filters include:
* **AdjustmentFilter** _@pixi/filter-adjustment_
* **AdvancedBloomFilter** _@pixi/filter-advanced-bloom_

@@ -17,7 +18,10 @@ * **AsciiFilter** _@pixi/filter-ascii_

* **CrossHatchFilter** _@pixi/filter-cross-hatch_
* **CRTFilter** _@pixi/filter-crt_
* **DotFilter** _@pixi/filter-dot_
* **DropShadowFilter** _@pixi/filter-drop-shadow_
* **EmbossFilter** _@pixi/filter-emboss_
* **GlitchFilter** _@pixi/filter-glitch_
* **GlowFilter** _@pixi/filter-glow_
* **GodrayFilter** _@pixi/filter-godray_
* **KawaseBlurFilter** _@pixi/filter-kawase-blur_
* **MotionBlurFilter** _@pixi/filter-motion-blur_

@@ -28,4 +32,5 @@ * **MultiColorFilter** _@pixi/filter-multi-color-replace_

* **PixelateFilter** _@pixi/filter-pixelate_
* **RadialBlurFilter** _@pixi/filter-radial-blur_
* **ReflectionFilter** _@pixi/filter-reflection_
* **RGBSplitFilter** _@pixi/filter-rgb_
* **RadialBlurFilter** _@pixi/filter-radial-blur_
* **ShockwaveFilter** _@pixi/filter-shockwave_

@@ -32,0 +37,0 @@ * **SimpleLightmapFilter** _@pixi/filter-simple-lightmap_

/// <reference types="pixi.js" />
declare namespace PIXI.filters {
class AsciiFilter extends PIXI.Filter<{}> {
constructor(size?:number);
size:number;
class AdjustmentFilter extends PIXI.Filter<{}> {
constructor(options?: AdjustmentOptions);
gamma: number;
contrast: number;
saturation: number;
brightness: number;
red: number;
green: number;
blue: number;
alpha: number;
}
interface AdjustmentOptions {
gamma?: number;
contrast?: number;
saturation?: number;
brightness?: number;
red?: number;
green?: number;
blue?: number;
alpha?: number;
}
class AdvancedBloomFilter extends PIXI.Filter<{}> {

@@ -13,3 +30,7 @@ constructor(options?: AdvancedBloomOptions);

brightness: number;
kernels: number[];
blur: number;
quality: number;
pixelSize:number|PIXI.Point|number[];
resolution: number;
}

@@ -20,7 +41,12 @@ interface AdvancedBloomOptions {

brightness?: number;
kernels?: number[];
blur?: number;
quality?: number;
pixelSize?: number|PIXI.Point|number[];
resolution?: number;
kernelSize?: number;
}
class AsciiFilter extends PIXI.Filter<{}> {
constructor(size?:number);
size:number;
}
class BloomFilter extends PIXI.Filter<{}> {

@@ -53,2 +79,29 @@ constructor(blur?:number|PIXI.Point|number[], quality?:number, resolution?:number, kernelSize?:number);

}
class CRTFilter extends PIXI.Filter<{}> {
constructor(options?: CRTOptions);
curvature: number;
lineWidth: number;
lineContrast: number;
verticalLine: number;
noise: number;
noiseSize: number;
seed: number;
vignetting: number;
vignettingAlpha: number;
vignettingBlur: number;
time: number;
}
interface CRTOptions {
curvature?: number;
lineWidth?: number;
lineContrast?: number;
verticalLine?: number;
noise?: number;
noiseSize?: number;
seed?: number;
vignetting?: number;
vignettingAlpha?: number;
vignettingBlur?: number;
time?: number;
}
class DotFilter extends PIXI.Filter<{}> {

@@ -71,2 +124,32 @@ constructor(scale?:number, angle?:number);

}
class GlitchFilter extends PIXI.Filter<{}> {
constructor(options?:GlitchOptions);
slices:number;
offset:number;
direction:number;
fillMode:number;
seed:number;
red:PIXI.Point;
green:PIXI.Point;
blue:PIXI.Point;
sizes:Float32Array|number[];
offsets:Float32Array|number[];
refresh(): void;
shuffle(): void;
redraw(): void;
readonly texture:PIXI.Texture;
}
interface GlitchOptions {
slices:number;
offset:number;
direction:number;
fillMode:number;
average:boolean;
seed:number;
red:PIXI.Point;
green:PIXI.Point;
blue:PIXI.Point;
minSize:number;
sampleSize:number;
}
class GlowFilter extends PIXI.Filter<{}> {

@@ -80,4 +163,6 @@ constructor(distance?:number, outerStrength?:number, innerStrength?:number, color?:number, quality?:number);

class GodrayFilter extends PIXI.Filter<{}> {
constructor(angle?:number, gain?:number, lacunarity?:number, time?:number);
constructor(options?:GodrayFilterOptions);
angle:number;
center:PIXI.Point|Array<number>;
parallel:boolean;
gain:number;

@@ -87,2 +172,17 @@ lacunarity:number;

}
interface GodrayFilterOptions {
angle:number;
center:PIXI.Point|Array<number>;
parallel:boolean;
gain:number;
lacunarity:number;
time:number;
}
class KawaseBlurFilter extends PIXI.Filter<{}> {
constructor(blur?:number|number[], quality?:number);
kernels:number[];
pixelSize:number|PIXI.Point|number[];
quality:number;
blur:number;
}
class MotionBlurFilter extends PIXI.Filter<{}> {

@@ -143,2 +243,19 @@ constructor(velocity:PIXI.Point|number[], kernelSize?:number, offset?:number);

}
class ReflectionFilter extends PIXI.Filter<{}> {
constructor(options?: ReflectionOptions);
mirror: boolean;
boundary: number;
amplitude: number[];
waveLength: number[];
alpha: number[];
time: number;
}
interface ReflectionOptions {
mirror?: boolean;
boundary?: number;
amplitude?: number[];
waveLength?: number[];
alpha?: number[];
time?: number;
}
class RGBSplitFilter extends PIXI.Filter<{}> {

@@ -145,0 +262,0 @@ constructor(red?:PIXI.Point, green?:PIXI.Point, blue?:PIXI.Point);

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc