# Alto Scale

HTML: [altophp.com/scale](https://altophp.com/scale/)

Alto Scale turns mathematical progressions into predictable values for
typography, spacing, grids, and rhythmic design systems.

```php
use Alto\Scale\Scale;

$type = Scale::majorThird(16);
echo $type->snap(19.8);
```

The result is `20`. Every scale can return a step, find the nearest step, snap
an arbitrary value, and generate a keyed range. Modular, linear, Fibonacci,
and multi-strand progressions keep their own domain and inverse behavior.

## Documentation

- [Installation](https://altophp.com/scale/installation.md)
- [Getting started](https://altophp.com/scale/getting-started.md)
- [Scales](https://altophp.com/scale/scales.md)
- [Guessing](https://altophp.com/scale/guessing.md)
- [Linting](https://altophp.com/scale/linting.md)

---

Next: [Installation](https://altophp.com/scale/installation.md)

---

ALTO\SCALE: [altophp.com/scale](https://altophp.com/scale/)
ALTO(PHP): [altophp.com](https://altophp.com/)
