npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

pixi-particle-system

v1.2.0

Published

A modern, flexible particle system for PixiJS.

Readme

PixiJS Particle System

A modern, flexible particle system for PixiJS - a spiritual successor to Particle Emitter, but rebuilt with a clean TypeScript-first architecture and more expressive API.

Features

  • Built for PixiJS, provides seamless integration with V8's ParticleContainer and Particle objects.
  • Provides strong typing, great IntelliSense and predictable API.
  • Behavior orientated design allows for pluggable behaviors for custom effects.
  • Flexible yet simple API, start small and scale up to advanced usage.
  • Optimized for real-time effects.
  • Comes with built-in behaviors to get started immediately:
    • AlphaBehavior
    • ColorBehavior
    • MovementBehavior
    • RotationBehavior
    • ScaleBehavior
    • SpawnBehavior
    • TextureBehavior

Getting Started

Add the library to existing PixiJS project:

npm i pixi-particle-system

Usage

Here's the minimum required to get particles on the screen:

import { Emitter } from "pixi-particle-system";
import { ParticleContainer } from "pixi.js";

// Create a particle container and add it to your app/stage
const container = new ParticleContainer();
app.stage.addChild(container);

// Create an emitter (the "brain" of the particle system)
const emitter = new Emitter(container);

// Start emitting particles
emitter.play();

Emitter automatically attaches itself to the PixiJS shared ticker, so you just need to tell it when to start/stop and everything else is handled for you!

By default particles will spawn in a single point, and they are using a 1x1 white texture (Texture.WHITE) - depending on your setup, you might need to either use a custom texture, or increase scale using ScaleBehavior to see them better.

Contributing

Contributions are what make the open source community an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this project better, please fork the repo and create a pull request. You can also simply open an issue with the relevant tag. Don't forget to give the project a star! Thank you! ❤️

See CONTRIBUTING for more information about contributions.

Releases

Visit RELEASES to see previous releases, changelog, and the latest release.

License

Distributed under the MIT License. See LICENSE for more information.

Acknowledgements

Thank you to the PixiJS team, and it's contributors, for making a great web graphics framework. Thank you to CloudKid, and all of the contributors, for creating the original particle-emitter package - this one wouldn't exist without it.