Box4D – 4D physics demo using Rust and wgpu
Box4D – 4D physics demo using Rust and wgpu
This is a little physics toy I've been working on off and on for a while. I originally planned on making a more fully featured game of some sort (I suppose I still may some day), but it turns out that writing interesting graphics and physics algorithms is more compelling than the hard work of polishing an actual product. Who knew? While there are plenty of good guides for 2D and 3D graphics and physics, there's not much out there for 4D. In hopes of alleviating that, the code here is arranged such that the commits are more or less a step-by-step guide, with comments for the interesting or tricky parts. While I don't think I came close to the simplicity or clarity of Box2D Lite, I hope it can serve as a useful example to anyone interested in 4D rendering and physics.
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Incorrect prediction on native model
Similar products
tumblebluff, a webgl demo with terrain, physics, and tumbleweeds
Rust WebAssembly A* Pathfinding Demo
How to Annoy Your Coworkers for $42 Using ClojureScript and Rust
Blob, a softbody physics toy in Rust, WASM, SVG
Geometric patterns in Rust, with a WASM demo
Axum web framework for Rust – a demo tutorial
Emulating aarch64 in software using JIT compilation and Rust
A Mindmap of Physics
Igrepper – Interactive grepping using ncurses and rust
I rendered the Rust logo using Rust