# RandomInt

Integer generators for vein parameters. Used in:
- `placementHeight` — generation height (Y-coordinate)
- `shapeBuilder.radius` — vein radius/size
- Other numeric parameters

| If you need...                      | Use                              | Example |
|-------------------------------------|----------------------------------|---------|
| Equally probable values             | [Uniform](RandomInt/Uniform.md)  | `{ "type": "Uniform", "min": 20, "max": 100 }` |
| A specific fixed value              | [Const](RandomInt/Const.md)      | `{ "type": "Const", "value": 64 }` |
| Smaller values more often than larger ones | [AreaBalanced](RandomInt/AreaBalanced.md) | `{ "type": "AreaBalanced", "min": 2, "max": 48 }` |
| Predominantly small values          | [VolumeBalanced](RandomInt/VolumeBalanced.md) | `{ "type": "VolumeBalanced", "min": 2, "max": 48 }` |
| Precise distribution tuning         | [PowerLaw](RandomInt/PowerLaw.md)      | `{ "type": "PowerLaw", "min": 2, "max": 48, "power": 0.7 }` |

## Selection Tips

1. **For height (`placementHeight`)** — use [Uniform](RandomInt/Uniform.md)
2. **For vein radius (`shapeBuilder.radius`)** — start with [AreaBalanced](RandomInt/AreaBalanced.md)
3. **For precise tuning** — switch to [PowerLaw](RandomInt/PowerLaw.md)
4. **For constants** — use [Const](RandomInt/Const.md)

All distributions guarantee that the result will be between `min` and `max` inclusive.