stage.set_background_color("black")
words = codesters.Text("The Modules of Synergetics", 0, 0, "gold")
stage.wait(5)
stage.remove_sprite(words)
def show_slide(slide_name, caption, size=0.5, duration=5):
slide = codesters.Sprite(slide_name)
slide.move_up(20)
slide.set_size(size)
words = codesters.Text(caption, 0, -220, "gold")
stage.wait(duration)
stage.remove_sprite(slide)
stage.remove_sprite(words)
slide_names = ["A-module_7c9", "B-modules_f5b",
"mite_e_module_b64", "mite_e_module_b64",
"MITE_641", "S_Modules_46d", "AvsB_ea1",
"T-modules_7c9", "TE_difference_084"]
captions = ["Tetrahedron slices up into 24 A modules",
"Octahedron - Tetrahedron = 24 B modules",
"Unit Sphere inside Rhombohedra: RD & RT",
"RD = 120 Mites; RT = 120 E-modules ",
"Mite: (Left & Right) A + (Left or Right) B",
"Octahedron - Icosahedron = 24 S modules",
"Volumes A = B = T = 1/24; MITE = 1/8",
"T is also 1/120 of RT...",
"...but E is a tiny bit bigger..."]
for name, caption, size in zip(slide_names, captions,
[.5, .5, .6, .6, 1.0, 1.0, .5, 0.8, 0.8]):
show_slide(name, caption, size)
-
Run Code
-
-
Stop Running Code
-
Show Chart
-
Show Console
-
Codesters How To (opens in a new tab)