I want to draw a scene and sequentially add lines to it. But pyglet keeps updating without control :( , so all I get is blinks
from pyglet.gl import *
window=pyglet.window.Window()
def drawline():
...
@window.event
def on_draw():
drawline()
pyglet.app.run()
should I change the decorator(if there exist options) or what? Thanks!