@patricksurry/g3
Version:
A flexible Javascript framework for building steam gauge instrument panels that display live external metrics from flight (or other) simulators like XPlane or MS FS2020
26 lines (25 loc) • 1.21 kB
TypeScript
import * as d3 from 'd3';
import type { GaugeComponent } from '../types';
export declare const headingFormat: (v: number) => string | number, deviationScale: d3.ScaleLinear<number, number, never>;
/**
* Three-pointer barometric altimeter (hundreds, thousands, and ten-thousands of feet)
* with a self-indicating Kollsman pressure window (hPa) and low-altitude striped warning sector.
*/
export declare function altitudeGeneric(): GaugeComponent;
/**
* Artificial horizon / attitude indicator combining a circular self-indicating roll dial
* with a clipped linear self-indicating pitch scale.
*/
export declare function attitudeGeneric(): GaugeComponent;
/**
* Directional gyro / heading indicator with a rotating 360° compass card and fixed aircraft reference symbol.
*/
export declare function headingGeneric(): GaugeComponent;
/**
* Vertical speed indicator (VSI) measuring rate of climb or descent (±2,000 ft/min) with clamped pointer stops.
*/
export declare function VSIGeneric(): GaugeComponent;
/**
* Turn coordinator combining a miniature aircraft turn-rate pointer (deg/s) with an inclinometer slip/skid ball tube.
*/
export declare function turnCoordinatorGeneric(): GaugeComponent;