[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FBB343NJXYNV5BKQKRT4SB":3,"skill-same:01M7FBB343NJXYNV5BKQKRT4SB":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":45},"01M7FBB343NJXYNV5BKQKRT4SB","pixijs-filters",null,"Use this skill when applying visual effects to PixiJS v8 containers via the filter pipeline. Covers built-in filters (AlphaFilter, BlurFilter, ColorMatrixFilter, DisplacementFilter, NoiseFilter), custom Filter.from() with GLSL\u002FWGSL, options (resolution, padding, antialias, blendRequired), filterArea optimization, pixi-filters community package. Triggers on: filters, BlurFilter, ColorMatrixFilter, DisplacementFilter, NoiseFilter, Filter.from, GLSL filter, pixi-filters, filterArea.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fpixijs-filters\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: pixijs-filters\ndescription: \"Use this skill when applying visual effects to PixiJS v8 containers via the filter pipeline. Covers built-in filters (AlphaFilter, BlurFilter, ColorMatrixFilter, DisplacementFilter, NoiseFilter), custom Filter.from() with GLSL\u002FWGSL, options (resolution, padding, antialias, blendRequired), filterArea optimization, pixi-filters community package. Triggers on: filters, BlurFilter, ColorMatrixFilter, DisplacementFilter, NoiseFilter, Filter.from, GLSL filter, pixi-filters, filterArea.\"\nlicense: MIT\ndisable-model-invocation: true\n---\n\nAttach visual effects by assigning one filter (or an array for chaining) to `container.filters`. Built-in filters cover blur, color matrix, displacement, alpha, and noise; custom filters wrap a GLSL\u002FWGSL fragment shader via `Filter.from(...)`.\n\n## Quick Start\n\n```ts\nconst sprite = new Sprite(await Assets.load(\"hero.png\"));\napp.stage.addChild(sprite);\n\nconst blur = new BlurFilter({ strength: 4, quality: 4 });\nconst colorMatrix = new ColorMatrixFilter();\ncolorMatrix.brightness(1.2, false);\n\nsprite.filters = [blur, colorMatrix];\n\nconst container = new Container();\ncontainer.filters = [new BlurFilter({ strength: 2 })];\ncontainer.filterArea = new Rectangle(0, 0, 800, 600);\napp.stage.addChild(container);\n```\n\n**Related skills:** `pixijs-custom-rendering` (shader internals, uniform types), `pixijs-blend-modes` (composing with filters), `pixijs-performance` (filter tuning, filterArea).\n\n## Core Patterns\n\n### Built-in filters\n\n```ts\nimport {\n  AlphaFilter,\n  BlurFilter,\n  ColorMatrixFilter,\n  DisplacementFilter,\n  NoiseFilter,\n  Assets,\n  Sprite,\n} from \"pixi.js\";\n\n\u002F\u002F Alpha (uniform transparency without per-child layering)\nconst alpha = new AlphaFilter({ alpha: 0.5 });\n\n\u002F\u002F Blur — strength\u002Fquality are uniform; strengthX\u002FstrengthY split axes;\n\u002F\u002F kernelSize must be odd (5, 7, 9, ... 15); repeatEdgePixels avoids transparent edges\nconst blur = new BlurFilter({\n  strength: 4,\n  quality: 4,\n  kernelSize: 5,\n  repeatEdgePixels: false,\n});\n\n\u002F\u002F Color matrix — brightness is one of many presets. Others: tint, hue,\n\u002F\u002F contrast, saturate, desaturate, greyscale\u002Fgrayscale, blackAndWhite,\n\u002F\u002F negative, sepia, technicolor, polaroid, kodachrome, browni, vintage,\n\u002F\u002F colorTone, night, predator, lsd, reset. Direct access via\n\u002F\u002F `colorMatrix.matrix` (20-element array) and `colorMatrix.alpha` (blend\n\u002F\u002F between original and transformed).\nconst colorMatrix = new ColorMatrixFilter();\ncolorMatrix.brightness(1.5, false);\ncolorMatrix.contrast(0.5, true); \u002F\u002F multiply stacks on top of existing matrix\ncolorMatrix.alpha = 0.7; \u002F\u002F blend at 70% strength\n\n\u002F\u002F Displacement — scale is a number or PointData\nconst displacementTexture = await Assets.load(\"displacement_map.png\");\nconst displacementSprite = new Sprite(displacementTexture);\nconst displacement = new DisplacementFilter({\n  sprite: displacementSprite,\n  scale: { x: 20, y: 10 },\n});\n\n\u002F\u002F Noise — seed is an arbitrary number that determines the noise pattern; same seed reproduces the same pattern\nconst noise = new NoiseFilter({ noise: 0.5, seed: Math.random() });\n\nsprite.filters = [blur, colorMatrix];\n```\n\n### Custom filter with Filter.from()\n\nThe simplest way to create a custom filter. Only a fragment shader is needed; PixiJS provides a default vertex shader.\n\n```ts\nimport { Filter } from \"pixi.js\";\n\nconst filter = Filter.from({\n  gl: {\n    fragment: `\n            in vec2 vTextureCoord;\n            out vec4 finalColor;\n            uniform sampler2D uTexture;\n            uniform float uTime;\n\n            void main() {\n                vec2 uv = vTextureCoord;\n                uv.x += sin(uv.y * 10.0 + uTime) * 0.02;\n                finalColor = texture(uTexture, uv);\n            }\n        `,\n  },\n  resources: {\n    timeUniforms: {\n      uTime: { value: 0, type: \"f32\" },\n    },\n  },\n});\n\nsprite.filters = filter;\n\napp.ticker.add((ticker) => {\n  filter.resources.timeUniforms.uniforms.uTime += 0.04 * ticker.deltaTime;\n});\n```\n\nFor more control, construct `GlProgram`\u002F`GpuProgram` objects directly:\n\n```ts\nimport { Filter, GlProgram } from \"pixi.js\";\n\nconst glProgram = GlProgram.from({ fragment: fragmentSrc, vertex: vertexSrc });\n\nconst filter = new Filter({\n  glProgram,\n  resources: {\n    timeUniforms: {\n      uTime: { value: 0, type: \"f32\" },\n    },\n  },\n});\n```\n\nKey points:\n\n- Use `out vec4 finalColor` in fragment shaders, not `gl_FragColor` (GLSL ES 3.0).\n- Use `texture()` to sample, not `texture2D`.\n- `glProgram` for WebGL, `gpuProgram` for WebGPU. Omitting one skips that renderer.\n- Textures go in `resources`, not uniforms. The filter system auto-provides `uTexture` (the input).\n- Access uniform values via `filter.resources.{groupName}.uniforms.{name}`.\n\n### Filter options\n\n```ts\nimport { Filter, GlProgram, Rectangle } from \"pixi.js\";\n\nconst filter = new Filter({\n  glProgram: GlProgram.from({ fragment }),\n  resources: {},\n  resolution: 0.5, \u002F\u002F default 1. Lower = faster, blurrier. 'inherit' matches the render target resolution\n  padding: 10, \u002F\u002F default 0. Extra pixels for effects that extend bounds\n  antialias: \"off\", \u002F\u002F default 'off'. 'on' | 'off' | 'inherit'\n  blendMode: \"normal\", \u002F\u002F default 'normal'\n  blendRequired: false, \u002F\u002F default false. true if shader samples uBackTexture\n  clipToViewport: true, \u002F\u002F default true\n});\n\n\u002F\u002F Optimization: set known bounds to avoid per-frame measurement\ncontainer.filterArea = new Rectangle(0, 0, 800, 600);\n\n\u002F\u002F Toggle without rebuilding the filter array\nfilter.enabled = false;\n\n\u002F\u002F Share one filter instance across many display objects\nsprite1.filters = [filter];\nsprite2.filters = [filter];\n```\n\n### Community filters (pixi-filters)\n\n```ts\nimport { AdjustmentFilter } from \"pixi-filters\u002Fadjustment\";\nimport { GlowFilter } from \"pixi-filters\u002Fglow\";\n\nsprite.filters = [\n  new AdjustmentFilter({ brightness: 1.2, contrast: 1.1 }),\n  new GlowFilter({ distance: 15, outerStrength: 2 }),\n];\n```\n\nFor v8, community filters use `pixi-filters\u002F{name}` imports, not the old `@pixi\u002Ffilter-*` packages.\n\n### Advanced blend modes\n\nAdvanced blend modes (`color-burn`, `overlay`, `hard-light`, etc.) are powered by the filter system and must be imported before use. They also require `useBackBuffer: true` on WebGL; see the `pixijs-blend-modes` skill for the full list.\n\n```ts\nimport \"pixi.js\u002Fadvanced-blend-modes\";\n\nawait app.init({ useBackBuffer: true });\nsprite.blendMode = \"color-burn\";\n```\n\nAdvanced blend modes are filter-based, so they inherit `Filter.defaultOptions`, whose `resolution` defaults to `1`. On high-DPI render targets this can make a blend mode look clipped, scaled, or only partially applied. Set `Filter.defaultOptions.resolution = 'inherit'` before creating the affected objects to render at the render target resolution, at higher memory and runtime cost:\n\n```ts\nimport { Filter } from \"pixi.js\";\nimport \"pixi.js\u002Fadvanced-blend-modes\";\n\nFilter.defaultOptions.resolution = \"inherit\";\nsprite.blendMode = \"overlay\";\n```\n\n## Common Mistakes\n\n### [CRITICAL] Using old Filter constructor (vertex, fragment, uniforms)\n\nWrong:\n\n```ts\nimport { Filter } from \"pixi.js\";\n\nconst filter = new Filter(vertex, fragment, { uTime: 0 });\n```\n\nCorrect:\n\n```ts\nimport { Filter, GlProgram } from \"pixi.js\";\n\nconst filter = new Filter({\n  glProgram: GlProgram.from({ fragment, vertex }),\n  resources: {\n    timeUniforms: { uTime: { value: 0, type: \"f32\" } },\n  },\n});\n```\n\nv8 uses an options object. Shaders must be wrapped in `GlProgram.from()` or `GpuProgram.from()`. Uniforms are grouped in `resources` with explicit types. Textures are resources, not uniforms.\n\n\n### [HIGH] Using @pixi\u002Ffilter-\\* packages for v8\n\nWrong:\n\n```ts\nimport { AdjustmentFilter } from \"@pixi\u002Ffilter-adjustment\";\n```\n\nCorrect:\n\n```ts\nimport { AdjustmentFilter } from \"pixi-filters\u002Fadjustment\";\n```\n\n`@pixi\u002Ffilter-*` packages are v7 only. For v8, the community filters package restructured to `pixi-filters\u002F{name}`.\n\n\n### [HIGH] Using too many filters without containerizing\n\nEach filter application requires a framebuffer switch, bounds measurement, and render-to-texture pass. One filter on a parent container is much cheaper than the same filter on each child.\n\nWrong:\n\n```ts\nfor (const child of container.children) {\n  child.filters = [new BlurFilter({ strength: 4 })];\n}\n```\n\nCorrect:\n\n```ts\ncontainer.filters = [new BlurFilter({ strength: 4 })];\n```\n\n\n### [HIGH] Using a blendRequired filter without useBackBuffer on WebGL\n\nCustom filters and most advanced community filters that set `blendRequired: true` sample the back buffer. On WebGL that only works if the renderer was initialized with `useBackBuffer: true`; otherwise PixiJS logs a warning and the filter silently falls back:\n\n```ts\nawait app.init({ useBackBuffer: true });\n```\n\nWebGPU enables the back buffer unconditionally, so this only affects WebGL.\n\n\n### [MEDIUM] Not setting filterArea for known-size containers\n\nWithout `filterArea`, PixiJS measures the container bounds every frame via `getGlobalBounds()`, which recursively walks all children. For containers with known dimensions, set `filterArea` to avoid this cost:\n\n```ts\nimport { Rectangle } from \"pixi.js\";\n\ncontainer.filterArea = new Rectangle(0, 0, 800, 600);\ncontainer.filters = [someFilter];\n```\n\n\n## API Reference\n\n- [Filter](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Ffilters.Filter.html.md)\n- [AlphaFilter](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Ffilters.AlphaFilter.html.md)\n- [BlurFilter](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Ffilters.BlurFilter.html.md)\n- [BlurFilterPass](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Ffilters.BlurFilterPass.html.md)\n- [ColorMatrixFilter](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Ffilters.ColorMatrixFilter.html.md)\n- [DisplacementFilter](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Ffilters.DisplacementFilter.html.md)\n- [NoiseFilter](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Ffilters.NoiseFilter.html.md)\n- [FilterSystem](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Frendering.FilterSystem.html.md)\n","Attach visual effects by assigning one filter (or an array for chaining) to `container.filters`. Built-in filters cover blur, color matrix, displacement, alpha, and noise; custom filters wrap a GLSL\u002FWGSL fragment shader via `Filter.from(...)`.\n\n## Quick Start\n\n```ts\nconst sprite = new Sprite(await Assets.load(\"hero.png\"));\napp.stage.addChild(sprite);\n\nconst blur = new BlurFilter({ strength: 4, quality: 4 });\nconst colorMatrix = new ColorMatrixFilter();\ncolorMatrix.brightness(1.2, false);\n\nsprite.filters = [blur, colorMatrix];\n\nconst container = new Container();\ncontainer.filters = [new BlurFilter({ strength: 2 })];\ncontainer.filterArea = new Rectangle(0, 0, 800, 600);\napp.stage.addChild(container);\n```\n\n**Related skills:** `pixijs-custom-rendering` (shader internals, uniform types), `pixijs-blend-modes` (composing with filters), `pixijs-performance` (filter tuning, filterArea).\n\n## Core Patterns\n\n### Built-in filters\n\n```ts\nimport {\n  AlphaFilter,\n  BlurFilter,\n  ColorMatrixFilter,\n  DisplacementFilter,\n  NoiseFilter,\n  Assets,\n  Sprite,\n} from \"pixi.js\";\n\n\u002F\u002F Alpha (uniform transparency without per-child layering)\nconst alpha = new AlphaFilter({ alpha: 0.5 });\n\n\u002F\u002F Blur — strength\u002Fquality are uniform; strengthX\u002FstrengthY split axes;\n\u002F\u002F kernelSize must be odd (5, 7, 9, ... 15); repeatEdgePixels avoids transparent edges\nconst blur = new BlurFilter({\n  strength: 4,\n  quality: 4,\n  kernelSize: 5,\n  repeatEdgePixels: false,\n});\n\n\u002F\u002F Color matrix — brightness is one of many presets. Others: tint, hue,\n\u002F\u002F contrast, saturate, desaturate, greyscale\u002Fgrayscale, blackAndWhite,\n\u002F\u002F negative, sepia, technicolor, polaroid, kodachrome, browni, vintage,\n\u002F\u002F colorTone, night, predator, lsd, reset. Direct access via\n\u002F\u002F `colorMatrix.matrix` (20-element array) and `colorMatrix.alpha` (blend\n\u002F\u002F between original and transformed).\nconst colorMatrix = new ColorMatrixFilter();\ncolorMatrix.brightness(1.5, false);\ncolorMatrix.contrast(0.5, true); \u002F\u002F multiply stacks on top of existing matrix\ncolorMatrix.alpha = 0.7; \u002F\u002F blend at 70% strength\n\n\u002F\u002F Displacement — scale is a number or PointData\nconst displacementTexture = await Assets.load(\"displacement_map.png\");\nconst displacementSprite = new Sprite(displacementTexture);\nconst displacement = new DisplacementFilter({\n  sprite: displacementSprite,\n  scale: { x: 20, y: 10 },\n});\n\n\u002F\u002F Noise — seed is an arbitrary number that determines the noise pattern; same seed reproduces the same pattern\nconst noise = new NoiseFilter({ noise: 0.5, seed: Math.random() });\n\nsprite.filters = [blur, colorMatrix];\n```\n\n### Custom filter with Filter.from()\n\nThe simplest way to create a custom filter. Only a fragment shader is needed; PixiJS provides a default vertex shader.\n\n```ts\nimport { Filter } from \"pixi.js\";\n\nconst filter = Filter.from({\n  gl: {\n    fragment: `\n            in vec2 vTextureCoord;\n            out vec4 finalColor;\n            uniform sampler2D uTexture;\n            uniform float uTime;\n\n            void main() {\n                vec2 uv = vTextureCoord;\n                uv.x += sin(uv.y * 10.0 + uTime) * 0.02;\n                finalColor = texture(uTexture, uv);\n            }\n        `,\n  },\n  resources: {\n    timeUniforms: {\n      uTime: { value: 0, type: \"f32\" },\n    },\n  },\n});\n\nsprite.filters = filter;\n\napp.ticker.add((ticker) => {\n  filter.resources.timeUniforms.uniforms.uTime += 0.04 * ticker.deltaTime;\n});\n```\n\nFor more control, construct `GlProgram`\u002F`GpuProgram` objects directly:\n\n```ts\nimport { Filter, GlProgram } from \"pixi.js\";\n\nconst glProgram = GlProgram.from({ fragment: fragmentSrc, vertex: vertexSrc });\n\nconst filter = new Filter({\n  glProgram,\n  resources: {\n    timeUniforms: {\n      uTime: { value: 0, type: \"f32\" },\n    },\n  },\n});\n```\n\nKey points:\n\n- Use `out vec4 finalColor` in fragment shaders, not `gl_FragColor` (GLSL ES 3.0).\n- Use `texture()` to sample, not `texture2D`.\n- `glProgram` for WebGL, `gpuProgram` for WebGPU. Omitting one skips that renderer.\n- Textures go in `resources`, not uniforms. The filter system auto-provides `uTexture` (the input).\n- Access uniform values via `filter.resources.{groupName}.uniforms.{name}`.\n\n### Filter options\n\n```ts\nimport { Filter, GlProgram, Rectangle } from \"pixi.js\";\n\nconst filter = new Filter({\n  glProgram: GlProgram.from({ fragment }),\n  resources: {},\n  resolution: 0.5, \u002F\u002F default 1. Lower = faster, blurrier. 'inherit' matches the render target resolution\n  padding: 10, \u002F\u002F default 0. Extra pixels for effects that extend bounds\n  antialias: \"off\", \u002F\u002F default 'off'. 'on' | 'off' | 'inherit'\n  blendMode: \"normal\", \u002F\u002F default 'normal'\n  blendRequired: false, \u002F\u002F default false. true if shader samples uBackTexture\n  clipToViewport: true, \u002F\u002F default true\n});\n\n\u002F\u002F Optimization: set known bounds to avoid per-frame measurement\ncontainer.filterArea = new Rectangle(0, 0, 800, 600);\n\n\u002F\u002F Toggle without rebuilding the filter array\nfilter.enabled = false;\n\n\u002F\u002F Share one filter instance across many display objects\nsprite1.filters = [filter];\nsprite2.filters = [filter];\n```\n\n### Community filters (pixi-filters)\n\n```ts\nimport { AdjustmentFilter } from \"pixi-filters\u002Fadjustment\";\nimport { GlowFilter } from \"pixi-filters\u002Fglow\";\n\nsprite.filters = [\n  new AdjustmentFilter({ brightness: 1.2, contrast: 1.1 }),\n  new GlowFilter({ distance: 15, outerStrength: 2 }),\n];\n```\n\nFor v8, community filters use `pixi-filters\u002F{name}` imports, not the old `@pixi\u002Ffilter-*` packages.\n\n### Advanced blend modes\n\nAdvanced blend modes (`color-burn`, `overlay`, `hard-light`, etc.) are powered by the filter system and must be imported before use. They also require `useBackBuffer: true` on WebGL; see the `pixijs-blend-modes` skill for the full list.\n\n```ts\nimport \"pixi.js\u002Fadvanced-blend-modes\";\n\nawait app.init({ useBackBuffer: true });\nsprite.blendMode = \"color-burn\";\n```\n\nAdvanced blend modes are filter-based, so they inherit `Filter.defaultOptions`, whose `resolution` defaults to `1`. On high-DPI render targets this can make a blend mode look clipped, scaled, or only partially applied. Set `Filter.defaultOptions.resolution = 'inherit'` before creating the affected objects to render at the render target resolution, at higher memory and runtime cost:\n\n```ts\nimport { Filter } from \"pixi.js\";\nimport \"pixi.js\u002Fadvanced-blend-modes\";\n\nFilter.defaultOptions.resolution = \"inherit\";\nsprite.blendMode = \"overlay\";\n```\n\n## Common Mistakes\n\n### [CRITICAL] Using old Filter constructor (vertex, fragment, uniforms)\n\nWrong:\n\n```ts\nimport { Filter } from \"pixi.js\";\n\nconst filter = new Filter(vertex, fragment, { uTime: 0 });\n```\n\nCorrect:\n\n```ts\nimport { Filter, GlProgram } from \"pixi.js\";\n\nconst filter = new Filter({\n  glProgram: GlProgram.from({ fragment, vertex }),\n  resources: {\n    timeUniforms: { uTime: { value: 0, type: \"f32\" } },\n  },\n});\n```\n\nv8 uses an options object. Shaders must be wrapped in `GlProgram.from()` or `GpuProgram.from()`. Uniforms are grouped in `resources` with explicit types. Textures are resources, not uniforms.\n\n\n### [HIGH] Using @pixi\u002Ffilter-\\* packages for v8\n\nWrong:\n\n```ts\nimport { AdjustmentFilter } from \"@pixi\u002Ffilter-adjustment\";\n```\n\nCorrect:\n\n```ts\nimport { AdjustmentFilter } from \"pixi-filters\u002Fadjustment\";\n```\n\n`@pixi\u002Ffilter-*` packages are v7 only. For v8, the community filters package restructured to `pixi-filters\u002F{name}`.\n\n\n### [HIGH] Using too many filters without containerizing\n\nEach filter application requires a framebuffer switch, bounds measurement, and render-to-texture pass. One filter on a parent container is much cheaper than the same filter on each child.\n\nWrong:\n\n```ts\nfor (const child of container.children) {\n  child.filters = [new BlurFilter({ strength: 4 })];\n}\n```\n\nCorrect:\n\n```ts\ncontainer.filters = [new BlurFilter({ strength: 4 })];\n```\n\n\n### [HIGH] Using a blendRequired filter without useBackBuffer on WebGL\n\nCustom filters and most advanced community filters that set `blendRequired: true` sample the back buffer. On WebGL that only works if the renderer was initialized with `useBackBuffer: true`; otherwise PixiJS logs a warning and the filter silently falls back:\n\n```ts\nawait app.init({ useBackBuffer: true });\n```\n\nWebGPU enables the back buffer unconditionally, so this only affects WebGL.\n\n\n### [MEDIUM] Not setting filterArea for known-size containers\n\nWithout `filterArea`, PixiJS measures the container bounds every frame via `getGlobalBounds()`, which recursively walks all children. For containers with known dimensions, set `filterArea` to avoid this cost:\n\n```ts\nimport { Rectangle } from \"pixi.js\";\n\ncontainer.filterArea = new Rectangle(0, 0, 800, 600);\ncontainer.filters = [someFilter];\n```\n\n\n## API Reference\n\n- [Filter](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Ffilters.Filter.html.md)\n- [AlphaFilter](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Ffilters.AlphaFilter.html.md)\n- [BlurFilter](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Ffilters.BlurFilter.html.md)\n- [BlurFilterPass](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Ffilters.BlurFilterPass.html.md)\n- [ColorMatrixFilter](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Ffilters.ColorMatrixFilter.html.md)\n- [DisplacementFilter](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Ffilters.DisplacementFilter.html.md)\n- [NoiseFilter](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Ffilters.NoiseFilter.html.md)\n- [FilterSystem](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Frendering.FilterSystem.html.md)\n",{"name":5,"license":15,"description":7,"disable-model-invocation":24},true,"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","06-前端与设计\u002Fpixijs-filters",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":24},[35,38,41],{"tool":36,"command":37},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill pixijs-filters",{"tool":39,"command":40},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill pixijs-filters",{"tool":42,"command":43},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill pixijs-filters","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fpixijs-filters\u002FSKILL.md",[],[47,54,59,66,73,80],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":55,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]