Almar Klein

Results 1569 comments of Almar Klein

I just did some benchmarking on the encoding of ndarray data in Python. Perhaps this helps create some enthusiasm for this feature :) I used a test array of 1000x1000...

The direction we're heading: regarding our API we're going for consistency and good documentation instead of adding convenience "shortcuts". An easier (higher level) API would be a separate layer (like...

I also think that PyGfx should *not* offer a plotting API itself, but rather that it'd be a new library that sits on top of PyGfx. It may be worth...

fastplotlib 😆 Will check it out, very interesting!

Also check out https://observablehq.com/@rreusser/selecting-the-right-opacity-for-2d-point-clouds and https://observablehq.com/@tuner/selecting-the-right-opacity-for-2d-point-clouds-with-sdf-ant

> See here: https://github.com/gfx-rs/wgpu-native/commit/6d63d53044aae6bc958578d147dda7aca9e342d0 Yeah, it's biefly been there, but removed just a little while later: https://github.com/gfx-rs/wgpu-native/commit/c4c66465367c329fb5bc9455441ecf92dcb08700#diff-cc8e93e710bd9ac3eaa9ca09299e28ba2839191111c4157a43936d8e6e8b26a1 It seems like its (at least currently) not part of the webgpu spec....

Yes, its sort of standard practice to use vertex buffers, but that's also because storage buffers are not around for that long. Or at least they always felt "advanced/special" in...

I think we have two options. I'll try to list some pro's and cons: * Don't use vertex buffers in PyGfx. * pro: Simpler codebase (everything is a binding). *...

After some research, and discussions this morning, we've decided to use storage buffers everywhere and drop support for vertex buffers for the `Shader` objects. Arguments: * From what I could...