太极

import turtle as t
"""
@author RansySun
@create 2019-07-27-19:58
"""
t.title("太极")
# 抬笔
t.penup()
t.goto(0, -50)
t.pendown()

# 阴中有阳
t.begin_fill()
t.fillcolor('black')
t.circle(150, 180)
t.circle(75, 180)
t.circle(-75, 180)
t.end_fill()

# 阳中有阴
t.circle(-150, 180)

# 抬笔
t.penup()
t.goto(0, 160)
t.pendown()

# 阳中有阴
t.begin_fill()
t.fillcolor("white")
t.circle(30, 360)
t.end_fill()

# 抬笔
t.penup()
t.goto(0, 0)
t.pendown()

# 阴中有阳
t.begin_fill()
t.fillcolor("black")
t.circle(30, 360)
t.end_fill()

t.done()

太极

posted @ 2019-07-27 20:23  RandySun  阅读(226)  评论(0编辑  收藏  举报