Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/frolov-andrey2405/rhombuses
This program demonstrates a small algorithm for drawing rhombuses of various sizes using ASCII graphics. The program provides functions for drawing both outlines and filled rhombuses of a specified size.
https://github.com/frolov-andrey2405/rhombuses
Last synced: about 19 hours ago
JSON representation
This program demonstrates a small algorithm for drawing rhombuses of various sizes using ASCII graphics. The program provides functions for drawing both outlines and filled rhombuses of a specified size.
- Host: GitHub
- URL: https://github.com/frolov-andrey2405/rhombuses
- Owner: Frolov-Andrey2405
- Created: 2023-08-27T19:04:56.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-27T19:09:08.000Z (about 1 year ago)
- Last Synced: 2023-08-27T20:27:49.435Z (about 1 year ago)
- Language: Python
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rhombuses
This program demonstrates a small algorithm for drawing rhombuses of various sizes using ASCII graphics. The program provides functions for drawing both outlines and filled rhombuses of a specified size.## How to Use
1. Run the program in a compatible environment.
2. Choose whether you want to draw an outline or a filled rhombus.
3. Input the desired size for the rhombus.
4. Witness the ASCII art come to life, forming beautiful rhombus patterns.## Features
- Create ASCII art rhombuses with ease.
- Draw both outline and filled versions of rhombus patterns.
- Explore different sizes to see how patterns evolve.## Instructions
1. Open a terminal or command prompt.
2. Navigate to the program's directory.
3. Run the program using `python rhombus_drawer.py`.
4. Follow the on-screen prompts to choose the type and size of the rhombus.## Sample Output
```
/\
\/
/\
\/
/\
/ \
\ /
\/
/\
//\\
\\//
\/
/\
/ \
/ \
\ /
\ /
\//\
//\\
///\\\
\\\///
\\//
\//\
/ \
/ \
/ \
\ /
\ /
\ /
\//\
//\\
///\\\
////\\\\
\\\\////
\\\///
\\//
\//\
/ \
/ \
/ \
/ \
\ /
\ /
\ /
\ /
\//\
//\\
///\\\
////\\\\
/////\\\\\
\\\\\/////
\\\\////
\\\///
\\//
\/```