top | item 43340703

(no title)

almarklein | 11 months ago

One big difference is that Fastplotlib is based on GPU tech, so its capable of rendering much larger datasets interactively.

discuss

order

unnah|11 months ago

How 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

almarklein|11 months ago

I 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