marktbaldridge
Member
Over holiday break I spent a lot of time "vibe coding" an RC flight simulator that runs in the browser, built on JavaScript and Three.js.
You can check out the demo here:
https://markbaldridge.com/jsrc/
https://github.com/marktbaldridge/jsrc
This is a WORK IN PROGRESS. I wouldn't even call it a v0.1 yet. You might quickly recognize the model and graphics. I intend to produce my own model and scenery. However, I do intend to keep compatibility with ClearView into the future.
Current Features:
Goals:
I am just one guy working in "project management" mode, getting various LLMs (AI) to do the "heavy lifting" of coding.
What do you all think? Do you want me to keep working on this project?
You can check out the demo here:
https://markbaldridge.com/jsrc/
https://github.com/marktbaldridge/jsrc
This is a WORK IN PROGRESS. I wouldn't even call it a v0.1 yet. You might quickly recognize the model and graphics. I intend to produce my own model and scenery. However, I do intend to keep compatibility with ClearView into the future.
Current Features:
- Loads a ClearView model and landscape.
- Gets control input from USB game controller or keyboard.
- Implements two distinct physics reference frames, "World" and "Body", and translates motion and physics between them.
- Code uses all real-world metric units
- Fixed-timestep simulation that is interpolated to graphics framerate
- Double-integration from acceleration vectors to velocity vectors to location vectors.
- Right now, the model just behaves mostly like a rocket with a maximum speed in a gravity-free, air-free environment. Again, work-in-progress.
- Collision detection
- Gravity
- "Real" Aerodynamics
- "Real" ground-handling physics (like sprung articulating landing gear)
- Sound effects
- Model/Scenery Selection
- There are some bugs "finding" the game controller for the first time.
- Light/Shadows
- Camera Zoom
- Model Reset
Goals:
- Be a viable way to learn basics of RC flying.
- Realistic enough physics to translate to real-world flying of models.
- Mostly focusing on airplanes right now.
- Cross-platform
- Free & Open Source
I am just one guy working in "project management" mode, getting various LLMs (AI) to do the "heavy lifting" of coding.
What do you all think? Do you want me to keep working on this project?
Last edited: