Loading design...

A beautiful movie closing credits created with Python Turtle. Read the code below, copy it, and try it in your own Python environment.
from turtle import *
import time
setup(width=800, height=600)
bgcolor("black")
title("Movie Credits")
tracer(30)
color("white")
penup()
hideturtle()
credits = [
"2025",
"IS OVER",
"Production Company",
"Major Studios Inc.",
"",
"Starring",
"Lead Actor",
"Lead Actress",
"Supporting Actor",
"Supporting Actress",
"",
"Directed By",
"Famous Director",
"",
"Written By",
"Screenwriter Name",
"",
"Produced By",
"Producer Name",
"Co-Producer Name",
"",
"Executive Producers",
"Executive Producer 1",
"Executive Producer 2",
"",
"Director Of Photography",
"Cinematographer Name",
"",
"Production Designer",
"Designer Name",
"",
"Costume Designer",
"Costume Designer Name",
"",
"Music By",
"Composer Name",
"",
"Film Editor",
"Editor Name",
"",
"Casting By",
"Casting Director Name",
"",
"Visual Effects",
"Vfx Company Name",
"",
"Special Thanks To",
"Location Community",
"Technical Advisors",
"Extra Talent",
"",
"This Film Was Shot On Location",
"In Various Cities Around The World",
"",
"No Animals Were Harmed",
"During The Production Of This Film",
"",
"Thank You For Watching",
"",
"The End"
]
start_y = -400
end_y = 300
line_height = 30
total_height = len(credits) * line_height
start_y = -300
end_y = total_height + 300
while True:
for y in range(start_y, end_y, 2):
clear()
current_line_y = y
for i, line in enumerate(credits):
line_y = current_line_y - (i * line_height)
if line_y > -300 and line_y < 300:
goto(0, line_y)
write(line, align="center", font=(
"Arial", 14, "normal"))
update()
time.sleep(0.03)
clear()