This flight simulator was designed as part of the course CS 440 Computer Graphics at Habib University, Karachi. The simulator is designed to be a simple flight simulator with a few controls and a simple environment. The simulator is designed using WebGL and JavaScript.
The simulator has the following controls:
The simulator has three viewing models:
The simulator has two shaders:
The terrain is generated using a height map. The height map is a 2D array of values between 0 and 1. The simulator uses the height map to generate a terrain. Perlin noise is used to generate the height map.
Clone the repository and run the following command in the root directory of the repository:
python -m http.server
Then open the following URL in your browser: http://localhost:8000/simulator.html
Following are some screenshots of the simulator: