Basic steps:
- On the particles.js site, click Download current config (json)
- Drag the resulting
particlesjs-config.json
file into your Hype document’s resources library - On that same site, hit download to get the particles.js master.zip file
- Unzip, and drag the
particles.min.js
file into your Hype document’s resources library - Create a Rectangle element and give it a Unique Element ID of
particles-js
- Add an On Scene Load handler to Run Javascript… and use this code:
particlesJS.load('particles-js', '${resourcesFolderName}/particlesjs-config.json', function() {
console.log('callback - particles.js config loaded');
});
Particles.hype.zip (21.6 KB)