Skip to main content
nexus logo

Cross-platform GPU multiphysics simulation for Rust

A Multiphysics Engine on the GPU

Nexus is a cross-platform GPU-accelerated multiphysics engine for Rust. The whole simulation pipeline runs as compute shaders written in Rust with Rust-GPU and compiled to SPIR-V, executed through WebGPU (on Windows, macOS, Linux, and the browser), or through Metal, Cuda, or CPU.

Rigid-body dynamics is available today, with colliders, joints, articulated multibodies, and URDF/MJCF robots. So is MPM, for deformable objects, granular materials, and fluids, with one-way coupling from rigid-bodies. Other solvers — DEM for granular media, FEM, etc. — are work in progress.

GPU-Accelerated

The whole physics pipeline runs as compute shaders — thousands of bodies in real time.

🌐

Cross-Platform

WebGPU on Windows, macOS, Linux, and the browser. CUDA, Metal, and CPU backends too.

🦀

Shaders in Rust

Compute shaders written in Rust with Rust-GPU and compiled to SPIR-V.

🧊

Rigid-Body Dynamics

Boxes, balls, convex shapes, trimeshes, heightfields, joints, and multibodies.

🏖️

Material Point Method

Deformable objects, granular materials, and fluids, coupled with rigid-bodies.

🤖

Robotics-Ready

Load URDF and MJCF robot descriptions, including MuJoCo Menagerie models.

🐍

Python Bindings

The 3D engine and viewer are also available from Python as the nexus3d module.