Allocations on both the CPU side and GPU side will be cleaned up quickly and automatically. No need for explicit and fine-grained destructors from the user. Lifetimes are very simple to manage.
Allocations on both the CPU side and GPU side will be cleaned up quickly and automatically. No need for explicit and fine-grained destructors from the user. Lifetimes are very simple to manage.
Only took a few hours to make, surprisingly time efficient!
Only took a few hours to make, surprisingly time efficient!
This is my wgpu wrapper. Just be aware that it's not intended for other people to use. github.com/AlexanderHar...
This is my wgpu wrapper. Just be aware that it's not intended for other people to use. github.com/AlexanderHar...
I definitely could improve the colours. They're fine for an afternoon project tho.
I definitely could improve the colours. They're fine for an afternoon project tho.
Yes, this project was nerd-sniped by www.quantamagazine.org/behold-modul...
Yes, this project was nerd-sniped by www.quantamagazine.org/behold-modul...
I highly recommend building a graphics programming wrapper. Making small programs like this is soooooooo much faster and simpler. This visualization only took 150 lines, including the shader!
See a few more below
I highly recommend building a graphics programming wrapper. Making small programs like this is soooooooo much faster and simpler. This visualization only took 150 lines, including the shader!
See a few more below
I'm not sure if the new logic is 100% the same, but I guarantee the original author also had no clue what their code was calculating either. In any case, it tests just fine.
I'm not sure if the new logic is 100% the same, but I guarantee the original author also had no clue what their code was calculating either. In any case, it tests just fine.
Like vim, it's modal. But there is no concept of a cursor in normal mode, only a selection. You can switch the selection "granularity" with h and l, then move the selection with j and k.
And ofc there are a ton more hotkeys for selection manip.
Like vim, it's modal. But there is no concept of a cursor in normal mode, only a selection. You can switch the selection "granularity" with h and l, then move the selection with j and k.
And ofc there are a ton more hotkeys for selection manip.