I blog about my hobbies – a mix of graphics programming and gamedev – see tchayen.com
Sometimes I have very specific requirements, like Japanese rice cooker that cooks rice for a single person not a village and ships to Finland. Or a 5K IPS screen, ideally >60Hz
Sometimes I have very specific requirements, like Japanese rice cooker that cooks rice for a single person not a village and ships to Finland. Or a 5K IPS screen, ideally >60Hz
Now when I change anything and save the file, WASM module is automatically compiled and reloaded.
Now when I change anything and save the file, WASM module is automatically compiled and reloaded.
🎟️ appjs.co/tickets#Work...
🎟️ appjs.co/tickets#Work...
This is 10k individual draw calls, unoptimized, no instancing, no render bundles. Every object is controlled separately.
This is 10k individual draw calls, unoptimized, no instancing, no render bundles. Every object is controlled separately.
Today it will be… drumroll 🥁 … chicken wings
Today it will be… drumroll 🥁 … chicken wings
I was sitting with debugger staring at two memory regions and pulling my hair wondering why one and changes one doesn’t.
Having code run orders of magnitude faster than equivalent JS comes at a price…
I was sitting with debugger staring at two memory regions and pulling my hair wondering why one and changes one doesn’t.
Having code run orders of magnitude faster than equivalent JS comes at a price…
Initially 4o started by impressing me with one or two super solid code samples but the usual problems came quickly – it was hallucinating things and getting stuck in a loop on a fix attempt.
Initially 4o started by impressing me with one or two super solid code samples but the usual problems came quickly – it was hallucinating things and getting stuck in a loop on a fix attempt.
Good for me I guess but I am sorry to everyone if that’s the best resource out there. It’s just my notes from trying to learn that – they often don’t age well.
Good for me I guess but I am sorry to everyone if that’s the best resource out there. It’s just my notes from trying to learn that – they often don’t age well.
There's a render pass which draws scene to a r32_unit texture where color of mesh is its ID. Then a compute shader given mouse coordinates writes which color it was to a tiny buffer which is mapped and read back CPU side.
There's a render pass which draws scene to a r32_unit texture where color of mesh is its ID. Then a compute shader given mouse coordinates writes which color it was to a tiny buffer which is mapped and read back CPU side.
In old programming fashion, I found solution in GitHub issues of a completely unrelated project – Swift bindings for WebGPU.
In old programming fashion, I found solution in GitHub issues of a completely unrelated project – Swift bindings for WebGPU.
We have announcements, blog posts, videos, and livestreams scheduled throughout the week.
⚡ And we're getting things started today with an SDK 52 Highlight video: youtu.be/quZv3uKSEfY?...
We have announcements, blog posts, videos, and livestreams scheduled throughout the week.
⚡ And we're getting things started today with an SDK 52 Highlight video: youtu.be/quZv3uKSEfY?...