JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 10
  • Score
    100M100P100Q44714F
  • License GPL-3.0-or-later

A particle effect system for Three.js

Package Exports

  • three-particle-system

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (three-particle-system) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Three Particle System

A particle effect system for Three.js

Installation

Simply install the package.

In your terminal,

npm i three-particle-system

Disclaimer

This project is still experimental. Do not use this in production!

Usage

Using the particle system can be as simple or complex as you would like.

Basic Usage

To start, create a new particle system object and provide it an object.

import ParticleSystem from 'three-particle-system';

const myObject = new THREE.Object3D();
const particles = new ParticleSystem(myObject);

particles.stop();

Options Object

The ParticleSystem constructor takes a second options argument object. You can provide the following properties: