đŽ Manual Controls
Arrow Keys: Drive the car manually
â: Accelerate
â: Brake/Reverse
â/â: Steer left/right
đ§ AI Training
Start Training: Click the brain icon (đ§ ) to let AI cars learn
How it Works: Uses genetic algorithm with neural networks. Cars evolve over generations to find the optimal racing strategy.
Auto-Stop: Training automatically stops when multiple cars master the track (configurable in settings)
đ Running Models
Test Best Model: Click trophy icon (đ) to watch the best AI drive
Save Model: Download trained models with the save icon (đž)
Track Selection: Train different models on 5 difficulty levels
âī¸ Settings
Population Size: More cars = better learning but slower
Mutation Rate: Controls genetic variation (0.05-0.20 recommended)
Simulation Speed: Adjust visual pacing during training
Render Interval: Skip generations for faster training
đī¸ View Toggle
Toggle View: Show/hide sensor rays and slow down training for detailed observation
đ§ Neural Network Visualization
View the AI Brain: Click the đ§ đī¸ button in the header to see how the AI thinks in real-time
What You'll See:
- Input neurons showing sensor readings and speed
- Hidden layers processing the information
- Output neurons controlling steering and throttle
- Connection weights (green = positive, red = negative)
- Live activation values as the AI makes decisions
During Training: Shows the leader car's brain
During Autopilot: Shows the running model's brain