three-exploded-view

Read the API

Take any model apart

A small open-source library for Three.js. Tag the parts, take them apart with staggered motion, pick one, and view it alone with everything else faded.

Parts

    How it works

      The whole API

      Options

      OptionDefaultWhat it does

      Use it

      It isn't on npm yet. When it is, this is the install:

      npm install three-exploded-view three

      Until then, run npm pack in the source folder and install the file it makes. It works with Three.js 0.170 and up, is MIT licensed, has no other dependencies, and comes with TypeScript types.

      It draws nothing on its own and runs no loop of its own, so it fits into whatever render loop you have, and update() tells you when to stop drawing. The idea came from a mechanical calculator built for this portfolio.

      A render of the whole desk fan taken apart along one line. A render of the fan apart, with its blades highlighted. A render of the fan's windings viewed alone, with the rest of the fan faded behind them.