| Crates.io | pattern-generator |
| lib.rs | pattern-generator |
| version | 0.1.2 |
| created_at | 2025-01-15 17:02:13.835807+00 |
| updated_at | 2025-01-15 17:09:22.033244+00 |
| description | A Rust crate for solving Sudoku puzzles. It takes a Sudoku puzzle input and provides the solved grid. |
| homepage | |
| repository | https://github.com/NithinKonda/pattern-generator |
| max_upload_size | |
| id | 1517713 |
| size | 16,332 |
A simple Rust crate for generating ASCII art text patterns.
Add this to your Cargo.toml:
[dependencies]
ascii_art_generator = "0.1.0"
use ascii_art_generator::generate_pattern;
fn main() {
let pattern = generate_pattern("HELLO - *");
println!("{}", pattern);
}
cargo install ascii_art_generator
ascii_art_generator
Then follow the prompts to enter your text and symbol.
Input: HELLO - *
Output:
* * ***** * * *****
* * * * * * *
***** ***** * * * *
* * * * * * *
* * ***** ***** ***** *****
This project is licensed under the MIT License - see the LICENSE file for details.