# lowdim

[<img alt="github" src="https://img.shields.io/badge/github-starblue/lowdim?style=for-the-badge&labelColor=555555&logo=github" height="20">](https://github.com/starblue/lowdim)
[![Crate](https://img.shields.io/crates/v/lowdim.svg)](https://crates.io/crates/lowdim)
[![Docs](https://docs.rs/lowdim/badge.svg)](https://docs.rs/lowdim)
[![Test Status](https://github.com/starblue/lowdim/workflows/tests/badge.svg?event=push)](https://github.com/starblue/lowdim/actions)

> A library for two-, three- or four-dimensional coordinates and arrays.

## Applications

This is intended for discrete geometry,
both for operations with discrete coordinates and arrays accessed by these.
Operations include iterating over neighbours.
This is useful for example in

- cellular automata
- game boards
- Santa's base at the north pole [(Advent of Code)](https://adventofcode.com/).

## License

Licensed under either of

- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or
  http://www.apache.org/licenses/LICENSE-2.0)
- MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)

at your option.

### Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
dual licensed as above, without any additional terms or conditions.
