Carapace

A WebAssembly-native finite element engine, written in Rust.

A thin, curated engine covering the structural element formulations, material models and analysis types used in practice by PySees, its companion frontend. It runs in a browser Web Worker as a .wasm module, with no server and no OpenSees runtime.

Inspired by OpenSees, but a from-scratch reimplementation.

The Rust crab, half solid red and half a colour-contoured finite element mesh

What it does

API reference

JavaScript / TypeScriptThe wasm API and the input schema, for calling Carapace from the browser. carapace-coreThe Rust engine: elements, materials, solvers and analysis. carapace-wasmThe wasm-bindgen bridge: input decoding and result streaming.

Verification

Test reportWhat each test verifies, against which reference, and whether it passes.