# SP2 - 2D Spatial Transforms
[](https://crates.io/crates/sp2)
[](https://docs.rs/sp2)
[](https://crates.io/crates/sp2)
Minimal 2D spatial transforms using geometric algebra.
## Features
- `Transform`: Translation and orientation with full operator support
- `Movement`: Velocity and rotation representation
- Geometric algebra-based operations
## Example
```rust
use ga2::{Bivector, Vector};
use sp2::{Movement, Transform};
let mut transform = Transform {
translation: Vector::new(1.0, 2.0),
orientation: Vector::x(1.0) * Vector::y(1.0),
};
let movement = Movement {
velocity: Vector::new(-1.0, 0.0),
rotation: Bivector::new(1.0),
};
transform += movement;
assert_eq!(transform.translation, Vector::new(0.0, 2.0));
```