Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

F-22 Flight Simulator

A web-based 3D flight simulator featuring an F-22 Raptor, built with Three.js. Try it out at https://chiarng.github.io/flightsim/

Features

  • Realistic 3D F-22 Raptor model
  • Physics-based flight controls
  • Washington state-inspired terrain with mountains and water
  • Seattle-like cityscape with Space Needle
  • Evergreen forest environment
  • Dynamic cloud system
  • Heads-up display (HUD) with flight data
  • Gatling gun with visual effects

Controls

  • W/S - Pitch Up/Down
  • A/D - Roll Left/Right
  • Q/E - Yaw Left/Right
  • ↑/↓ - Throttle Up/Down
  • Space - Fire Gatling Gun
  • Z - Level Aircraft (smoothly returns to level flight)

Technical Details

The simulator is built using:

  • Three.js for 3D rendering
  • Custom physics system for flight dynamics
  • Procedurally generated terrain and environment
  • Real-time control indicators

Local Development

To run the simulator locally:

  1. Clone the repository
  2. Start a local web server (e.g., python3 -m http.server 8000)
  3. Open http://localhost:8000 in your browser

License

MIT License - feel free to use and modify!

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages