Livecoding workshop

Hello all! Welcome to the Livecode Shader Workshop page!

Taught by: Char Stiles ( @charstiles

Teaching Assistant: Olivia McKayla Ross ( @cyber.doula

Brought to you by: CODAME ( @codame

GLSL is the OpenGL Shading Language, a C-like programming language that allows you to to code powerful graphics programs (called shaders) directly on your computer’s graphics card. In this workshop, you’ll learn how to livecode GLSL shaders using an online software. Livecoding is a method of programming in which one’s changes to the code are realized immediately and in real-time. This is an ideal way to create realtime graphics (music visualizers) for audiovisual performances.

No programming experience required, but recommended.
Please bring your own laptop.



11:30 – 11:45 PDT, 2:30 – 2:45 EDT (15 min) Introduction to livecoding.

11:45 – 12:30 PDT, 2:45 – 3:30 EDT (45 min) We will write a shader together.

12:30 – 1:00 PDT, 3:30 – 4:00 EDT (30 min) break off into groups for workshopping time.

1:00 – 1:15 PDT, 4:00 – 4:15 EDT (15 min) Those who wish can show their music visualizer or scene. I will take questions and present steps going forward to learn more about shader coding.

onwards  (??min) Algorave! (& leave if you need/want to go)


👋 The Force by Shawn Lawson the editor we are using:

🎞 Link to my presentation slides:

🌈 CODAME Slides for the exact code we wrote in one nice page that also has link to the form to upload your shader and the feedback form:

🖼 UPLOAD your shader for the gallery (it’s also in the CODAME slides up there but I thought I’d link it here again 🙂


🧰 Here you can find the glsl sticker sheet

🧮 Here is an online graphing calculator, very helpful when writing shaders:

🎨 Here is the cosPalette function graphed out:


Checkpoint 0

Here is the first checkpoint (its okay if we just get up to here):

Here is the second checkpoint:

Here is the final checkpoint:

Here is some code to use the webcam and backbuffer:

Next Steps

These are some specific suggestions from me if you want to continue learning but don’t know how to start.

1. Learn the maths from The Book of Shaders
** If you haven’t looked at this already, look through it! Its wonderfully paced and has a lot of versatile useful information:

More online math


Learn more about GLSL shader functions:


Learn more math that is relevant from an awesome youtube channel 


Some easing functions if sin & cos get boring 🙂


2. Get into 3D!

** on May 30th I’m teaching another workshop on 3D shader coding we will go through this code here: you can buy tickets here:

** If you can’t make that or if this format doesn’t work for you, this tutorial here: is super thorough and really useful!

3. Get involved Online

You can see some amazing shaders online at