top of page

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

Mar 3, 2022
1 min read

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

 
 
 

Recent Posts

See All
Competitive Exam Question on Ages

Present ages of Sriram and Anand are in the ratio of 5 : 4 respectively. Three years hence, the ratio of their ages will become 11 : 9...

 
 
 

1 Comment


charlieave9
Aug 21

It is always impressive seeing how standard graphics libraries or modules like sketchpy can transform detailed portraits like Robert Downey Jr. into automated vector line art. Converting an image to an SVG, extracting coordinate paths using svgpathtools, and then having the Turtle pen trace out the face line-by-line is such a clever project for getting a handle on coordinate systems and pathing. Leaning on supplementary docs or a Visual Studio Assignment Writing Help guide definitely saves time when configuring vector rendering paths in Python. It leaves me wondering how tricky it would be to add dynamic shading and real-time colour fills rather than stick purely to single-line outlines.

Like
bottom of page