Skip to content
On this page

Drie

Drie is a Vue 3 component library that allows developers to add 3D rendering to their web applications using the three.js library. It's written in TypeScript and uses the Composition API.

Drie allows for an intuitive and declarative approach to building complex 3D scenes and integrating them into existing and new Vue projects. As a result, Drie aims to be the go-to choice for building 3D web applications with Vue and three.js.

To start using Drie, see the Getting started page.

Example

Use mouse or touch to rotate the scene. This example illustrates capabilities of Drie.

Features

Drie implements components for the common three.js classes. Some additional features not directly implemented in three.js are available as well.

Notable features include:

  • Auto resizing of WebGL canvas (including PerspectiveCamera aspect ratio update)
  • FPS Limiter
  • Raycasting with mouse events
  • Simple usage of geometry utilities (see EdgesGeometry or WireframeGeometry)
  • Simple geometries (e.g., BoxGeometry) have reactive properties. Drie handles regeneration of the geometry internally.

Authors

Released under the MIT License.