UNPKG

threejs-animations

Version:

A package for three.js light and transformations animations

34 lines (20 loc) 1.15 kB
# Three.js Animation Extension This library provides powerful tools for working with 3D graphics using Three.js. It is designed for creating animations for lights and objects, as well as implementing interactive elements within 3D scenes. ## Features - **Light Animation**: Control lighting in the scene using various types of light sources. - **Object Animation**: Implement smooth animations for objects, including movement, rotation, and scaling. - **Interactivity**: - Click Handling: Process mouse click events for interacting with objects in the scene. - Hover Effects: Change the appearance of objects when the mouse hovers over them. - **Transformations**: Easily manage positions, rotations, and scales of objects, allowing for dynamic scene creation. ## Installation Instructions for installing and setting up the project. ## Usage Example Sample code demonstrating the core functionalities of the library. ## Documentation Detailed documentation and usage examples for all library functions. ## Installation To install the extension, simply use npm: ```bash npm i threejs-animations ```