HomeHomeHomeAboutAboutAboutWorkWorkWorkServicesServicesServicesContactContactContact ↗
HomeHomeHome
AboutAboutAbout
WorkWorkWork
ServicesServicesServices
ContactContactContact ↗
Palette: white and black

Mohamad Ajaz

Software engineer.
Thoughtful design. Lasting impact.

Get in touch

  • [email protected][email protected][email protected]
  • +971 58 587 1892+971 58 587 1892+971 58 587 1892

Explore

  • HomeHomeHome
  • AboutAboutAbout
  • WorkWorkWork
  • ServicesServicesServices
  • ContactContactContact
  • FAQsFAQsFAQs

Elsewhere

  • GithubGithubGithub ↗
  • LinkedInLinkedInLinkedIn ↗
  • InstagramInstagramInstagram ↗
  • RésuméRésuméRésumé ↓
© 2026 Mohamad Ajaz. Made with divine intellect.
Privacy policyPrivacy policyPrivacy policy

Game Development & simulation

2026

Drone Sim — Flight Simulator in C

A flight simulator written from scratch in C, because the maths was the point. Dummy deck — replace with the real one-liner.

Drone Sim game open on a laptop
Placeholder caption — replace with an in-game frame.
Role
Game development
Timeline
8 weeks — 2026
Stack
C, OpenGL, GLFW
Team
Solo

There is a particular kind of satisfaction in building something you could have downloaded in thirty seconds. Drone Sim is a quadcopter flight simulator written in C with OpenGL, no engine, no physics library, and no asset pipeline worth the name. The goal was to understand every line between the keyboard and the pixels.

It started as a way to learn how rotations actually compose — not the matrix multiplication, which is easy, but the order of operations and the frame of reference each one belongs to. Flight is a good teacher because getting it wrong is immediately visible.

Constraints

Rules I set

No third-party maths library, no scene graph, no model loader. One C file per system, a fixed timestep, and a frame budget of 16 milliseconds measured with a stopwatch before I trusted a profiler.

The build

The simulation runs at a fixed 120Hz and renders as fast as the display allows, with an accumulator in between. Each rotor contributes thrust along its own axis; those four forces, plus gravity and drag, integrate into linear and angular acceleration. The feel comes almost entirely from tuning the drag and inertia terms, which is a polite way of saying I spent two weeks changing numbers.

  • Quaternion orientation with normalisation after every integration step.
  • A spring-damper camera that lags the drone instead of following it rigidly.
  • Procedural terrain from layered noise, generated once at load.
  • A debug overlay showing thrust, velocity and frame time — the real design tool.
Drone Sim game open on a laptop
Placeholder — replace with a gameplay frame or the debug overlay.

Outcome

The first version flew like a brick with a grudge. The tenth felt like a drone.

Placeholder attribution — remove or replace.

Dummy closing paragraph — replace with what the project taught you about real-time systems and what you would add next (wind, waypoints, a proper level editor).

Next project

NextMovie — Movie discovery↗
Previous: MumbleJumble — Speech Disfluency Model All workAll workAll workStart a projectStart a projectStart a project ↗