Requirements :
Python interpreter (3.6.x above)
Any text editor (VS Code recommended)
Some Creativity😉
Installing Sketchpy
Open your text editor, here I am using VS Code you can download it from here, feel free to use any text editor you want
Then open up the terminal by pressing Ctrl+`
Type the following command to install sketchpy
pip install sketchpy
you should see the output like shown below
Then type the following 3 lines to draw RDJ
from sketchpy import library as lib
pen=lib.gojo()
pen.draw()
That's it !! you have successfully drawn an gojo image with just 3 lines of code
Attention!!! Developers, if you want to contribute to this python project, check the GitHub page here
For more such projects and code follow our youtube channel
Comments