5 ms·
One big difference is that Fastplotlib is based on GPU tech, so its capable of rendering much larger datasets interactively.
by almarklein 2y ago
One big difference is that Fastplotlib is based on GPU tech, so its capable of rendering much larger datasets interactively.
- unnah 2y agoHow much larger? Holoviz includes the datashader library for GPU-based rendering, and here is an example with 10 million points: https://examples.holoviz.org/gallery/nyc_taxi/nyc_taxi.html https://examples.holoviz.org/gallery/nyc_taxi/nyc_taxi.html
- almarklein 2y agoI don't know Datashader that well, but from what I understand, it generates an image from a set of primitives (e.g. points), and then allows you to interactively inspect that image. It does not re-render the points on every frame like Fastplotlib/Pygfx does. Depending on your GPU, you can render say 1-50 million points smoothly. Also see e.g. https://github.com/pygfx/pygfx/discussions/819 https://github.com/pygfx/pygfx/discussions/819