AI Driving Simulation

Best Car
Generation: 0
Alive: 0/0
Max Fitness: 0

Simulation Controls

AI Settings

100
10%

Performance

FPS: 0
Generation Time: 0ms
Best Progress:

How It Works

This simulation demonstrates how AI can learn to drive through randomly generated courses using a genetic algorithm.

Each time you click "New Track", the course layout and checkpoint locations are randomized. This forces the AI to develop general driving skills rather than memorizing a specific track.

Key components:

  • Random Tracks: Procedurally generated with varying complexity
  • Sensors: 5 distance sensors (front, left, right, front-left, front-right)
  • Neural Network: 5 inputs, 1 hidden layer (6 neurons), 2 outputs (left/right)
  • Fitness: Based on distance traveled and checkpoints reached
  • Mutation: Random changes to keep diversity

Watch as the AI learns to navigate completely new tracks!

Made with DeepSite LogoDeepSite - 🧬 Remix