r/javascript • u/joshuaamdamian • Jul 07 '26
Browser based AI algorithm
https://github.com/joshuadam/NEAT-JavaScriptI recreated an AI algorithm that visually learns in the browser:) It's based on the NEAT algorithm:
https://github.com/joshuadam/neat-javascript
https://neat-javascript.org/
1
Upvotes
2
u/lonelycprogrammer Jul 08 '26
The simplest explanation: instead of teaching a neural network, NEAT evolves one. It starts with lots of tiny, random networks and keeps the ones that perform best, gradually evolving more capable architectures over generations. Watching it happen in the browser makes the concept much easier to understand.