https://github.com/jamesread/libonix
A C++ ASCII Libraray
https://github.com/jamesread/libonix
Last synced: about 2 months ago
JSON representation
A C++ ASCII Libraray
- Host: GitHub
- URL: https://github.com/jamesread/libonix
- Owner: jamesread
- Created: 2014-02-02T13:22:49.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2016-06-13T20:37:30.000Z (about 10 years ago)
- Last Synced: 2025-10-13T14:24:37.070Z (9 months ago)
- Language: C++
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
libOnix
=======
A C++ ASCII Libraray, with bindings for Python.
#Examples #
## Hello World (text) ##
* CPP: [helloWorld.cpp](examples/helloWorld.cpp)
* Python(2.7): [helloWorld.py](bindings-python/examples/helloWorld.py)
```
+--------------+
|..............|
|.Hello World!.|
|..............|
+--------------+
```
## Drawing ##
* CPP Source code: [drawing.cpp](examples/drawing.cpp)
* Python Source Code: [drawing.py](bindings-python/examples/drawing.py)
```
+---------+
| |
| # # |
| # # @ |
| #==# * |
| # # * |
| # # * |
+---------+
```
## Rotations ##
* CPP Source code: [rotations.cpp](examples/rotations.cpp)
* Python Source Code: [rotations.py](bindings-python/examples/rotations.py)
```
Rotating around: 2:2 by 180
Original (5x5):
1...2
.....
..+..
.....
3...4
Rotated (5x5):
4...3
.....
..+..
.....
2...1
```