Animation added

This commit is contained in:
2025-11-20 23:16:04 -05:00
parent 6d75c8e94e
commit 9197e464a5
8 changed files with 526 additions and 15 deletions

View File

@@ -29,6 +29,7 @@ Built with **Neo-Brutalism** design aesthetics featuring:
- Hard drop shadows
- Chunky typography (Space Grotesk font)
- Asymmetric layouts
- **Animated solving** with pause/stop controls and adjustable speed
### 📊 Analysis Tools
- Dead end counting and percentage
@@ -103,11 +104,17 @@ The web interface provides 9 main operations:
3. **Download Image** - Save maze as PNG file
4. **Save to File** - Persist maze as JSON
5. **Load from File** - Restore saved maze
6. **Solve (DFS)** - Find path using Depth-First Search
7. **Solve (BFS)** - Find shortest path using Breadth-First Search
6. **Solve (DFS)** - Find path using Depth-First Search with animated visualization
7. **Solve (BFS)** - Find shortest path using Breadth-First Search with animated visualization
8. **Analyze** - Compute maze statistics and metrics
9. **Benchmark** - Compare algorithm performance
#### Animation Controls
When solving a maze, you can:
- **Pause/Resume** - Pause the animation and resume where you left off
- **Stop** - Stop the animation and show the final result
- **Adjust Speed** - Use the slider to control animation speed (slow to fast)
### API Endpoints
#### Generate Maze