# wave-memory
**Wave-based geometric memory** — this crate simulates how waves interact with an adaptive shape that evolves in response to energy.
Inspired by recursive chaotic geometry (Leonov-style), the form becomes a primitive learning substrate.
## Features
- Adaptive `GeoForm` structure
- Wave propagation (`Wave`) with memory
- Self-organizing shape evolution from wave activity
- Ideal for experimentation in cognition, geometry, and wave computing
## Example
```rust
use wave_memory::{GeoForm, Wave};
fn main() {
let mut form = GeoForm::from_leonov(100, 123);
let mut wave = Wave::new(100, 50);
for _ in 0..100 {
wave.step(&form);
form.adapt(&wave.energy(), 0.1);
}
println!("Final shape point: {:.3}", form.data[50]);
}
```
## License
MIT OR Apache-2.0