I was recently asked by my previous professor to make a revision to the "airport simulator" port that I posted earlier here.
The difference is that there's now a small overlay on the top left corner with slider controls as follows:
- Arrival probability: The probability that an airplane will be added to the "landing" queue per second
- Departure probability: The probability that an airplane will be added to the "takeoff" queue per second
- Duration: The amount of time that the simulation will run before pausing in seconds
If you don't see anything in the frame above, then either your browser doesn't support WebGL, or your graphics driver is not sufficient for initializing a WebGL context.
The source code is available on GitHub.
The new overlay is just an "absolute" positioned DIV, while the sliders and buttons use jQuery-UI along with jQuery for control code.
See my older post for more information.