from JMSSGraphics import *

jmss = Graphics(width = 640, height = 480, title = "Line of Balls", fps = 60)

image = jmss.loadImage("ball.png")
xpos = 0

@jmss.mainloop
def DrawLine():
    global xpos 
    jmss.clear()

    num = 0
    xpos = 0

    while num <= 5:
        jmss.drawImage(image, x = xpos, y = 0, width = 50, height = 50)
        num += 1
        xpos += 10

jmss.run()
    
    

