Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
 display.bgpic("map.gif") # display.bgpic("ADD PATH OF map.gif AS PER YOUR DIRECTORY")

 display.register_shape("iss.gif") # display.register_shape("ADD PATH OF iss.gif AS PER YOUR DIRECTORY")

 iss.shape("iss.gif") # iss.shape("ADD PATH OF iss.gif AS PER YOUR DIRECTORY")
  • Loading branch information
NirbheekKumar authored Jul 19, 2024
1 parent 565d5fc commit efc5895
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Projects/ISS/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ def track_iss():
display = turtle.Screen()
display.setup(1280, 720)
display.setworldcoordinates(-180, -90, 180, 90)
display.bgpic("Projects/ISS/map.gif") # ADD PATH OF map.gif AS PER YOUR DIRECTORY
display.register_shape("Projects/ISS/iss.gif") # ADD PATH OF iss.gif AS PER YOUR DIRECTORY
display.bgpic("map.gif") # display.bgpic("ADD PATH OF map.gif AS PER YOUR DIRECTORY")
display.register_shape("iss.gif") # display.register_shape("ADD PATH OF iss.gif AS PER YOUR DIRECTORY")

iss = turtle.Turtle()
iss.shape("Projects/ISS/iss.gif") # ADD PATH OF iss.gif AS PER YOUR DIRECTORY
iss.shape("iss.gif") # iss.shape("ADD PATH OF iss.gif AS PER YOUR DIRECTORY")
iss.penup()

try:
Expand Down

0 comments on commit efc5895

Please sign in to comment.