Skip to content

Commit f84c08d

Browse files
update readme
1 parent 1449bdf commit f84c08d

File tree

1 file changed

+92
-0
lines changed

1 file changed

+92
-0
lines changed

README.md

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
# Hogwarts Stopwatch ⚡️
2+
3+
<div align="center">
4+
<h2>
5+
👉 <a href="https://hogwarts-stop-watch.vercel.app/">Live Demo</a> 👈
6+
</h2>
7+
</div>
8+
9+
<div align="center">
10+
<img src="./assets/hogwarts-stopwatch.gif" alt="Hogwarts Stopwatch Demo" width="800"/>
11+
</div>
12+
13+
## 📌 About The Project
14+
15+
A magical Harry Potter themed stopwatch application with flying animations and themed music. Perfect for timing your potion brewing sessions!
16+
17+
### ✨ Key Features
18+
19+
- ⏱️ Precise stopwatch with minutes, seconds, and milliseconds
20+
- 🎵 Harry Potter theme music during countdown
21+
- 🧙‍♂️ Animated flying wizard
22+
- 🏰 Hogwarts-themed UI elements
23+
- 📱 Fully responsive design
24+
- 🎨 Custom animations and visual effects
25+
26+
### 🛠️ Built With
27+
28+
- HTML5
29+
- CSS3
30+
- JavaScript
31+
- Custom Audio API Integration
32+
- CSS Animations
33+
34+
## 🪄 Core Functionality
35+
36+
- **Start Timer**: Initiates the stopwatch and plays theme music
37+
- **Stop Timer**: Pauses both the stopwatch and music
38+
- **Reset Timer**: Returns stopwatch to zero and resets music
39+
- **Continuous Display**: Updates every 10 milliseconds for precise timing
40+
41+
## 💫 Animation Details
42+
43+
### Wizard Animation
44+
```css
45+
.wizard {
46+
animation: fly 8s infinite linear;
47+
}
48+
```
49+
- Flying path across the screen
50+
- Continuous movement pattern
51+
- Responsive scaling
52+
53+
### Floating Name Animation
54+
```css
55+
.floating-name {
56+
animation: floatVertical 12s infinite ease-in-out;
57+
}
58+
```
59+
- Vertical floating motion
60+
- Smooth easing effects
61+
- Infinite loop
62+
63+
## 📱 Responsive Design
64+
65+
- Adaptive timer display size
66+
- Flexible button layouts
67+
- Scaled animations for mobile devices
68+
- Background image optimization
69+
70+
## 🎯 Technical Implementation
71+
72+
### Timer Logic
73+
- Uses `Date.now()` for precise timing
74+
- `setInterval` for continuous updates
75+
- Separate tracking for minutes, seconds, and milliseconds
76+
77+
### Audio Integration
78+
- Background music loop functionality
79+
- Synchronized with timer controls
80+
- Automatic reset on stop
81+
82+
## 📫 Contact
83+
84+
Caner Yesiltas - caner_yesiltas1@gmail.com
85+
86+
Project Link: [https://hogwarts-stop-watch.vercel.app/](https://hogwarts-stop-watch.vercel.app/)
87+
88+
---
89+
90+
<div align="center">
91+
Made with ⚡️ by Caner Yesiltas
92+
</div>

0 commit comments

Comments
 (0)