0.1.0 • Published 2 years ago
physom-particles v0.1.0
physom-particles
A simple particle lib for
physom
.
Example
// import PP from 'physom-particles';
// const PP = require('physom-particles');
const particleManager = new PP.ParticleManager();
rootNode.on('click', (event) => {
const particleGroup = particleManager.createParticleGroup();
particleGroup.offset.set(
event.data.x,
event.data.y,
);
rootNode.appendChild(particleGroup);
});
Links
0.1.0
2 years ago