Untitled
unknown
plain_text
2 years ago
11 kB
8
Indexable
speed(0)
shape("classic")
# create the background of the presentation
def background():
bgcolor("black")
penup()
color("#F1C40F")
goto(0,20)
begin_fill()
circle(400)
end_fill()
pendown()
color("#7D3C98")
pensize(8)
circle(400)
penup()
goto(0,12)
color("#5B2C6F")
pendown()
circle(400)
goto(0,4)
color("#4A235A")
circle(400)
goto(0,-4)
color("#30173A")
circle(400)
goto(0,-8)
color("#1A0D20")
circle(400)
goto(0,-16)
color("#0C050E")
circle(400)
penup()
goto(0,35)
color("#E0B50F")
begin_fill()
circle(100)
end_fill()
def draw_forward_arrow():
penup()
goto(140, -180)
seth(0)
pensize(4)
color("white")
pendown()
forward(50)
left(140)
forward(10)
backward(10)
right(280)
forward(10)
penup()
goto(0,0)
seth(0)
def draw_backward_arrow():
penup()
goto(-135, -180)
seth(0)
pensize(4)
color("white")
pendown()
backward(55)
left(45)
forward(10)
backward(10)
right(85)
forward(10)
penup()
goto(0,0)
seth(0)
def slide_one():
background()
penup()
color("#7D3C98")
goto(0,150)
write("VFX Artists", font=("Fantasy", 25, "bold"), align=("center"))
goto(0,120)
color("#black")
write("and", font=("Fantasy", 20, "bold"), align=("center"))
goto(0,75)
color("#7D3C98")
write("PYTHON!", font=("Fantasy", 40, "bold"), align=("center"))
penup()
goto(0,-170)
color("White")
write("By Ugeatha!", font=("Fantasy", 20, "bold"), align=("center"))
print("Welcome to Ugeatha Kalaichandran's presentation about Python, and how it relates to VFX artists!")
print(" ")
print("Press the forward ARROW (--->) in the bottom right corner to proceed to the next slide")
print("Press the backward ARROW (<---) in the bottom left corner to go to the previous slide")
print(" ")
draw_forward_arrow()
draw_backward_arrow()
def slide_two():
clear()
background()
penup()
goto(0,115)
color("#7D3C98")
write("What is a VFX Artist?", font=("Fantasy", 25, "bold"), align=("center"))
goto(0,-50)
color("white")
write("VFX artists are responsible for creating visual images,", font=("Monospace", 8, "bold"), align=("center"))
goto(0,-65)
write("animations, and special effects to enhance film using", font=("Monospace", 8, "bold"), align=("center"))
goto(0,-80)
write("computer software. The role requires the seamless integration", font=("Monospace", 8, "bold"), align=("center"))
goto(0,-95)
write("of these effects into live action in feature films,", font=("Monospace", 8, "bold"), align=("center"))
goto(0,-110)
write("television and, increasingly, online and console gaming.", font=("Monospace", 8, "bold"), align=("center"))
draw_forward_arrow()
draw_backward_arrow()
def slide_three():
clear()
background()
penup()
goto(0,115)
color("#7D3C98")
write("What is Python?", font=("Fantasy", 25, "bold"), align=("center"))
goto(0,-35)
color("white")
write("Python is a popular general-purpse, high level", font=("Monospace", 8, "bold"), align=("center"))
goto(0,-50)
write("programming language that is commonly used for", font=("Monospace", 8, "bold"), align=("center"))
goto(0,-65)
write("devloping websites and software, task automation, data", font=("Monospace", 8, "bold"), align=("center"))
goto(0,-80)
write("analysis, and data visualisation. It's the fasted growing", font=("Monospace", 8, "bold"), align=("center"))
goto(0,-95)
write("programming languages, and is known for its simplicity,", font=("Monospace", 8, "bold"), align=("center"))
goto(0,-110)
write("and readability, making it beginner friendly. Python can", font=("Monospace", 8, "bold"), align=("center"))
goto(0,-125)
write("solve more complex codes in less time with fewer lines", font=("Monospace", 8, "bold"), align=("center"))
goto(0, -140)
write("of code. Python's versatility and other factors makes", font=("Monospace", 8, "bold"), align=("center"))
goto(0,-155)
write("it a popular choice for beginner and professionals alike", font=("Monospace", 8, "bold"), align=("center"))
draw_forward_arrow()
draw_backward_arrow()
def slide_four():
clear()
background()
penup()
goto(0,125)
color("#7D3C98")
write("How is python", font=("Fantasy", 25, "bold"), align=("center"))
goto(0, 90)
write("used in the industry?", font=("Fantasy", 25, "bold"), align=("center"))
goto(0,-35)
color("white")
write("Many VFK studios use python to automate tasks", font=("Monospace", 8, "bold"), align=("center"))
goto(0,-50)
write(" such as rendering, compositing and animation. Python's", font=("Monospace", 8, "bold"), align=("center"))
goto(0,-65)
write("ability to manipulate data and automate tasks makes it a", font=("Monospace", 8, "bold"), align=("center"))
goto(0,-80)
write("valuable tool for creating realistic and high-quality", font=("Monospace", 8, "bold"), align=("center"))
goto(0,-95)
write("visual effects. This programming languages integration", font=("Monospace", 8, "bold"), align=("center"))
goto(0,-110)
write("capabilites enable seamless data exchange between different", font=("Monospace", 8, "bold"), align=("center"))
goto(0,-125)
write("software components, contributing to faster production cycles", font=("Monospace", 8, "bold"), align=("center"))
goto(0, -140)
write("greater efficiency in creating stunning visual effects for", font=("Monospace", 8, "bold"), align=("center"))
goto(0,-155)
write("films, television shows, and advertisements.", font=("Monospace", 8, "bold"), align=("center"))
draw_forward_arrow()
draw_backward_arrow()
def slide_five():
clear()
background()
penup()
goto(0,125)
color("#7D3C98")
write("Why would a VFX", font=("Fantasy", 25, "bold"), align=("center"))
goto(0, 90)
write("artist use python?", font=("Fantasy", 25, "bold"), align=("center"))
goto(0,-35)
color("white")
write("Python allows artists to customice their workflows by", font=("Monospace", 8, "bold"), align=("center"))
goto(0,-50)
write("creating custom tools, scripts, and plugins tailored to their", font=("Monospace", 8, "bold"), align=("center"))
goto(0,-65)
write("specific needs and preferences. This enhances productivity", font=("Monospace", 8, "bold"), align=("center"))
goto(0,-80)
write("and trims repetitive tasks.Python frees up VFX artists", font=("Monospace", 8, "bold"), align=("center"))
goto(0,-95)
write("time to focus on more creative aspects on their work by", font=("Monospace", 8, "bold"), align=("center"))
goto(0,-110)
write("enabling automation of repetitive and time consuming tasks", font=("Monospace", 8, "bold"), align=("center"))
goto(0,-125)
write("such as file management, data processing, rendering, and more.", font=("Monospace", 8, "bold"), align=("center"))
goto(0, -140)
write("VFX artists can use python scripts to seamlessly exchange", font=("Monospace", 8, "bold"), align=("center"))
goto(0,-155)
write("data and assets between various tools.", font=("Monospace", 8, "bold"), align=("center"))
draw_forward_arrow()
draw_backward_arrow()
def slide_six():
clear()
background()
penup()
goto(0,125)
color("#7D3C98")
write("Why would a VFX", font=("Fantasy", 25, "bold"), align=("center"))
goto(0, 90)
write("artist use python? (pt.2)", font=("Fantasy", 25, "bold"), align=("center"))
goto(0,-45)
color("white")
write("VFX artists can work more efficiently as python provides", font=("Monospace", 8, "bold"), align=("center"))
goto(0,-60)
write("solutions for a wide range of tasks, from data manipulation", font=("Monospace", 8, "bold"), align=("center"))
goto(0,-75)
write("to asset tracking. Python's simpilicity and readability", font=("Monospace", 8, "bold"), align=("center"))
goto(0,-90)
write("makes it accessible to artists with different levels of", font=("Monospace", 8, "bold"), align=("center"))
goto(0,-105)
write("programming experiene. It's straightworward, and enables", font=("Monospace", 8, "bold"), align=("center"))
goto(0,-120)
write("to quickly learn and leverage python for their creative", font=("Monospace", 8, "bold"), align=("center"))
goto(0,-135)
write("aspirations.", font=("Monospace", 8, "bold"), align=("center"))
draw_forward_arrow()
draw_backward_arrow()
def slide_seven():
clear()
background()
penup()
goto(0,125)
color("#7D3C98")
write("Is python required", font=("Fantasy", 25, "bold"), align=("center"))
goto(0, 90)
write("become a VFX artist?", font=("Fantasy", 25, "bold"), align=("center"))
goto(0,-55)
color("white")
write("Python is not strictly required to become a VFX artist,", font=("Monospace", 8, "bold"), align=("center"))
goto(0,-70)
write("but it is greatly beneficial. Many VFX studios use Python", font=("Monospace", 8, "bold"), align=("center"))
goto(0,-85)
write("extensively, so having the knowledge of Python can give you", font=("Monospace", 8, "bold"), align=("center"))
goto(0,-100)
write("a significant advantage in the industry.", font=("Monospace", 8, "bold"), align=("center"))
draw_forward_arrow()
draw_backward_arrow()
def slide_eight():
clear()
background()
penup()
goto(0,110)
color("#7D3C98")
write("THE ENDD!", font=("Fantasy", 30, "bold"), align=("center"))
goto(0,-170)
color("White")
write("By Ugeatha!", font=("Fantasy", 20, "bold"), align=("center"))
goto(0,-70)
write("Thank you for watching!", font=("Monospace", 8, "bold"), align=("center"))
draw_backward_arrow()
def next_slide(x,y):
# they are trying to change slides
if x > 130 and x < 200 and y < -170 and y > -200:
canvas.count = canvas.count +1
#print(canvas.count)
if canvas.count == 1:
slide_two()
Print(" ")
elif canvas.count == 2:
slide_three()
elif canvas.count == 3:
slide_four()
elif canvas.count == 4:
slide_five()
elif canvas.count == 5:
slide_six()
elif canvas.count == 6:
slide_seven()
elif canvas.count == 7:
slide_eight()
if x > - 200 and x < -130 and y < -170 and y > -200:
canvas.count = canvas.count -1
#print(canvas.count)
if canvas.count == 0:
clear()
slide_one()
if canvas.count == 1:
slide_two()
elif canvas.count == 2:
slide_three()
elif canvas.count == 3:
slide_four()
elif canvas.count == 4:
slide_five()
elif canvas.count == 5:
slide_six()
elif canvas.count == 6:
slide_seven()
#def back_slide
canvas = getscreen()
canvas.count = 0
canvas.onclick(next_slide)
slide_one()Editor is loading...
Leave a Comment