(now=0.0)
| 252 | |
| 253 | @create_proxy |
| 254 | def animate(now=0.0): |
| 255 | data = analyser.getFrequencyData()#.to_py() in Pyodide |
| 256 | audio_now = player.running_time |
| 257 | bs.update(data, audio_now) |
| 258 | |
| 259 | if grid_width: |
| 260 | offset = -((20 * audio_now) % grid_width) |
| 261 | scale_lines(offset=offset) |
| 262 | |
| 263 | renderer.render(scene, camera) |
| 264 | stats_gl.update() |
| 265 | |
| 266 | def reset(): |
| 267 | global scroll_offset |
nothing calls this directly
no test coverage detected