Data used
- Randomly generated synthetic traffic.
Project case study
Fleet of neural-network cars that learns to drive through neuroevolution, on Canvas in plain JavaScript.

Teaching a car to drive without labelled data needs a way to select good behaviour.
A small network alone often crashes in traffic.
An honest study on a course's base, with its own safety, fitness and persistence layers.
Full case details, collapsed for optional reading.
Simulation where a fleet of cars with small neural networks learns to drive in traffic through neuroevolution.
The base comes from Radu Mariescu-Istodor's Self-driving car – No libraries course: car, road, ray sensors and neural network in plain JavaScript.
On top of it, this project adds a deterministic safety layer, a fitness function with penalties, training presets and persistence of the best brain.
The safety layer reads the real traffic positions and overrides the network when blocked, so driving is largely rule-based.
Plain JavaScript with Canvas 2D, a PWA and an optional Node backend with tests; published as a static site.
Technical architecture
Fleet of neural-network cars that learns to drive through neuroevolution, on Canvas in plain JavaScript.
Developed by Matheus Siqueira on the base of Radu Mariescu-Istodor's Self-driving car – No libraries course - https://www.matheusdev.tech
Next.js BI dashboard comparing Google Ads and Meta Ads on simulated data: KPIs, funnel and ROAS.
View full case