Learn to Paint with Mathematics

Channel:Inigo Quilez · Length:24:02 · Published:2014-07-14 · Views:191117

Watch on YouTube

Summary

Inigo Quilez live-codes a painting using only mathematics in a shader, building it up step by step. The linked Shadertoy source shows the result.

Why HN recommends it

Recommended as the most beginner-friendly way into shader programming and procedural graphics.

Watch "Learn to paint with mathematics" to see a simple shader being built gradually — HN, 2025

Computer graphics & rendering · Creative coding & generative art

Subtitles (excerpt)

all right um I'm recording a new video um about how to make images with mathematics and with coding um because I was giving a presentation the other day and I was improvised some some graphics and I quite liked what I got in the end of the session so I'm going to try to improvise the same thing and um because I think it's a good way to explain the very basics of how you make images and pictures with mathematics which is not the way you normally do images when you are working for video games or movie companies or advertising you normally use a tool like Photoshop or 3ds Max or Maya or a combination or others uh which help you make the images uh although behind the scenes in the computer because the computer is a machine that computes there is a lot of mathematics going going on and numbers flowing and those become colors and shapes as you press buttons and Sliders um but for the most part um you use those tools to make images however there are few times where uh you might want to uh do things differently and talk to the computer directly in in a language of mathematics and programming so uh let me show you what I'm really mean with making images with mathematics uh by going to this website sh toy.com which is online and free and available for everyone

On Hacker News

Yes, but you can learn it! 1. Get inspired, get motivated. Shaders like these are breathtaking (and well-commented): [LINK] 2. Watch "Learn to paint with mathematics" to see a simple shader being built gradually: [VIDEO] 3. Work through [LINK] . — modernerd, 2025-01
[LINK] is what I'm talking about. It's not necessarily a from-zero introduction, but it's a nice resource. [VIDEO] is probably the the most beginner friendly. [LINK] is another great place to start. Good luck and enjoy! — joenot443, 2023-04
Thankfully for the graphics the very person who did the graphics in this Elevated demo is very generous with their time. Inigo Quilez has many instructional videos on his channel in how to code procedural graphics from the very beginner to the advanced. I link a couple of examples. You can watch the more advanced video even as a beginner but trying yourself is easier at the beginner level. Beginn… — djmips, 2022-06

Related videos