string-overlap 1.0.0

A helper crate for "layering" ASCII art
Documentation
1
2
3
4
5
6
7
8
9
10
11
use string_overlap::overlap;

fn main() {
    const BACKGROUND: &str = include_str!("../assets/passing/background.ascii");
    const FOREGROUND: &str = include_str!("../assets/passing/foreground.ascii");

    println!("Background\n{}", BACKGROUND);
    println!("Foreground\n{}", FOREGROUND);

    println!("Result\n{}", overlap(BACKGROUND, FOREGROUND));
}