@m4xdev/particle
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

Particle 3D library

A simple light weight particle library. All utilities are immutable and return a new particle object literal.

Example

const stationaryParticle = Particle3D.create();

const gravityForce = Vector3.create(0,-1);

const movedParticle = Particle3D.applyForce(stationaryParticle, gravityForce);
// movedParticle === {position: {x:0, y:-1, z:0}, velocity: {x:0, y:-0, z:0}}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.4
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.4
    0
  • 0.0.3
    0
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i @m4xdev/particle

Weekly Downloads

0

Version

0.0.4

License

ISC

Unpacked Size

7.75 kB

Total Files

6

Last publish

Collaborators

  • maxdevos49