https://github.com/alessandro-salerno/asciipaint
A test for my ASCII Graphics Library
https://github.com/alessandro-salerno/asciipaint
ascii ascii-art c cpp paint
Last synced: about 1 year ago
JSON representation
A test for my ASCII Graphics Library
- Host: GitHub
- URL: https://github.com/alessandro-salerno/asciipaint
- Owner: Alessandro-Salerno
- License: apache-2.0
- Created: 2021-10-31T13:09:59.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-18T09:46:09.000Z (over 4 years ago)
- Last Synced: 2025-04-30T12:15:26.221Z (about 1 year ago)
- Topics: ascii, ascii-art, c, cpp, paint
- Language: C++
- Homepage:
- Size: 27.3 KB
- Stars: 11
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ASCIIPaint
ASCIIPaint is a small test of the asciiGL library.
# Setup
Just compile `main.cpp` with a modern C++ Compiler and run the program. AsciiGL and ATK have recently been updated to better support legacy terminals and other operating systems.
You can specify up to 4 commandline arguments:
* Foreground color (unsigned 8-bit integer)
* Background color (unsigned 8-bit integer)
* Starting X position (unsigned 64-bit integer)
* Starting Y position (unsigned 64-bit integer)
# Controls
* Use the arrow keys to move
* Use RETURN to draw
* Use DEL to delete
* Use ALT + arrow keys to move by just one cell
* Use CTRL + Up/Right to draw a line
* Use Space and backspace to go sideways
* Use F10 to clear the screen
* Use ESCAPE to close