Master Shaders from Scratch: Free JavaScript & p5.js Course Launches
A new comprehensive course, "Intro to Shaders – JavaScript & p5.js Course for Beginners," is now available, teaching the fundamentals of shaders without requiring any prior experience. Hosted by Patt Vira on the freeCodeCamp.org channel, the course starts with the basics of how the GPU renders pixels and progresses to building an animated, fractal heart effect written entirely from scratch.
The course begins with an introduction to shaders, explaining what they are and how they act as a bridge between the CPU and GPU. It then covers vertex and fragment shaders before diving into coding with p5.js and the GLSL language. Learners will set up canvas space in a vertex shader and gradually build up to creating complex visual effects.
Designed specifically for creative developers who want to break into WebGL and master the math of motion, this course offers a hands-on, step-by-step approach. The full video is available on YouTube under the freeCodeCamp.org channel, which has 11.8 million subscribers.