Tuesday, November 22, 2022

Python Turtle Graphics Drawing - Adobe Logo

 Python Turtle Graphics Drawing - Adobe Logo

Youtube


Source code:

from turtle import *

def adobe(s):
    up()
    goto(-20*s,17.5*s)
    down()
    begin_fill()
    goto(-5.2*s,17.5*s)
    goto(-20*s,-17.5*s)
    goto(-20*s,17.5*s)
    end_fill()
    up()
    goto(0,4.7*s)
    down()
    begin_fill()
    goto(9.2*s,-17.5*s)
    goto(3.1*s,-17.5*s)
    goto(0.3*s,-10.5*s)
    goto(-6.5*s,-10.5*s)
    goto(0,4.7*s)
    end_fill()
    up()
    goto(5.1*s,17.5*s)
    down()
    begin_fill()
    goto(20*s,17.5*s)
    goto(20*s,-17.5*s)
    goto(5.1*s,17.5*s)
    end_fill()
    up()

setup(640,640)
color('#FA0F00')
adobe(12)
hideturtle()
done()

No comments:

Post a Comment

Python Turtle Graphics Drawing - Gigabyte

 Python Turtle Graphics Drawing - Gigabyte Youtube Source code: from turtle import * setup ( 600 , 600 ) color ( '#2D68AE' ) up (...