This project is a dynamic canvas animation where colorful dots move in a DNA-like structure and interact with the mouse pointer, creating an engaging visual effect.
- Responsive Canvas: The canvas resizes to fit the window.
- Mouse Interaction: Dots are attracted to the mouse pointer and change size and color when near the mouse.
- Smooth Animation: The dots move in a smooth, sinusoidal motion.
- Media Assets: Includes a video for demonstration purposes.
To run this project, you need a modern web browser with JavaScript enabled.
- Clone the repository or download the files.
- Ensure the
assets
folder containsvideo.mp4
. - Open the
index.html
file in your browser.
- Move the mouse around the canvas to see the dots interact with the pointer.
- Resize the window to see the canvas adjust accordingly.
assets/video.mp4
: A video demonstrating the animation.