Spork is a small Win32 graphics demo written in the Odin programming language that creates a native Windows window and renders a software framebuffer. It implements an offscreen DIB backbuffer, a main loop with high-resolution timing, basic keyboard handling, and a simple animated gradient to demonstrate pixel blitting and window painting via the Win32 API. The project also includes a tracking allocator to surface memory leaks and serves as a compact learning/reference example for low-level graphics and Win32 interoperability in Odin. I am following the Handmade Hero series by Casey Muratori and, as of now, this shall remain a learning project and not the end-goal Spork tool I envision. Maybe one day...
- Odin Programming Language
- VS Code
- Windows 10/11
Use the provided launch configurations in VS Code to build and run the project. If these become out of date, reference the tasks.json file for the build commands and update as needed.