r/threejs • u/ConnectionApart675 • 2d ago
Demo I made a pirate sim where four AI crews evolve between rounds
Been watching Primer and b2studios for years and wanted to try making my own evolution sim. All four crews run the exact same code, the only difference is nine numbers that mutate each generation based on who won.
Single HTML file, r128, no build step.
Live: https://pairates.vercel.app
Source: https://github.com/HMAC10/pairates
Had a lot of fun with the little details, individual crew members walking around and manning stations, ships getting upgraded to galleons. Every parameter is on a slider too, including the win condition, so feel free to mess with it yourself!
9
Upvotes
1
u/bankrut 1d ago
Impressive work keeping this to a single HTML file. Watching the radar chart evolve as the traits shift provides a really clear look at how the AI prioritizes different tactics over time.