π Live Demo π
A magical Harry Potter themed stopwatch application with flying animations and themed music. Perfect for timing your potion brewing sessions!
- β±οΈ Precise stopwatch with minutes, seconds, and milliseconds
- π΅ Harry Potter theme music during countdown
- π§ββοΈ Animated flying wizard
- π° Hogwarts-themed UI elements
- π± Fully responsive design
- π¨ Custom animations and visual effects
- HTML5
- CSS3
- JavaScript
- Custom Audio API Integration
- CSS Animations
- Start Timer: Initiates the stopwatch and plays theme music
- Stop Timer: Pauses both the stopwatch and music
- Reset Timer: Returns stopwatch to zero and resets music
- Continuous Display: Updates every 10 milliseconds for precise timing
.wizard {
animation: fly 8s infinite linear;
}
- Flying path across the screen
- Continuous movement pattern
- Responsive scaling
.floating-name {
animation: floatVertical 12s infinite ease-in-out;
}
- Vertical floating motion
- Smooth easing effects
- Infinite loop
- Adaptive timer display size
- Flexible button layouts
- Scaled animations for mobile devices
- Background image optimization
- Uses
Date.now()
for precise timing setInterval
for continuous updates- Separate tracking for minutes, seconds, and milliseconds
- Background music loop functionality
- Synchronized with timer controls
- Automatic reset on stop
Caner Yesiltas - caner_yesiltas1@gmail.com
Project Link: https://hogwarts-stop-watch.vercel.app/
Made with β‘οΈ by Caner Yesiltas