Metaballs SPMD thing
  • Odin 97.7%
  • Makefile 2.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-20 12:06:54 +01:00
.gitignore initial commit 2026-07-06 00:30:08 +01:00
main.odin add various optimisations, tiling, SIMD etc. 2026-07-18 10:32:23 +01:00
main_test.odin add various optimisations, tiling, SIMD etc. 2026-07-18 10:32:23 +01:00
Makefile initial commit 2026-07-06 00:30:08 +01:00
README Update README 2026-09-20 12:06:54 +01:00

 ______     __ 
|__    |.--|  |
|__    ||  _  |
|______||_____|
               

---

Learning project for writing in a shader style CPU side using Single Process,
Multiple Data (SPMD) style, which is fairly similar to how multithreading works
on the GPU.

Lets you try out that style of programming without the hassle of dealing with
DX12 or Metal or something.

Implements a really basic metaballs solution on the CPU. Just funky good fun,
I added a LUT for a sort of field strength heatmap, and gives us a cool glow
effect cheaply. Also implements a basic gravity system so there's a bit of
movement on the screen.