Code as a creative medium: shaders, demos and generative art

20 videos · From Bezier curves and shader basics to Inigo Quilez painting with math, the demoscene's 4k and 64k masterpieces, and generative art. A tour of what a few lines of code can draw.

The Art of Code - Dylan Beattie1:00:49

The Art of Code - Dylan Beattie

NDC Conferences
4.9M views • 6 years ago
Dylan Beattie's NDC conference talk is a story-driven tour of code as a creative and expressive medium. It touches on quines, live-coded music in Sonic Pi, and his joke language Rockstar, and argues that programming can be art.
The Beauty of Bézier Curves24:26

The Beauty of Bézier Curves

Freya Holmér
2.2M views • 5 years ago
Freya Holmér builds up Bézier curves from scratch with animated, interactive visuals, starting from simple linear interpolation and working up to higher-order curves, derivatives and how they are used in graphics. It treats the topic as geometry you can see rather than a formula to memorize.
An introduction to Shader Art Coding22:40

An introduction to Shader Art Coding

kishimisu
1.3M views • 3 years ago
A tutorial by kishimisu that teaches shader art from scratch, building up a colourful animated fragment shader step by step. It covers the shader mindset, coordinates, distance functions, palettes and iteration, written as GLSL in the browser.
Painting a Character with Maths24:46

Painting a Character with Maths

Inigo Quilez
458K views • 5 years ago
Inigo Quilez live-codes a portrait of a character in a shader, building the whole image from mathematical formulas and signed distance fields. He narrates the process, so viewers see how shapes, shading and color come from code.
Learn to Paint with Mathematics24:02

Learn to Paint with Mathematics

Inigo Quilez
191K views • 12 years ago
Inigo Quilez builds an image from scratch with code, writing a simple shader step by step so the picture emerges from mathematical formulas. It is an introductory entry in his series on procedural graphics.
I painted a Landscape with Mathematics42:00

I painted a Landscape with Mathematics

Inigo Quilez
812K views • 4 years ago
Inigo Quilez live-codes a whole ray-marched landscape in a pixel shader, using only math and signed distance fields. He builds up terrain, lighting, sky and atmosphere from formulas and explains each step as he goes.
elevated by Rgba & TBC | 4k intro (FullHD 1080p demoscene demo)3:36

elevated by Rgba & TBC | 4k intro (FullHD 1080p demoscene demo)

Demoscene High-Quality Videos (Annikras)
317K views • 15 years ago
Elevated is a 4-kilobyte intro by Rgba and TBC that won the PC 4k competition at Breakpoint 2009. A flying camera tours a procedurally generated mountain landscape with music, and all of the visuals and sound are generated in real time by the 4096-byte executable.
A Mind Is Born (256 bytes)2:22

A Mind Is Born (256 bytes)

lftkryo
1.2M views • 9 years ago
A recording of A Mind Is Born, a Commodore 64 demo by Linus Åkesson that fits its music and visuals into 256 bytes of code. It plays for more than two minutes.
fr-08: .the .product by farbrausch | 64k intro (2000) (720p HQ demoscene demo)11:02

fr-08: .the .product by farbrausch | 64k intro (2000) (720p HQ demoscene demo)

Demoscene High-Quality Videos (Annikras)
197K views • 15 years ago
A high-quality capture of fr-08 .the .product, a 64 kilobyte demoscene intro released by the group farbrausch in 2000. The roughly 11-minute real-time audiovisual piece shows how much animation, 3D scenes and music fit in a tiny executable.
Future Crew - Second Reality (1993) [60fps]16:19

Future Crew - Second Reality (1993) [60fps]

DemosceneVids
241K views • 11 years ago
Second Reality, the 1993 demoscene production by Finnish group Future Crew, captured at 60fps. It is a classic MS-DOS demo of real-time effects, music and visuals running on PC hardware of the early 90s.
Moleman 2 - Demoscene - The Art of the Algorithms (2012)1:29:59

Moleman 2 - Demoscene - The Art of the Algorithms (2012)

Vakondok (Moleman)
329K views • 14 years ago
Moleman 2 is a Hungarian documentary on the demoscene, covering its history, its culture and the creative process behind demos and intros. This is the English version, from 2012.
8088 MPH by Hornet + CRTC + DESiRE8:26

8088 MPH by Hornet + CRTC + DESiRE

Jim Leonard
327K views • 11 years ago
8088 MPH is a demo for the original 1981 IBM PC with its 4.77 MHz 8088 processor and CGA graphics, released in 2015 by Hornet, CRTC and DESiRE. It shows 1024 colors on CGA and plays sound through the PC speaker.
Superpositions, Sudoku, the Wave Function Collapse algorithm.14:28

Superpositions, Sudoku, the Wave Function Collapse algorithm.

Martin Donald
764K views • 6 years ago
Martin Donald explains the Wave Function Collapse algorithm, using Sudoku and the idea of superposition to show how it generates tiled content. It is the technique behind procedural maps and images in games like Townscaper.
Coding Adventure: Boids8:35

Coding Adventure: Boids

Sebastian Lague
1.7M views • 7 years ago
Sebastian Lague builds a boids flocking simulation in Unity, explaining the rules that produce flocking behavior and how to scale it up with parallelization on the GPU. It is one of his Coding Adventure videos, with a companion code repository.
"How to Hack a Painting" by Tyler Hobbs44:59

"How to Hack a Painting" by Tyler Hobbs

Strange Loop Conference
51K views • 9 years ago
Generative artist Tyler Hobbs speaks at Strange Loop 2017 about making paintings with code. He explains how an artist's aesthetic decisions can be turned into algorithms and how he works with randomness and control.
Andrew Sorensen Keynote: "The Concert Programmer" - OSCON 201410:23

Andrew Sorensen Keynote: "The Concert Programmer" - OSCON 2014

O'Reilly
157K views • 12 years ago
Andrew Sorensen's OSCON 2014 keynote, in which he live-codes music on stage using his Impromptu and Extempore environments. He writes and changes code while it plays, treating programming as a live performance.
How To Draw Mushrooms On An Oscilloscope With Sound3:07

How To Draw Mushrooms On An Oscilloscope With Sound

Jellybean Fenderson
2.4M views • 12 years ago
A video on drawing pictures, including mushrooms, on an oscilloscope by feeding it sound. It shows how splitting the audio channels into x and y coordinates makes the beam trace shapes, and builds intuition for waveforms.
Donut-shaped C code that generates a 3D spinning donut2:05

Donut-shaped C code that generates a 3D spinning donut

Lex Fridman
9.2M views • 6 years ago
A video on the famous donut-shaped C program that prints a spinning 3D donut in ASCII characters. It shows the code and the rotation and projection math behind it.
Making things with maths - Steven Wittens53:45

Making things with maths - Steven Wittens

webdirections
55K views • 13 years ago
Steven Wittens (acko.net) talks about making visual things with maths, showing how basic mathematical ideas turn into interactive 3D graphics in the browser. He draws on his MathBox work and demonstrates how experimenting with equations produces curves, surfaces and other visuals.
SmoothLifeL3:37

SmoothLifeL

Tim Hutton
312K views • 14 years ago
A video of SmoothLife, a continuous version of Conway's Game of Life created by Stephan Rafler, which uses real-valued cells instead of on and off. The result is smooth, organic-looking patterns that move and evolve.