以下是部分代码预览:
"""python彩点圆艺术图形,海龟画图tkinter图像生成演示程序,本程序在海龟画图屏幕上打不同大上的彩色圆点,然后保存为ps矢量图形。
"""
from turtle import *
from random import randint,choice
from time import sleep
width,height = 600,600
color_list = ['red','orange','yellow','green','cyan','blue','purple']
screen = Screen()
screen.title("python彩点圆艺术图形,海龟画图tkinter图像生成演示程序www.lixingqiu.com")
screen.bgcolor("black")
screen.setup(width,height)
screen.delay(0)
t = Turtle(shape='circle') # 形状为圆形
t.color("white",'white') # 画笔颜色和填充颜色为白色
t.penup()
screen.mainloop()
如需要查看完整代码,请
需要浏览更多吗?
成为会员后,登陆才能继续浏览!联系微信scratch8即可办理会员。
(会员专属:能浏览所有文章,下载所有带链接的Python资源。)

