aeronautic

Installation

Install the package and its peer dependencies.

From npm

pnpm add @aeronautic/afterburner @aeronautic/core three@~0.186

For the React components, add React Three Fiber too, if you don't have it yet:

pnpm add @react-three/fiber react react-dom
peerversionneeded for
@aeronautic/core0.1everything: the flight and air
three0.186.xeverything
react19@aeronautic/afterburner/react
@react-three/fiber9 or 10@aeronautic/afterburner/react

Entry points

importwhat's in it
@aeronautic/afterburner/react<Afterburner>, <AfterburnerBatch>, useAfterburnerBatch and their types.
@aeronautic/afterburnerThe plain three.js classes, presets, defaults and types. No React.
@aeronautic/afterburner/physicsThe plume's physics: the propellants, the hull, the blackbody and the profile helpers.
@aeronautic/afterburner/tslEvery TSL piece the material is built from, for a material of yours.

The renderer must be three's WebGPURenderer. webgpu_gl() from @aeronautic/core/react makes one for <Canvas gl>.

Next, put a plume on screen.

On this page