17 lines
301 B
Python
17 lines
301 B
Python
|
import turtle
|
||
|
t=turtle.Turtle()
|
||
|
import random
|
||
|
t.speed(0)
|
||
|
t.pensize(10)
|
||
|
for i in range(180):
|
||
|
for j in range(8):
|
||
|
r=random.random()
|
||
|
g = random.random()
|
||
|
b = random.random()
|
||
|
t.pencolor(r,0.5,1)
|
||
|
t.forward(120)
|
||
|
t.right(360/8)
|
||
|
t.right(2)
|
||
|
turtle.done()
|
||
|
|