Moire Waves
Interference pattern created with rotating radial gradients.
Main Features of Moire Waves
How to Use Moire Waves in Next.js
Installation Guide for Moire Waves
Props
Customize the component with these props
| Property | Type | Default | Description |
|---|---|---|---|
backgroundColor | string | #171717 | Background color |
waveCount | number | 3 | Number of waves |
borderColor | string | rgba(255, 255, 255, 0.2) | Border color |
borderWidth | string | 1px | Border width |
borderRadius | string | 40% | Border radius |
gradientFrom | string | transparent | Gradient start color |
gradientTo | string | rgba(255,255,255,0.05) | Gradient end color |
gradientSpacing | string | 10px | Gradient spacing |
baseDuration | number | 30 | Base animation duration |
durationIncrement | number | 5 | Duration increment per wave |
scaleRange | number[] | [1, 1.1, 1] | Scale animation range |
className | string | Additional CSS classes |
Related Components
Interstellar Fluid Hero
Interactive fluid simulation creating cosmic nebula effects with mouse interaction. Deep space aesthetic with animated gas clouds and star trails.
Interstellar Background Hero
Warp tunnel effect simulating high-velocity travel through nebular clusters. Procedural WebGL engine with mouse-responsive space distortion.
Liquid Chrome Hero
Procedural simulation of molten chrome alloys with velocity-based distortion. Interactive liquid metal surface with specular highlights.
When to Use
Best Practices
Why This Component Matters in Modern UI Development
Frequently Asked Questions
QWhat is a Moire pattern?
It is an interference pattern that appears when two or more repetitive patterns (like these radial gradients) are overlaid and moved slightly relative to each other.
QIs the movement too distracting?
The animation is designed to be slow and hypnotic (`baseDuration` of 30 seconds). You can further slow it down to make it a very subtle background 'breathing' effect.
QCan I use it on mobile?
Yes, it uses lightweight CSS animations that are very battery-efficient on mobile devices while maintaining the high-fidelity interference pattern.
