tubeshowcase●♡ My collection 0
← Learn to Code

Learn to Code1:33:40

Low-Level Graphics in C – Pixel Manipulation and Frame Buffers

freeCodeCamp.org ↗

From the creator

This C programming course teaches you about direct pixel manipulation and graphics. By leveraging the cross-platform power of the SDL3 library, you will learn how to safely navigate modern operating system restrictions to build a low-level software renderer from scratch. This hands-on approach will demystify how computers handle memory and CPU instructions, ultimately culminating in rendering the classic Doom fire effect directly to a frame buffer. Code: https://github.com/gustavopezzi/sdl3-framebuffer ❤️ Support for this channel comes from our friends at Scrimba – the coding platform that's reinvented interactive learning: https://scrimba.com/freecodecamp ⭐️ Chapters ⭐️ - 00:00:00 Introduction to the Course and Low-Level Pixel Manipulation - 00:05:28 Understanding Monitor Resolutions and the Frame Buffer - 00:09:13 Modern Operating System Restrictions vs. MS-DOS - 00:13:36 Using SDL3 for Cross-Platform Hardware Access - 00:17:47 Overview of SDL Initialization, Windows, Renderers, and Textures - 00:24:47 Installing SDL3 on Mac OS, Linux, and Windows - 00:28:12 Setting up `main.c`, Compiling, and Creating a Makefile - 00:34:41 Defining the Frame Buffer Resolution and Array - 00:37:38 Creating the SDL Window, Renderer, and Texture - 00:46:13 Polling System Events and Creating the Main Game Loop - 00:51:14 Binding the Frame Buffer Array to the SDL Texture - 01:00:27 Implementing Error Checking for SDL Functions - 01:04:48 The `put_pixel` Function: Mapping 2D Coordinates to a

Published 2026-08-03 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code