Today we are releasing Threlte 8, a significant milestone that marks a leap forward in performance, flexibility, and developer experience. This releas

Threlte

submited by
Style Pass
2025-01-24 14:30:07

Today we are releasing Threlte 8, a significant milestone that marks a leap forward in performance, flexibility, and developer experience. This release has been cooking for the last 6 months. We’re super excited about the potential it unlocks for the next chapter of 3D graphics on the web.

The new features of Svelte 5 are groundbreaking for us as developers and embracing it was also an opportunity to refine the existing APIs. Furthermore, a lot has been happening within the world of Three.js. We’ve carved the path for Threlte to take advantage of those developments too.

The universal <T> component has been reduced in complexity all while adding features and flexibility that were just not possible before.

We’ve added a lot of new things to play around with in @threlte/extras including: <AsciiRenderer>, <CubeCamera>, <MeshDiscardMaterial>, <RadialGradientTexture>, <LinearGradientTexture>, useViewport, <HUD>, <Resize>, <meshBounds>, <Detailed> and <View>.

Plugins such as interactivity now expose types which can be added to your ambient type definitions for the <T> component to pick up. Event handlers and custom <T> component objects are now type-safe.

Leave a Comment
Related Posts