@patricksurry/g3
Version:
A flexible Javascript framework for building steam gauge instrument panels that display live external metrics from flight (or other) simulators like XPlane or MS FS2020
15 lines (14 loc) • 353 B
HTML
<html>
<body>
<script src="./g3-examples.js"></script>
<script>
var panel = g3.panel('SimplePanel')
.width(600).height(300)
.append(
g3.put().x(150).y(150).append(g3.gauge('clockSimple')),
g3.put().x(450).y(150).append(g3.gauge('headingDHC2')),
);
panel('body');
</script>
</body>
</html>