@@ -0,0 +1,1325 @@
+from ggame import App, Color, LineStyle, Sprite%0Afrom ggame import RectangleAsset, CircleAsset%0Aimport math%0A%0ASCREEN_WIDTH = 1536%0ASCREEN_HEIGHT = 1024%0A%0Aclass Axis(Sprite):%0A    %0A    xaxis = RectangleAsset(1500,1, thinline, black)%0A    yaxis = RectangleAsset(1,1050, thinline, black)%0A    %0A    def __init__(self, position):%0A        super().__init__(Axis.asset, position)%0A%0Aclass Dot(Sprite):%0A    %0A    dot1 = RectangleAsset(2,2, thinline, red)%0A    dot2 = RectangleAsset(2,2, thinline, blue)%0A%0A    def __init__(self, position):%0A        super().__init__(Dot.asset, position)%0A        self%0A    %0A    def Linear(self):%0A        self.y = k * self.x + b%0A        %0A    def step(self):%0A        self.Linear()%0A        Dot((self.x,self.y))%0A        self.x += 1%0A%0Aclass Grapher(App):%0A    def __init__(self, width, height):%0A        super().__init__(width, height)%0A        %0A        red = Color(0xff0000, 1.0)%0A        green = Color(0x00ff00, 1.0)%0A        blue = Color(0x0000ff, 1.0)%0A        black = Color(0x000000, 1.0)%0A        purple = Color(0xff00ff, 1.0)%0A        thinline = LineStyle(0, black)%0A        %0A        sprite1 = Sprite(xaxis, (0, 404))%0A        sprite2 = Sprite(yaxis, (718, 0))%0A        %0A    def step():%0A        for dot in self.getSpritesbyClass(Dot):%0A            dot.step()%0A            %0Amyapp = Grapher(SCREEN_WIDTH, SCREEN_HEIGHT)%0Amyapp.run()%0A

Create grapher.py