Skip to content
@FEAScript

FEAScript

Finite element simulation in JavaScript, for the browser and Node.js
FEAScript: A JavaScript finite element library, for the web.

What is FEAScript?

Heat conduction results and mesh around the FEAScript logo

FEAScript Icon FEAScript is a finite element simulation library developed in JavaScript. It runs engineering simulations in the browser or in Node.js, with no desktop software to install.

🎯 Our goal is a powerful JavaScript API for FEM, so that developers can build professional-grade simulation tools that work on any device, anywhere.

⚙️ What it solves: heat conduction, creeping (Stokes) flow, Euler–Bernoulli beams, front propagation and general-form PDEs (linear and nonlinear), with Gmsh mesh import, CPU/WebGPU solvers and web worker support.

🚧 FEAScript is under active development, so its API may change between releases.

Get started

🚀 Use it in a browser page with a single import, or install it from npm with npm install feascript:

<script type="module">
  import { FEAScriptModel } from "https://cdn.jsdelivr.net/gh/FEAScript/FEAScript-core/dist/feascript.esm.js";
</script>

The FEAScript ecosystem

  • The main library, FEAScript core, distributed under the MIT license, with unit, verification and regression tests to check numerical accuracy.
  • The documentation (source), covering the API, usage guides and theory, under CC BY 4.0.
  • The examples, provided in multiple formats:
  • The benchmarks, comparing FEAScript with established finite element software on accuracy, run time and memory, and tracking its speed-up across versions, under the MIT license.
  • The website (source) and blog (source), both licensed under CC BY 4.0, with tutorials, updates and various resources.
  • Tri's Lab by FEAScript (source), a playful place for students and beginners to discover the finite element method through a pixel-art game and block-based missions, with code under the MIT license and writing and art under CC BY 4.0.

Get involved

💬 Join the conversation on Discord or follow us on LinkedIn and Bluesky.
🛠️ Contributions are welcome! See the contributing guide to get started.
📨 Join the mailing list to receive project updates and news.
❤️ Support the project via GitHub Sponsors or Liberapay.

Pinned Loading

  1. FEAScript-core FEAScript-core Public

    Finite element simulation in JavaScript, for the browser and Node.js

    JavaScript 72 13

  2. FEAScript-tris-lab FEAScript-tris-lab Public

    Tri's Lab by FEAScript: play and build with real finite element simulations in your browser

    JavaScript

  3. FEAScript-benchmark FEAScript-benchmark Public

    Accuracy and performance benchmarks of FEAScript against established FEM solvers, tracked across versions.

    Gnuplot

Repositories

Showing 8 of 8 repositories

Top languages

Loading…

Most used topics

Loading…