aeronautic

Installation

Install the package and its peer dependencies.

From npm

pnpm add @aeronautic/wing-vapor @aeronautic/core three@~0.186

For the React component, 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/wing-vapor/react
@react-three/fiber9 or 10@aeronautic/wing-vapor/react

They are the same as @aeronautic/afterburner's, so the two install side by side.

Entry points

importwhat's in it
@aeronautic/wing-vapor/react<WingVapor> and its types.
@aeronautic/wing-vaporThe plain three.js class, the capture, the quality presets, defaults and types.
@aeronautic/wing-vapor/physicsThe wing's shape, the condensation and the aerodynamics, for a flight model.
@aeronautic/wing-vapor/tslThe vapor field and material in TSL, for a material of your own.

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

Next, put vapor on a wing.

On this page