feat: dominium standalone — simulador de campo medio sobre Llimphi
Front-door publicable de dominium: los 9 crates propios como path members; Llimphi, app-bus, rimay-localize, wawa-config y pluma-notebook por git-dep al monorepo tawasuyu.git (branch=main). cargo check --workspace --all-targets pasa exit 0. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
# dominium-iso
|
||||
|
||||
> 30° projection + Lambert shadow for [dominium](../README.md).
|
||||
|
||||
Pure math of isometric projection: `(x, y, z_world) → (sx, sy_screen)` at 30° angle with configurable scale. Lambert shadow proportional to dot product between normal and light. Zero graphics deps — this produces coordinates, [`dominium-render-plan`](../dominium-render-plan/README.md) uses them.
|
||||
|
||||
## API
|
||||
|
||||
```rust
|
||||
use dominium_iso::{project, lambert};
|
||||
|
||||
let (sx, sy) = project(x, y, z, scale);
|
||||
let shade = lambert(normal, light);
|
||||
```
|
||||
|
||||
## Deps
|
||||
|
||||
- `libm`
|
||||
- Zero external deps
|
||||
Reference in New Issue
Block a user