def setup @yPos = 0 frameRate(30) end def draw background(204) @yPos -= 1 if @yPos < 0 @yPos = height end line(0, @yPos, width, @yPos) end