New course! Every coder should learn Generative AI!
Try a free lesson0
How to draw in the console?
I searched about it on the Internet, but did not understand anything. Perhaps you can explain to me how to output shapes to the console and how to animate them, how to center them, and the like. But first me. More asego is interested in just outputting figures to the console. How to do it?
3 Answers
+ 6
Do you mean the pattern challenges?
Basically, you just print out characters so that they form a figure like a star or a crown. Have a look at the user submissions for inspiration.
Some users created animations with svg or css on sololearn Python playground, for instance, however this does not work on every regular console.
0
A console only allows for static output. For animations you need create a graphical window, usually with some canvas to draw upon.
0
I'm not talking about canvas, but drawing using characters that we output to the console. I have seen animations done using new frame output. But I'm more interested in at least the usual output of the figure to the console