Grilled Cheese

ExploreLog inSign up

@yum-food.bsky.social

@yum-food.bsky.social

30 Following30 Followers

turn the pixels on and back off again learning webgpu and implementing fourier transforms rn

PostsRepliesMedia
@yum-food.bsky.socialNov 20, 2026, 7:51 AM

just the way gabe intended <3

Photo, no description
@yum-food.bsky.socialNov 20, 2026, 6:25 AM

dreaming of a better day where i can exit steamvr without having to send a SIGKILL 🥰

@yum-food.bsky.socialNov 15, 2026, 12:39 AM

the bunny of self-reflection asks if you're ruminating again

a grayscale 3d rabbit in wide fov
@yum-food.bsky.socialNov 8, 2026, 8:35 PM

this doesn't touch on the ocean stuff at all. i have a lot to say, since both seminal papers on the subject (by Tessendorf and Horvath) contain significant errors and omissions. i'm planning to make a nice interactive webgpu ocean wave sim. i think i'll do that writeup once that's done.

@yum-food.bsky.socialNov 8, 2026, 8:31 PM

now that shaderfes submissions have closed, i can share a quick writeup of the math behind one of my exhibits.

i used an fft to crunch an ocean wave sim in real time. the core problem is, how do you reindex an algorithm that does scattered writes into a pixel shader?

yummers.dev/a-pixel-shad...

yummers.deva pixel shader FFTDeriving an FFT that runs in a pixel shader.
@yum-food.bsky.socialNov 8, 2026, 12:12 AM

AAAAAAAAAA I FORGOT TO TEST WITH BLOOM ENABLED 😭

mysterious colorful squares flooding bloom because they render colors outside the usual [0, 1] range
@yum-food.bsky.socialNov 7, 2026, 2:44 AM

this is the "behind the scenes" computation for one of my exhibits. to see what it's doing, visit the map when it comes out :~)

@yum-food.bsky.socialNov 7, 2026, 2:43 AM

my shaderfes submission is finally done 😩 #vrchat #unity3d

mysterious colorful squares that will be explained at a later date
@yum-food.bsky.socialOct 29, 2026, 6:05 AM

withered hannah montana linux

@yum-food.bsky.socialOct 29, 2026, 5:39 AM

holy shit lol i love this

@yum-food.bsky.socialOct 24, 2026, 5:17 AM

oh and I forgot to mention that this is *scalar mode.* rustfft blows this out of the water with simd enabled.

@yum-food.bsky.socialOct 24, 2026, 2:12 AM

Image 1: Apple M5 numbers Image 2: 9800x3d numbers

Performance numbers comparing my FFT implementation (VFFT) to the main Rust implementation (rustfft). Test conducted on Apple M5 CPU. vfft appears to be ~50% faster on most input sizes.Performance numbers comparing my FFT implementation (VFFT) to the main Rust implementation (rustfft). Test conducted on AMD 9800x3D CPU. vfft appears to be ~5-10% faster on most input sizes.
@yum-food.bsky.socialOct 24, 2026, 2:11 AM

I finished extending my FFT implementation so it can support any length input which has factors 2, 3, 5 and 7!

It beats the equivalent scalar code from rustfft by ~50% on my M5 Macbook, and more modestly (~5-10%) on my 9800x3D.

article: yummers.dev/a-more-gener...
code: git.yummers.dev/yum/vfft/

yummers.deva more general FFTDeriving an FFT for composite-length inputs.
@yum-food.bsky.socialOct 21, 2026, 5:43 PM

mixed-radix fft is way simpler than i expected. some pretty diagrams i made in app.diagrams.net helped me understand it :)

article hopefully in the next week or so!

#signalprocessing #fft

Data flow diagram showing how data moves through a 3-stage radix-2 fftData flow diagram showing how a radix-4 butterfly can't process a length-8 inputData flow diagram showing how a combination of radix-2 and radix-4 butterflies can process a length-8 input
@yum-food.bsky.socialOct 20, 2026, 5:59 AM

my webgpu fft implementation is getting closed to vkfft. length-4096 single-precision c2c in 87 ns (vs 78 ns) on rtx 3090, 680 ns (vs 610 ns) on apple m5. fun fact: that 87 ns benchmark consumes ~11x more data bandwidth than pcie 4.0 x16 can provide

Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-12-03 22:42:33 EST