Skip to main content

proof_engine/surfaces/
mod.rs

1//! # Surface Rendering Subsystem
2//!
3//! Mathematical surface rendering for the Proof Engine.
4//!
5//! ## Modules
6//!
7//! - [`parametric`] — Parametric surface definitions and mesh tessellation
8//! - [`heightfield`] — Height-map surfaces with noise, LOD, chunking, and collision
9//! - [`deformation`] — Time-varying surface deformation (breathe, wave, twist, melt, etc.)
10//! - [`uvanimation`] — UV coordinate animation, flow maps, triplanar projection
11
12pub mod parametric;
13pub mod heightfield;
14pub mod deformation;
15pub mod uvanimation;
16
17// Re-export primary types for convenience.
18pub use parametric::{
19    Surface, SurfaceMesh, Sphere, Torus, MobiusStrip, KleinBottle,
20    BoySurface, RomanSurface, CrossCap, TrefoilKnot, FigureEight,
21    Catenoid, Helicoid, EnneperSurface, DiniSurface, FunctionSurface,
22};
23pub use heightfield::{
24    HeightFieldSurface, NoiseSource, HeightFieldChunk, ChunkManager,
25    HeightFieldCollider, LodLevel,
26};
27pub use deformation::{
28    DeformationMode, DeformationStack, Deformation, MorphTarget, WaveSimulation,
29    KeyframeAnimator,
30};
31pub use uvanimation::{
32    UVAnimator, UVMode, FlowMap, ParallaxLayer, SpriteSheetAnimator,
33    TriplanarProjector, UVUnwrap,
34};