drawille icon indicating copy to clipboard operation
drawille copied to clipboard

Please add color support

Open devallabharath opened this issue 2 years ago • 2 comments

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 avatar Sep 21 '22 06:09 devallabharath

I found a way to add colors.

devallabharath avatar Sep 22 '22 04:09 devallabharath

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.

devallabharath avatar Sep 22 '22 07:09 devallabharath