A digital sculpting application in Rust, built to hold and sculpt billions of polygons.
| Crate | Responsibility |
|---|---|
geom |
Base mesh, Catmull–Clark subdivision, correction pyramid, tile math and quantization |
store |
Project file, out-of-core tile paging, tile pool, cache budget and spatial index |
brush |
Brush math (falloffs, per-vertex deformation) shared by the CPU and the GPU: no_std, generic, allocation-free |
sculpt |
Brushes: steps that edit a project's corrections through its store and spatial index |
input |
Pen input: native pen backends and a de-jitter filter, feeding the stroke engine |
brushcraft-bench (crates/bench) |
The M0 benchmark harness and the tracked performance suite |
pen-probe (tools/pen-probe) |
Records what our pen backend or winit delivers from a pen tablet, and summarises it |
render and app arrive with their milestones.
- Install
miseandrustup, then runmise installin the repo. It installs the pinned stable and nightly toolchains and the cargo tools. - A C compiler:
zstd-sysbuilds libzstd. util-linux, fortaskset: the performance suite pins its stage benches to one CPU.- Profiling with
samplyneedskernel.perf_event_paranoidat 1 or lower.
scripts/check.sh runs everything CI runs, in this order:
cargo fmt --check(the pinned nightly's rustfmt)- clippy with all features, then with default features,
-D warnings cargo nextest run- doctests
cargo docwith-D warnings- the performance suite on a tiny project: the stage bench build, then
brushcraft-bench perf --tiny cargo deny checkcargo machete
CLAUDE.md lists the day-to-day commands: tests, formatting, the performance suite and profiling.