An open API service indexing awesome lists of open source software.

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

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
```