A monochrome paint with possible but limited input and output because of the calculator limitations.
It was made to create map for grid based games or sprites ( I used it to create chess pieces for my chess game or to create map for my plateformer).
How to use:
The console prompt will ask you the settings you want.
You can change the length in pixels of the side of the painted squares (a zoom, only for comfort purposes won’t change the output).
You can also change the width and height resolution of the canvas.
Arrows move the cursor (red square).
1 to select the pencil tool (black squares, will count as drawn pixel).
0 to select the eraser(white squares, will count as not drawn pixel).
Shift to use the tool.
“x,n,t” key to use your tool on the entire canvas.
Alpha can be used to apply your tool on a rectangle, two presses are needed to define the two corners of the rectangle.
Exe will stop the program, you need to press a key to see the shell back.
Ans will output the final drawing in the command prompt, while the cursor is not red it is still processing your drawing, if it is too big it may not works as well. It is a tuple with three values, the first one is a string which encodes the entirety of your drawing, the two others are the dimensions (first width then height) of the canvas. If you drawing is too large the calculator isn’t able to copy paste the entire string (219 characters copy limit) so you’l have to copy paste each line to your program, just don’t put the line breaks.
I wrote a function in another one of my scripts (“draw_function”) which is able to use this output with the kandinsky module.