Expand description
§OxiPhysics — Unified Physics Engine
OxiPhysics is a pure-Rust, modular physics engine that re-exports all sub-crates for convenient, single-dependency access. It targets the same problem domains as Bullet, OpenFOAM, LAMMPS, and CalculiX.
§Quick Start
use oxiphysics::core::math::Vec3;
use oxiphysics::core::Transform;
let t = Transform::default();
let v = Vec3::new(1.0, 2.0, 3.0);
let _transformed = t.transform_point(&v);§Module Overview
| Module | Description |
|---|---|
core | Math types, traits, ODE solvers, stochastic processes |
geometry | Shape primitives and mesh utilities |
collision | Broad-phase and narrow-phase collision detection |
rigid | Rigid body dynamics |
constraints | Constraint / joint solvers |
vehicle | Vehicle dynamics simulation |
sph | Smoothed-particle hydrodynamics |
lbm | Lattice Boltzmann method |
fem | Finite element method |
md | Molecular dynamics |
softbody | Soft body / cloth simulation |
materials | Material property database |
gpu | GPU acceleration backends |
viz | Visualization helpers |
io | File I/O and serialization |
pipeline | Full simulation pipeline |
§Stability Policy
Every public API is annotated with a stability level. See
core::stability for details and the core::stability::HasStability
trait for programmatic queries. Stable APIs follow semver; unstable and
experimental APIs may change across minor releases.
Re-exports§
pub use oxiphysics_core as core;pub use oxiphysics_geometry as geometry;pub use oxiphysics_collision as collision;pub use oxiphysics_rigid as rigid;pub use oxiphysics_constraints as constraints;pub use oxiphysics_vehicle as vehicle;pub use oxiphysics_sph as sph;pub use oxiphysics_lbm as lbm;pub use oxiphysics_fem as fem;pub use oxiphysics_md as md;pub use oxiphysics_softbody as softbody;pub use oxiphysics_materials as materials;pub use oxiphysics_gpu as gpu;pub use oxiphysics_viz as viz;pub use oxiphysics_io as io;pub use oxiphysics_python as python;pub use oxiphysics_wasm as wasm;
Modules§
- perf_
regression - Performance regression testing infrastructure. Performance regression testing infrastructure.
- pipeline
- Full physics simulation pipeline. Full physics simulation pipeline.