Saturday, January 14, 2023

Python Turtle Graphics Drawing - BlackBerry Logo

Python Turtle Graphics Drawing - BlackBerry Logo

Youtube


Source code:

from turtle import *

setup(600,500)
bgcolor('black')
color('white')

def bb(x,y):
    up()
    goto(x,y)
    down()
    begin_fill()
    seth(257.5)
    fd(92.2)
    lt(102.5)
    fd(76)
    rt(1.1)
    circle(91.3,30.8)
    lt(6.4)
    circle(48.7,54.7)
    rt(0.5)
    circle(34.3,61.4)
    rt(0.8)
    circle(63.6,27.3)
    lt(1.8)
    fd(76)
    end_fill()

bb(-56,48)
bb(-216,183)
bb(-32,183)
bb(136,102)
bb(110,-38)
bb(-82,-93)
bb(-240,48)
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 (...