Complete this logo project in Python turtle graphics -


i have been trying design below image using python turtle graphics.

enter image description here

so far, have come with.

enter image description here

here code snippet.

from turtle import turtle t=turtle() t.hideturtle() t.speed(0)  def text():     t.color("blue")     t.write("aol",align="center",font=("adobe gothic std b",100,"bold"))  def circle_with_color_fill():     t.up()     t.setpos(200,50)     t.down()     t.color("blue")     t.begin_fill()     t.circle(40)     t.end_fill()  def circle():     t.up()     t.setpos(200,40)     t.down()     t.color("blue")     t.circle(50)  text() circle_with_color_fill() circle() t.screen.mainloop() 

can suggest how can triangles?

since have text worked out, here's rough approximation of logo using stamping:

from turtle import turtle, screen  stamp_unit = 20  screen = screen()  aol = turtle(shape='triangle', visible=false) aol.color('blue') aol.turtlesize(140 / stamp_unit) aol.stamp()  aol.shape('circle') aol.turtlesize(80 / stamp_unit, outline=12) aol.color(screen.bgcolor(), 'blue') aol.stamp()  screen.exitonclick() 

output

enter image description here


Comments

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -