我在 Ubuntu 20.04、Python 3.8.10 和 Pyglet 后端使用来自https://github.com/glumpy/glumpy/blob/master/examples/transform-pan-zoom.py的示例。这是相关的代码片段:
transform = PanZoom(Position("position"), aspect=1)
program['transform'] = transform
window.attach(transform)
变焦速度很慢。我在文档中看不到更改它的选项:https ://glumpy.readthedocs.io/en/latest/api/transform-panzoom.html 。我怎样才能加快速度?