Show HN: Flight Instruments in Snap SVG and JavaScript
31–38 of 38 posts
Re: Show HN: Flight Instruments in Snap SVG and JavaScript
#32Re: Show HN: Flight Instruments in Snap SVG and JavaScript
#33Earlier quoted context omitted.
Too bad, was only a thin wrapper at best though. Maybe time for a new open source SVG library.
d3 would be the obvious choice to me. I have only taken a cursory look at your code but strikes me that it could be fairly straight forward to rewrite it using d3.
Essentially, if you're a raw d3 programmer, you're a front-end web engineer.
Re: Show HN: Flight Instruments in Snap SVG and JavaScript
#34Earlier quoted context omitted.
* the plane crashes because there was an undiscovered bug in an important library whose sole maintainer is currently in a penal colony.
Oddly specific
https://www.theregister.co.uk/2020/03/26/corejs_maintainer_j...
Associated HN thread:
Re: Show HN: Flight Instruments in Snap SVG and JavaScript
#35Hey, they look great & realistic! 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 calibr…
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
#36Upload the source code to github
Re: Show HN: Flight Instruments in Snap SVG and JavaScript
#37Earlier quoted context omitted.
d3 would be the obvious choice to me. I have only taken a cursory look at your code but strikes me that it could be fairly straight forward to rewrite it using d3.
d3 is just a low-level combination of HTML, CSS, JS and SVG. It's seldom obvious how anything is easy to do "using d3," unless manipulating a table of data. Essentially, if you're a raw d3 programmer, you're a front-end web engineer.
Re: Show HN: Flight Instruments in Snap SVG and JavaScript
#38Earlier quoted context omitted.
d3 would be the obvious choice to me. I have only taken a cursory look at your code but strikes me that it could be fairly straight forward to rewrite it using d3.
d3 is just a low-level combination of HTML, CSS, JS and SVG. It's seldom obvious how anything is easy to do "using d3," unless manipulating a table of data. Essentially, if you're a raw d3 programmer, you're a front-end web engineer.