npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@open-aviation-solutions/components

v0.1.12

Published

Interactive aviation training components

Readme

open-aviation-components

Interactive components for aviation training, implemented as standard web components (custom elements). Framework-agnostic — use them in plain HTML, Vue, React, Svelte, Slidev, or anywhere else custom elements are supported.

Live demo: https://open-aviation-solutions.github.io/open-aviation-components/


Components

| Component | Tag | Purpose | |-----------|-----|---------| | AerofoilDynamics | <aerofoil-dynamics> | Real-time fluid simulation of airflow over a NACA aerofoil | | BriefingOverview | <briefing-overview> | SVG map of a flight briefing as a sequence of lesson topics | | CircuitDiagram | <circuit-diagram> | 3D viewer for circuit-training procedures and joins | | ClimbPerformance | <climb-performance> | Thrust/power vs airspeed charts showing Vx and Vy | | CrosswindClock | <crosswind-clock> | Windsock + clock-code crosswind estimator with live sin comparison | | FourForces | <four-forces> | 3D visualization of the four aerodynamic forces | | PitchRollYaw | <pitch-roll-yaw> | 3D aircraft viewer for the three axes of flight | | UnusualAttitudes | <unusual-attitudes> | Six-pack instrument panel that develops an unusual attitude to recover from |


Installation

npm install @open-aviation-solutions/components

The 3D components (FourForces, CircuitDiagram, PitchRollYaw) render with Three.js, which is a peer dependency:

npm install three

Usage

Import the package once (anywhere in your app's entry point) to register the custom elements, then use them as HTML tags:

import '@open-aviation-solutions/components'
<four-forces height="400px"></four-forces>

Each component's supported attributes are documented on its page in the live demo.


AerofoilDynamics

A real-time lattice-Boltzmann (LBM) fluid simulation of airflow over an aerofoil. Choose a NACA 4-digit profile and adjust airspeed and angle of attack to watch the flow field, separation, and stall develop dynamically.

BriefingOverview

A pure-SVG visualisation of a flight briefing as a sequence of lesson topics. Two runways (departure and arrival) are joined by a dashed flight path with numbered waypoints and segment times; an animated aircraft moves through the waypoints, recording actual elapsed time against the planned time. Topics are declared with <briefing-topic> child elements.

CircuitDiagram

A 3D circuit / procedure viewer: a generic airfield with a single labelled runway, over which one or more flight paths are drawn as coloured, semi-transparent ribbons. Built to visualise and compare circuit-training procedures — standard circuit, joins, flapless, glide approach, short-field, go-around — with altitude vertically exaggerated so the circuit reads clearly.

ClimbPerformance

Two side-by-side charts sharing a draggable cursor. The left chart plots thrust available against thrust required versus airspeed (excess thrust → angle of climb, marking Vx); the right chart plots power available against power required (excess power → rate of climb, marking Vy). A normalised physics model relates all speeds to the minimum-drag speed.

CrosswindClock

A ground-level windsock viewed from a person standing beside the runway, paired with the clock code for estimating crosswind. Set the wind strength and direction with the on-screen dial and slider; the windsock swings downwind and droops with the wind strength (calibrated to a real windsock chart). A clock face fills to show the angle off the runway read as minutes, and a readout compares the clock-code estimate against the exact sin value in both percent and knots.

FourForces

An interactive 3D visualization of the four aerodynamic forces — Lift, Weight, Thrust, and Drag — shown as arrows on an aircraft model. Power and Attitude sliders drive a physics model; the arrows scale dynamically to reflect the force balance. Includes airspeed (ASI) and vertical speed (VSI) instrument gauges, airflow particle stream visualization, and weight-component decomposition during climbs.

PitchRollYaw

An interactive 3D aircraft viewer for introducing the three axes of flight and their rotational terminology — pitch, roll, and yaw. Sliders rotate the aircraft about its body axes and highlight the corresponding axis line, so mixed rotations compose the way they do in flight.


UnusualAttitudes

A six-pack of round-dial instruments for the under-the-hood unusual-attitude recovery exercise. The student looks away, the instructor presses a button, and the panel uncovers on a developed attitude — nose-low spiral or nose-high, with the bank direction randomised. The upset is not an animation: a point-mass flight model with real spiral instability keeps developing it, so hesitating costs height and airspeed, and the VSI lags the way a real one does. Reveal shows what the attitude actually was; Show recovery plays the correct recovery back on the instruments.


Contributing

Improvements to the component files must be shared under the same MPL 2.0 license — fork, improve, and open a pull request. Projects that merely use the components are not affected by this requirement.

Support

If these components have saved you time, consider buying me some tokens or sponsoring on GitHub.

License

Mozilla Public License 2.0 — modifications to the component source files must stay open; applications using them do not have to be.