Files
acmp/programm/turtle_drawing.py
2025-12-05 11:48:13 +05:00

28 lines
392 B
Python

import turtle as t
from math import*
import tqdm as tq
t.color('red', 'yellow')
t.begin_fill()
t.shapesize()
t.resizemode('user')
t.shapesize(1,1,0.1)
def load_normalaze():
t.setx(-100)
t.setx(100)
t.setx(0)
t.sety(100)
t.sety(-100)
t.sety(0)
load_normalaze()
for i in tq.tqdm(range(100), ncols=80):
t.setx(i)
t.sety(sin(i)*30)
t.end_fill()
t.done()