https://github.com/spenserblack/string-overlap-rs
A helper crate for "layering" to ASCII art
https://github.com/spenserblack/string-overlap-rs
ascii ascii-art crate layer rust
Last synced: 9 months ago
JSON representation
A helper crate for "layering" to ASCII art
- Host: GitHub
- URL: https://github.com/spenserblack/string-overlap-rs
- Owner: spenserblack
- License: apache-2.0
- Created: 2020-08-21T13:54:52.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-30T14:14:27.000Z (almost 3 years ago)
- Last Synced: 2025-04-04T13:12:15.209Z (9 months ago)
- Topics: ascii, ascii-art, crate, layer, rust
- Language: Rust
- Homepage:
- Size: 47.9 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# string-overlap
[](https://crates.io/crates/string-overlap)
[](https://docs.rs/string-overlap)

[](https://github.com/spenserblack/string-overlap-rs/actions/workflows/ci.yml)
A helper crate for "layering" ASCII art
## Example
*The below mirrors [`cargo run --example overlap`](https://github.com/spenserblack/string-overlap-rs/blob/master/examples/overlap.rs).*
### Input
#### Background
```text
..........
..........
..........
..........
..........
..........
..........
..........
..........
..........
```
#### Foreground
```text
FFFFFFFFFF
FFFFFFFFFF
FF
FF
FFFFFFF
FFFFFFF
FF
FF
FF
FF
```
### Output
```text
FFFFFFFFFF
FFFFFFFFFF
FF........
FF........
FFFFFFF...
FFFFFFF...
FF........
FF........
FF........
FF........
```