How to draw RDJ with python with just 3 lines of code [SUPER EASY!!]

 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.rdj() pen.draw()
That's it !! you have successfully drawn RDJ 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 project and code follow our youtube channel

0 Comments