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.
[ Parent
| on HN ]
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.