Phi: Difference between revisions

328 bytes added ,  22 March 2016
→‎Web-based EFIS: Added in an example for web-panel instruments
(→‎Web-based EFIS: Added in an example for web-panel instruments)
Line 83: Line 83:
height, and preserveAspectRation of the <svg> tag element. It should be also possible to draw SVG's on the fly e.g. from svg.js and animate this as well. Not much has been on this front.
height, and preserveAspectRation of the <svg> tag element. It should be also possible to draw SVG's on the fly e.g. from svg.js and animate this as well. Not much has been on this front.
<ref name="HelloFGP2.0"></ref>
<ref name="HelloFGP2.0"></ref>
==== Examples ====
'''Open the SVG file in inkscape and enter the xml editor (Ctrl + shift + X) to view the data-bind attributes for the objects that need animating'''
  https://sourceforge.net/p/flightgear/fgdata/ci/next/tree/Phi/widgets/efis.svg
  https://sourceforge.net/p/flightgear/fgdata/ci/next/tree/Phi/widgets/efis.js
67

edits