-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
73 lines (55 loc) · 1.59 KB
/
main.py
File metadata and controls
73 lines (55 loc) · 1.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# import stuff
from tests.test_1 import test1
from tests.test_2 import test2
from tests.test_3 import test3
from tests.test_4 import test4
from tests.test_5 import test5
from tests.test_6 import test6
from tests.demo_7_bounce import *
from tests.simultaneous_collision_demo import demo
from tests.simultaneous_collision_demo_2 import demo2
from tests.collision_demo import setup
from Text import *
waittime = 4
unicorn.clear()
while(True):
t = Text(["python-physics-engine"])
t.display()
t = Text(["Test 1"])
t.display()
test1(waittime-2)
t = Text(["Test 2"])
t.display()
test2(waittime)
t = Text(["Time for something more interesting!","Test 3"])
t.display()
test3(waittime)
t = Text(["Test 4"])
t.display()
test6(waittime)
t = Text(["Let's step it up. Time for some actual physics!","Simultaneous collision demos"])
t.display()
demo(waittime)
demo2(waittime)
t = Text(["Putting it all together: random, real-time collisions"])
t.display()
setup()
t = Text(["Scaling up, we move from particle collisions to a bouncing ball"])
t.display()
# ball demos go here
waittime=5
demo_bounce(waittime)
t = Text(["How about slopes?"])
t.display()
demo_slopes(waittime)
t = Text(["Maybe multiple walls?"])
t.display()
demo_multi_objects(waittime)
t = Text(["Ooh, let's do a funnel!"])
t.display()
demo_funnel(waittime)
t = Text(["Let's put everything together."])
t.display()
demo_2_balls_funnel(waittime)
t = Text(["Thanks!! made by jonah and evan"])
t.display()