Export

Download the bundle, put its files in one folder on your site, and add this where the sculpture should appear:


  
  
  

The bundle also holds LICENSES.txt, the MIT licence of three.js, which is built into particle-sculpture.js. Keep it with the other files.

For a scroll-driven (down) sculpture, give the element a height above 100vh, for example style="height: 300vh". The canvas stays pinned while the page scrolls through it.