An open API service indexing awesome lists of open source software.

https://github.com/abusch/tactile-rs

Library for representing, manipulating, and drawing isohedral tilings
https://github.com/abusch/tactile-rs

Last synced: about 1 year ago
JSON representation

Library for representing, manipulating, and drawing isohedral tilings

Awesome Lists containing this project

README

          

# tactile-rs
[![Crate Status](https://img.shields.io/crates/v/tactile.svg)](https://crates.io/crates/tactile)
[![Docs Status](https://docs.rs/tactile/badge.svg)](https://docs.rs/crate/tactile/)
[![dependency status](https://deps.rs/repo/github/abusch/tactile-rs/status.svg)](https://deps.rs/repo/github/abusch/tactile-rs)

This library is a pure Rust port of [tactile](https://github.com/isohedral/tactile), a library for representing, manipulating, and drawing isohedral tilings on the plane created by [Craig S. Kaplan](https://github.com/isohedral) based on his [PhD thesis](https://cs.uwaterloo.ca/~csk/other/phd/).

See [`tactile`'s original README file](https://github.com/isohedral/tactile/blob/master/README.md) for more information on how to use this library.

## Examples

There's a couple of [examples](/examples) that show how to use the API: a simple one that displays some
information about a given tiling, and slightly more complex one that shows how to draw tiles to
fill a region of the plane (in text mode):

![Tile drawing example](/assets/screenshot.png)

## Credit

All credit goes to Craig S. Kaplan for the original code, research, and data. All bugs are mine.

## 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.