Skip to content

Repository files navigation

npm

Three scatter

Inspired by a GScatter (plugin for blender) in Three.js

Spread all types of objects/models into a geometry easily

Demo GIF

Installation

npm i @jaimebboyjt/three-scatter

Why to use it

Three.js already comes with MeshSurfaceSampler you can think in three-scatter as an "extension" of it. I said it in quotes because is not quite true, three-scatter the approach is different and it comes with method to help scatter your Meshes.

Use three-scatter if you:

  • Would like to scatter complex models (3D models with animations, rigging, etc)
  • Want to align your model to the surface base, easily
  • Would like to tweak in real-time (or with panels) seeds, or any property of your 3D model to scatter
  • Want to remove collisions, easily.

Docs

Check our new demos: https://three-scatter-docs.netlify.app/

Contributing

We are open to contributions, please read the contributing guide to get started.

License

MIT

Sponsors

Be the first to support this project here ☺️.

About

Spread all types of objects/models into a geometry easily. For threejs

Topics

Resources

Contributing

Stars

20 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages