angular-three-soba
provides a comprehensive set of utilities and abstractions for building 3D applications with Angular Three. It offers components and helpers for various aspects of your projects, including cameras, controls, loaders, materials, shaders, and more. These components are ported from the popular React Three Fiber drei
library, making it easier for developers familiar with drei
to leverage its functionality within the Angular ecosystem.
npm install angular-three-soba three-stdlib
# yarn add angular-three-soba three-stdlib
# pnpm add angular-three-soba three-stdlib
There are more peer dependencies that the consumers might need to install separately based on the secondary entry points that they pull in. Check the secondary entry points documentation for more information.
angular-three-soba
is organized into multiple secondary entry points, each focusing on a specific area of functionality. This modular structure allows you to import only the components you need, keeping your project lean and efficient.
Provides abstract components and patterns for building reusable and composable 3D elements in Angular Three.
Read more about angular-three-soba/abstractions
Offers a variety of camera components, including specialized cameras like the CubeCamera
, OrthographicCamera
, and PerspectiveCamera
, as well as helper components for camera controls.
Read more about angular-three-soba/cameras
Includes components for user interaction and camera manipulation, such as the OrbitControls
, PointerLockControls
, and TransformControls
.
Read more about angular-three-soba/controls
Provides loaders for different types of 3D assets, including GLTF, texture, cube texture, HDR, and more.
Read more about angular-three-soba/loaders
Offers a collection of materials with advanced features, such as MeshReflectorMaterial
, PhysicalMaterial
, ShaderMaterial
, and NormalMaterial
.
Read more about angular-three-soba/materials
Contains miscellaneous components for various tasks, like the Stats
component for displaying performance statistics, the Shadow
component for rendering shadows, and the Text
component for adding 3D text.
Read more about angular-three-soba/misc
Includes shader components and utilities for creating custom shaders and post-processing effects.
Read more about angular-three-soba/shaders
Provides helpful components for staging and managing 3D scenes, such as the Environment
component for setting up environment lighting, the Stage
component for creating a basic stage setup, and the PresentationControls
component for interactive scene presentations.