Re:Show HN: Flight Instruments in Snap SVG and JavaScript
by ericpauley on Monday May 11, 2020 @08:02PM
(#23148986)
Looks like the site is demoing the altimeter reading changing as the setting is changed. Note the altitude is changing properly with respect to altimeter setting.
Re:Show HN: Flight Instruments in Snap SVG and JavaScript
by duncanmeech on Tuesday May 12, 2020 @09:04AM
(#23153507)
Correct! If you play with the source on codesandbox you can disable the demo mode and actually rotate the Kollsman window using the BARO button. The calculations for pressure and resulting altitude are from standard physics texts.
Possible issue with the Altimeter. I'm not sure if this was meant as an accurate simulation, or just a technical demonstration of what is possible with the component, but I've noticed that the Altimeter pressure setting (small window) is changing on its own as the altitude hand sweeps around.
That never happens, the altimeter setting is a fixed setting set by the pilot used to calibrate the altimeter readout to be relative to a known/shared pressure setting.