I created a live visual coding sketchbook where students can edit GLSL code and collaborate on visual sketches in the browser.
Built for my 10-week shader class Shaders Demystified: Graphics code as material for visual artists at the School for Poetic Computation, Fall 2026.
It started as a tool for my experiments and grew into a classroom app with student galleries, collaborative editing and creative coding tools.
Live Demo
Play with an online version of the platform here:
Features
- Live GLSL editing with instant preview
- Control panel for tweaking values
- Collaborative editing
- Accounts and class material administration
- Categorized teaching examples and student galleries
- And more…
Roles:
Teaching
Creative Tool Development
Graphics Programming
Tools:
GLSL / WebGL2
TypeScript / Vite
Monaco Editor
Yjs / WebSockets
Cloudflare Pages
D1 / Durable Objects / R2
Codex
Live shader editing
Students can edit GLSL code on a browser editor on one side and see the immediate resulting image on the other, with live parameters generated automatically.
The editor uses Monaco and a custom WebGL2 renderer, resolving GLSL via an automatic compiler with errors shown clearly on top of the image and highlighted on the code.
Sketch library
The teacher can categorize examples for students to learn from and students can choose to highlight their own work onto a shared class library.

Collaborative shader editing
Special collaborative rooms let students edit a shader together and see everyone’s changes in real time. They can pair with another student to learn together, specially when working online.
A learning platform
The platform also includes tools for visualizing code visually and classroom material, articles and additional resources.


Timeline animation
A tool for editing into a video lets students create audiovisual projects with their shaders.

AI Use
Using LLMs in creating the tool allowed for creating the scaffolding and adding features students requested live, with targeted prompts based on my experience building tools and creative software.
Find out more
- Try a preview version of the platform:
- Syllabus for Shaders Demystified: Graphics code as material for visual artists