i wanted to make a flight simulator
the motivations for this are that i enjoyed my controls course (SESA3030 we love you sean), and i liked trying to make a control system in kRPC and kerbal space program, but KSP uses a lot of computer power to make the fancy graphics so i don't really want to do that, so i want to make my own flight simulator to make the controllers and test them out in an environment i have more control over.
I also just thorught it would be a fun project to try, ive done 3 years of aerospace and plenty of coding projects, why not try and do this?
just to make it extra fun, i'm not doing any maths library for the vector maths. Thats all me doing my best. That also goes for the rendering of the simulator, there are loads of visual artifacts because i do not know what im doing.
at time of writing, the control system of the plane is set up so that pressing the elevator up and down keys directly controls the pitch angle of the aircraft, so there are no dynamics :(
this is a deliberate choice, i don't want to run out of motivation on this project so i am going for the lowest-effort way of doing it that still gets a final program running.
All the code is available on my github(which has less frequent but better updates) and my website.
I still want to add a more interesting camera system, with features like a HUD and a way to draw any image onto the screen.
The HUD is wayyyyy easier to do, i already have the pitch and yaw information in the camera code, to draw any image to the screen will need me to do a ton of vector maths, because as i said before, theres no maths libraries, theres just me.
Another concern i have with drawing any image to the screen is that it will probably degrade performance somehow. I'm testing on a M3 computer, but my beloved (whos website is here) has said that their laptop is having performance issues.
so overall there is still a lot of work to do (as of 2025-12-01), the plan is to improve the physics first because i know that and it shouldnt be too hard. then maybe i'll look at my vector maths library and how to make it actually work.