- Smooth and realistic lighting transitions
- Adjustable animation speed and intensity
- Seamless integration into any web project
- Cross-browser compatibility for a wide audience reach
- Easy-to-use API for quick implementation
Getting Started
- Include the lamp-animation.css and lamp-animation.js files in your project.
- Create an HTML element for the lamp animation:
- Initialize the animation in your JavaScript:
const lamp = new LampAnimation('lamp'); lamp.start();