asciimoo / drawille

Pixel graphics in terminal with unicode braille characters
GNU Affero General Public License v3.0
3.11k stars 128 forks source link

Please add color support #56

Open devallabharath opened 1 year ago

devallabharath commented 1 year ago

How can I add colors to the objects? I am trying to make a Rubix cube game in the terminal. I am successful in making the cube, but struck at implementing the colors. Can anyone look at my code and help me to make the colors for the individual face? This is my code: https://github.com/devallabharath/Terminal-Rubix-Cube/blob/main/ex.py

devallabharath commented 1 year ago

I found a way to add colors.

devallabharath commented 1 year ago

I can color the whole frame using curses colors. But I need different colors for different components in the frame. So I need to color them before sending them to curses. I mean it has to be done in the Drawille Canvas.