Closed sr71684 closed 10 months ago
Hello,
Thanks.
Cheers
Thanks for the quick response!
I'm building an n-body astrodynamics sim for eclipsing exoplanets around a their host star (practically, this is just orbiting spheres). Ideally, I run one iteration of my dynamics loop, update the position of the spheres, and get the rendered frame (somehow). I need the rendered frame for post-processing downstream. I'd expect this read_back_image()
to be called every frame, and in a given simulaiton, there'd be on the order of 10,000 frames.
Or if reading back from webgl is slow we could, at the end of a simulation, get a sequence of rendered images, returning a (N,W,H,3) numpy array (num frames, width, height, rbg)
Hello,
I've update the project to version 0.4.0 that supports a get_image_data function.
See the documentation : https://ipywebgl.readthedocs.io/en/latest/examples/get_image_data.html
Cheers
Nice! Thanks for the quick turn around on this :+1:
Hello,
epic library. Two questions: