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

@pixi/filter-fxaa

Package Overview
Dependencies
Maintainers
3
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pixi/filter-fxaa

Filter for fast approximate anti-aliasing

  • 5.1.6
  • latest-5.1.x
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
135K
increased by8.94%
Maintainers
3
Weekly downloads
 
Created

What is @pixi/filter-fxaa?

@pixi/filter-fxaa is a filter for the PixiJS library that applies Fast Approximate Anti-Aliasing (FXAA) to smooth out the edges of graphics, providing a cleaner and more visually appealing rendering.

What are @pixi/filter-fxaa's main functionalities?

Apply FXAA Filter

This feature allows you to apply the FXAA filter to a sprite in a PixiJS application. The code sample demonstrates creating a PixiJS application, adding a sprite, and applying the FXAA filter to smooth out the sprite's edges.

const app = new PIXI.Application();
document.body.appendChild(app.view);

const sprite = PIXI.Sprite.from('path/to/image.png');
app.stage.addChild(sprite);

const fxaaFilter = new PIXI.filters.FXAAFilter();
sprite.filters = [fxaaFilter];

Other packages similar to @pixi/filter-fxaa

FAQs

Package last updated on 13 Feb 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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