Skip to content

Commit

Permalink
v5
Browse files Browse the repository at this point in the history
  • Loading branch information
neverfriendme committed Aug 20, 2024
1 parent 8af9fba commit c6a078e
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 17 deletions.
14 changes: 10 additions & 4 deletions Shape-maker.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from turtle import *
__name__ == "__main__"
Version = "version 5 pre-release"
Version = "Version 5"
print(Version)
print("Exit\nForm\nlistfunc\nhelp")
print("Exit\nForm\nlistfunc\nspecial\nhelp")
if 1 == 1:
while True:
WF = input("")
Expand All @@ -21,8 +21,11 @@
print("exiting")
exit()
elif WF == "listfunc.[Form]":
import funcs
funcs.listfunc_form()
import funcs
funcs.listfunc_form()
elif WF == "listfunc.[special]":
import funcs
funcs.listfunc_spec()
elif WF == "Form.hexa":
import funcs
funcs.Form_hexa()
Expand All @@ -35,6 +38,9 @@
elif WF == "Form.squa":
import funcs
funcs.Form_squa()
elif WF == "special.special1":
import funcs
funcs.Form_spec1()
elif WF == "help" or "?h":
import funcs
funcs.help()
28 changes: 15 additions & 13 deletions funcs.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from turtle import *

import math

def Form_cric():
if 1 == 1:
Expand Down Expand Up @@ -39,29 +39,31 @@ def Form_dode():
forward(area)
left(30)
right(area * 1.6)

def Form_tria():
area = 1/2 * 600
if 1 == 1:
while True:
forward(area)
left(60)
right(area)

def Form_squa():
area = 10/20 * 300
if 1 == 1:
while True:
forward(area * 2)
left(60)
right(area)











# --special--
def listfunc_spec():
print(".special1\nMore updates coming soon!")
def Form_spec1():
side1 = 5/math.pi
side2 = 100/math.pi
if 1 == 1:
while True:
forward(side2 * 3)
left(side1 * 4)
right(side2 * 4)
forward(side1 * 3)

0 comments on commit c6a078e

Please sign in to comment.