generated from mwc/project_drawing
35 lines
693 B
Python
35 lines
693 B
Python
# drawing.py
|
|
# ----------Not sure if I sumbmit it right or not
|
|
# By ____Grace__________
|
|
#
|
|
# (Halloween Theme with Spider exploding)
|
|
|
|
|
|
from turtle import *
|
|
from superturtle import *
|
|
from superturtle.movement import *
|
|
from spider import *
|
|
from spiderweb import *
|
|
from spidermov import *
|
|
|
|
# previous codes drawing a spider
|
|
# def drawing(side_length):
|
|
# draw_web(side_length)
|
|
# penup()
|
|
# goto(0, 0)
|
|
# setheading(0)
|
|
# pendown()
|
|
# draw_spider(300)
|
|
# draw_connection_line(300)
|
|
# hideturtle()
|
|
# done()
|
|
|
|
# drawing(300)
|
|
|
|
|
|
# Setup
|
|
setup(width=800, height=800)
|
|
tracer(0) # Disable automatic screen updates for smooth animation
|
|
|
|
# Draw the entire scene
|
|
draw_scene(300) |