Live data from Hacker News

Show HN: Flight Instruments in Snap SVG and JavaScript

fl7b8.csb.app

21–30 of 38 posts

Re: Show HN: Flight Instruments in Snap SVG and JavaScript

#21

Imagine the next jumbo jet using avionics rendered on Electron.

I could have done without that thought thank you. * your plane crashes because the avionics computer OOM’s because you’re running chrome * your plane crashes because JS decides that the pitch angle is suddenly NaN and plows the plane into the ground. * your plane won’t take off, because there’s been yet another NPM dependency breakage because someone got annoyed and removed their single line “right pad” package, whic…

* the plane crashes because its not connected to the internet and the auto pilot cannot get a gps route via the google maps directions api

Re: Show HN: Flight Instruments in Snap SVG and JavaScript

#24
post #23

Imagine the next jumbo jet using avionics rendered on Electron.

I remember seeing some stuff about ultralights using an iPad app for flight instruments. That was scary enough.

Presumably that's for planes that aren't legally required to carry said instruments?

Re: Show HN: Flight Instruments in Snap SVG and JavaScript

#25
post #24
post #23

Earlier quoted context omitted.

I remember seeing some stuff about ultralights using an iPad app for flight instruments. That was scary enough.

Presumably that's for planes that aren't legally required to carry said instruments?

> > ultralights

Re: Show HN: Flight Instruments in Snap SVG and JavaScript

#26
post #23

Imagine the next jumbo jet using avionics rendered on Electron.

I remember seeing some stuff about ultralights using an iPad app for flight instruments. That was scary enough.

The truth is, for VFR flight you do not really need instruments. Pitch and Power, that's where it is ;)

Re: Show HN: Flight Instruments in Snap SVG and JavaScript

#28
post #8

I wrote these a while ago with some intention of creating flight training tools. I'm making them available to all the other programmer / pilots out there who might find them useful. https://codesandbox.io/s/six-pack-flight-instruments-fl7b8

This is one of those things that "someone must have already done, it must be out there." Thank you for being that person.

Those type of awesome contributions are what drives humanity ahead :)

Re: Show HN: Flight Instruments in Snap SVG and JavaScript

#29
post #20

Earlier quoted context omitted.

I could have done without that thought thank you. * your plane crashes because the avionics computer OOM’s because you’re running chrome * your plane crashes because JS decides that the pitch angle is suddenly NaN and plows the plane into the ground. * your plane won’t take off, because there’s been yet another NPM dependency breakage because someone got annoyed and removed their single line “right pad” package, whic…

* the plane crashes because there was an undiscovered bug in an important library whose sole maintainer is currently in a penal colony.

Oddly specific

Re: Show HN: Flight Instruments in Snap SVG and JavaScript

#30
Also check out Project Magenta for MS FSX and Pr3par3d pro flight controls (FMC, etc.):

https://www.projectmagenta.com/

It's commercial software, but there's free demo versions of the controls, and a personal license is 600 euros, which is a good deal if it does what you want.

Post reply on HN