python彩点圆艺术图形,海龟画图tkinter图像生成演示程序

python彩点圆艺术图形,海龟画图tkinter图像生成演示程序www.lixingqiu.com

"""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()

You must log in to read the rest of this article. Please log in or register as a user.