A live coding session building a triangular HSV color picker widget in C for a software-rendered game engine. The developer implements the color wheel from scratch using barycentric coordinates to interpolate saturation and value within a triangle, while the outer ring represents hue. Key topics include HSV-to-RGB conversion (borrowed from raylib), software rasterization of triangles, polar coordinate math for placing triangle vertices, and immediate-mode UI component design. The session also touches on the game's entity system, level editor, and the developer's philosophy on copying single functions from libraries instead of taking full dependencies.
•3h 21m watch time
1 Comment
Sort: