Skip to content

eburlingame/JSPFD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSPFD

JSPFD is a mockup of an aircraft Primary Flight Display written in Javascript on the HTML5 Canvas.

Overview

The display does not simulate the display of any particular aircraft, but rather one that is similar to many light aircraft flying today. The project is designed to have modular guages and elements that can be moved and configured around the panel.

Dependencies

  • JQuery 1.11.3 (in repo): For simplier AJAX calls
  • chrisveness/geodesy (in repo): For latitude/longitude calculations

Mockup

Mockup

Included in the /mockup folder is a vector graphics mockup of the display. The JS implementation is close, but not the same as the mockup template.

Structure

Guages

Guages are individual elements that can be drawn. All of them require the canvas 2D context (ctx) to be passed in, and a location object that includes width, height, x, y in pixels.

Currently implemented are:

  • Airspeed tape and ticker
  • Altitude tape and ticker
  • Vertical speed gauge
  • Horizontal situation indicator
  • Flight profile display

Terrain Data

The terrain data for the profile display is loaded via the USGS's Elevation Point Query Service which loads an indidivual elevation given a latitude and longitude.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published