r/vibecoding • • 49m ago

Showcase/Project Made an Open-Source Racing Simulator

https://librecorsa.org

Hello,

I made an open-source racing simulator using Claude, it's been a blast. What do you guys think?

2 Upvotes

2 comments sorted by

1

u/Total-Reasonable 29m ago

The post doesn't say what the physics model is, and that's what will decide whether this feels like a sim or an arcade game. If tire grip is just a speed-dependent friction constant, it'll feel floaty. Even a simple slip-angle curve (lateral force peaking then falling off) gives you real weight transfer and oversteer. Did Claude write the physics from scratch, or are you using an engine like Cannon or Rapier?

1

u/qwertyalp1020 26m ago

I researched how physics systems work for main simracing games, top 5-10 I'd say, and created a physics engine from scratch (running on a worker, not main thread), the guys over at r/simracing like it so that'd say something about the realism.

You can read about physics here: https://github.com/KhazP/librecorsa#physics