Text Size
Text Size
Exit Full Screen
Python Mini
Show
Source Code
View Source Code in Full Screen
Open in New Tab
from turtle import Turtle tor = Turtle() import random def red(): red = random.randint(1, 255) return red def green(): green = random.randint(1, 255) return green def blue(): blue = random.randint(1, 255) return blue freq = 0.5 tor.penup() tor.speed(10) for num in range(200): rojo = red() verde = green() azul = blue() tor.color(rojo, verde, azul) tor.forward(freq) tor.left(5) tor.stamp() freq = freq + 0.25
ch_spiral.py
( around 24 lines python code )
Published By:
EM5700
Published on
2019-11-15T23:29:41Z
Python Mini
- an
OYOclass
application,
own your own class today
.
Run
Result
×
Error message shows here