pattern-generator

Crates.iopattern-generator
lib.rspattern-generator
version0.1.2
created_at2025-01-15 17:02:13.835807+00
updated_at2025-01-15 17:09:22.033244+00
descriptionA Rust crate for solving Sudoku puzzles. It takes a Sudoku puzzle input and provides the solved grid.
homepage
repositoryhttps://github.com/NithinKonda/pattern-generator
max_upload_size
id1517713
size16,332
Nithin Konda (NithinKonda)

documentation

README

ASCII Art Generator

A simple Rust crate for generating ASCII art text patterns.

Installation

Add this to your Cargo.toml:

[dependencies]
ascii_art_generator = "0.1.0"

Usage

As a library

use ascii_art_generator::generate_pattern;

fn main() {
    let pattern = generate_pattern("HELLO - *");
    println!("{}", pattern);
}

As a binary

cargo install ascii_art_generator
ascii_art_generator

Then follow the prompts to enter your text and symbol.

Examples

Input: HELLO - * Output:

*   * ***** *    *      *****
*   * *     *    *      *   *
***** ***** *    *      *   *
*   * *     *    *      *   *
*   * ***** ***** ***** *****

License

This project is licensed under the MIT License - see the LICENSE file for details.

Commit count: 0

cargo fmt