An interactive 3D wave animation effect built with pure HTML, CSS, and Tailwind CSS. Features concentric rippling circles with synchronized up-down animations creating a mesmerizing wave pattern.
3D Waves showcases dynamic CSS animations and Tailwind utility classes:
- What it solves: Demonstrates advanced CSS animation techniques and creates visually striking interactive effects
- What makes it unique: Concentric circle design with staggered animations, responsive sizing using Tailwind viewport units (vw), and smooth up-down motion effects
- What was learned: CSS keyframe animations, animation timing/delays, Tailwind CSS custom utilities, responsive design patterns, and creating engaging visual effects
The project uses 24+ nested circles with progressive sizing and custom animation delays to create a hypnotic wave ripple effect on a black background.
- HTML5
- CSS3 (keyframe animations, transitions)
- Tailwind CSS 4 (utility classes and custom animations)
- Web browser (Chrome, Firefox, Safari, Edge)
- Code editor (optional, for modifications)
- Node.js and npm (optional, if modifying Tailwind config)
-
Clone the repo
git clone https://github.com/tumansutradhar/three-d-waves.git cd three-d-waves -
Open the site
# Simply open index.html in your browser open index.html # Or use a local server for better performance python -m http.server 8000 # Visit http://localhost:8000
-
View the animation
- The wave effect plays automatically on load
- Responsive on all screen sizes
The animation is self-contained and runs automatically once the page loads. No user interaction required to see the effect.
Customization:
- Adjust animation speed: Modify
animation-durationinstyle.css - Change colors: Replace
border-whitewith desired Tailwind color - Alter sizing: Adjust the
w-[Xvw]andh-[Xvw]classes in HTML - Wave intensity: Change timing functions (e.g., ease-in-out, linear)
Example customization:
<!-- Change border color -->
<div class="border-blue-400"></div>
<!-- Adjust animation speed -->
@keyframes upDown {
0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-20px); /* increase value for bigger wave */ }
}- 24 concentric animated circles
- Smooth up-down wave motion with synchronized timing
- Responsive sizing using viewport units (vw)
- Black background with white border circles
- CSS keyframe animations for smooth motion
- Tailwind CSS utility-first styling
- Footer copyright attribution
- Mobile-friendly and responsive
- No JavaScript required (pure CSS animation)
- Customizable animation timing and colors
three-d-waves/
├── index.html # Main HTML with circles markup
├── assets/
│ ├── style.css # Compiled Tailwind and custom animations
│ └── favicon.svg
├── LICENSE.md
└── README.md
- Basic wave animation
- Responsive design
- Customizable colors and timing
- Interactive controls (play/pause)
- Color theme switcher
- Multiple animation patterns
- Sound synchronization
- Performance optimizations for older browsers
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Distributed under the MIT License. See LICENSE.md for more information.
Tuman Sutradhar
- GitHub: @tumansutradhar
- Email: connect.tuman@gmail.com
- LinkedIn: Tuman Sutradhar
Project Link: https://github.com/tumansutradhar/three-d-waves
- Tailwind CSS framework and documentation
- CSS animation best practices and tutorials
- Web design inspiration and visual effects