Needle Engine is a web engine for high quality 3D applications with performance in mind.
Built on three.js and the glTF standard, Needle Engine delivers flexible, extensible web experiences with built-in collaboration and XR support.
🏓 Changelog • 📑 Documentation • 🧠 Sample Scenes • 💎 Showcase
🎮 Development Experience
🌐 Web & XR Ready
⚡ Performance Optimized
🎬 Animation & Effects
Powerful integrations for Unity and Blender allow artists and developers to collaborate and manage web applications inside battle-tested 3d editors. Needle Engine integrations allow you to use editor features for exporting models, author materials, animate and sequence animations, bake lightmaps and more.
Quick Start with npm:
npm install @needle-tools/engine
Or use our Editor Integrations: Follow the Getting Started Guide to download and install Needle Engine with Unity or Blender.
Explore Examples: Try our interactive samples to see what's possible ⚡
Available under commercial and educational licenses
Preview | Example | Description | Links |
---|---|---|---|
![]() |
Scrollytelling Bike Example | Timeline Animation using ScrollFollow, ViewBox and FocusRect | Project on Github |
![]() |
See-Through Walls | See-Through component sample | |
![]() |
Cursor Follow | Cursor Follow sample | |
![]() |
Animate Anything | Interactive animation system | Code on Stackblitz • three.js Example |
![]() |
Postprocessing Effects | Custom magnifier effect with post-processing | Code on Stackblitz |
![]() |
Camera Focus DIV 1 | Responsive layout with camera focus | Code on Stackblitz |
![]() |
Camera Focus DIV 2 | Click-to-move camera focus example | Code on Stackblitz |
![]() |
FastHDR Loading | 10x faster than EXR, non-blocking, 95% less GPU memory | Code on Stackblitz • Learn more |
![]() |
Scrollytelling Example | Scroll, physics and cursor interaction: a playful 3D interactive scrollytelling website | Included in Samples Package |
AR Restaurant | Interactive AR restaurant experience | Code on Github | |
Custom Loading Overlay | Wait for LODs with custom loading states | Code on Stackblitz | |
React Shopping Cart | E-commerce integration with React | Code on Stackblitz | |
👋 More examples on samples.needle.tools, docs.needle.tools and in the Needle Engine Stackblitz Collection
🌵 Needle •
Github •
Twitter •
Discord •
Forum •
Youtube
randomStartTime
needlePlugins
user config, e.g. to increase it to 5 minutes write needlePlugins(command, needleConfig, { buildPipeline: { maxWaitDuration: 300_000 } })
in your vite.config.js
.pullStrength
property which controls how tightly the object moves along the spline.<needle-engine>
element.snapToSurface
option to automatically snap the object to the surface below the cursor.raycastAllowed
property to disable raycasting on specific objects (e.g. for performance reasons or to ignore invisible helper objects)targetBounds
property which can be used to constrain the OrbitControls target within a defined area in the scene. A Object3D can be assigned to the property. The position and scale of this object will be used.needle-app.js
which encapsulates the whole website into a single web component. The needle-app.js
file will be emitted next to index.html and can be used to directly embed the website and 3D assets into another website by importing <url>/needle-app.js
and then using the <needle-app></needle-app>
web component.contains(otherObject: Object3D)
method to check if an object is a child of another object in the scene graphsharedMaterials
Gizmos.DrawWireMesh
matrix