I painted a Landscape with Mathematics
Inigo Quilez7 HN recommenders · recommended in 7 months, 2022–2025
tutorial · intermediate · evergreen · 2022–2025 on HN
Inigo Quilez live-paints a mountain landscape using only math in a shader, building up from a basic polynomial noise surface through fractal terrain, lighting and atmosphere. The code runs in real time on Shadertoy so viewers can edit it as they follow along.
HN commenters point to it as the best demonstration of procedural graphics from a master, accessible to beginners yet deep enough for advanced viewers.
Up next
10 mo on HNPainting a Character with Maths
Inigo Quilez
13 HN recommender · 2021–2025
2 mo on HNDennis Gustafsson – Parallelizing the physics solver – BSC 2025
Better Software Conference
2 HN recommender · 2025–2026
2 mo on HNRowan Atkinson on free speech
The Christian Institute
2 HN recommender · 2024–2026
4 mo on HNRoss's Game Dungeon: Deus Ex
Accursed Farms
4 HN recommender · 2017–2024
8 mo on HN"Programming a 144-computer chip to minimize power" - Chuck Moore (2013)
Strange Loop Conference
7 HN recommender · 2021–2024
2 mo on HNPositive Affirmations for Site Reliability Engineers
KRAZAM
2 HN recommender · 2024–2025
2 mo on HNWhy Don't You Want To Do Anything After Binging 4 Hours of YouTube Videos...
HealthyGamerGG
2 HN recommender · 2022–2023
1 mo on HNProf. Robert Lustig - 'Sugar, metabolic syndrome, and cancer'
Low Carb Down Under
1 HN recommend · 2020–2022
13 mo on HNThe Beauty of Bézier Curves
Freya Holmér
16 HN recommender · 2021–2026
11 mo on HNThe Continuity of Splines
Freya Holmér
10 HN recommender · 2022–2026
10 mo on HNelevated by Rgba & TBC | 4k intro (FullHD 1080p demoscene demo)
Demoscene High-Quality Videos (Annikras)
7 HN recommender · 2013–2025
10 mo on HNThe Real Story Behind Wayland and X - Daniel Stone (linux.conf.au 2013)
Mladen Mijatov
13 HN recommender · 2013–2026
9 comments from Hacker News
Indeed, Inigo Quilez is "the guy" for this kind of stuff. He co-created ShaderToy and has worked on effects and modeling for multiple Pixar films. My favorite video of his is Painting a Landscape with Maths. ▶ this video He deserves to have at least as many subscribers as other math YouTube channels like Verisatium and 3Blue1Brown.
>It looks really good for such a simple algorithm. I love this! If you like that, you should check out Inigo Quilez ▶ this video Here is the shadertoy link with code link
I just finished watching a live-coding session (from 2 years ago) by Inigo Quilez (ex Pixar), where he constructs an entire ray-marched landscape using only maths (mostly SDFs) in pure GPU shader code. The stream: ▶ this video The demo: link
Welcome to the Internet, superMayo! If you want to see what the Masters can do with shaders, let me introduce you to Inigo Quilez and his shader art: ▶ this video EDIT: I did not notice you are the author of this article. It's very well done, and I've been looking for more approachable and interactive tutorials on the arts of shader coding.
Good to see high quality articles gaining traction. If the article looks too verbose, be sure to check out, as the author cites, Inigo Quilez's videos Painting a Landscape with Maths - ▶ this video Painting a Character with Maths - link Bonus: Painting with Maths in Google Sheets - link
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. Beginner. link Advanced. ▶ this video Website. link
Inigo Quilez, the author of this slide, also has made in-depth videos [1] [2] which might be more accessible to who aren't familiar with shader languages. [1] link [2] ▶ this video
Edit: Hey my bad the prompts for Genuary are all for making visuals, but I suppose they could be interpreted for audio too. My bad, but I'll leave my music-nerd rant below in tact in case anyone finds it useful ---------------- This is awesome, I didn't know about this but I've been subconsciously preparing for it over Christmas break. Here's what I've found useful: Music: - Eli Fieldsteel's intro to SuperCollider course is fantastic. SuperCollider language is kind of nice. Function literals are simply curly braces, `{}`, and the last expression is returned. It has pipe's for function arguments, so if you squint it kind of feels like Ruby or Rust. // a silly function. Note that paren "blocks" make evaluating multiple lines easier ( x = {|num| num.squared + 42 }; y = x.(0); ) If you've only ever used JavaScript, there's a lot of "wtf is this shit" moments, but otherwise it's really nice. I feel like SCLang is super powerful and want to use it for some projects. Here's Eli's course playlist: link - Sonic Pi is built on-top of SuperCollider, but it's MUCH easier to get started with making bleeps and bloops. Sam Aaron, who originally created Overtone (a Clojure front-end for SuperCollider) created Sonic Pi initially to teach kids computer programming and music, but now it's turning into a pretty nice live-coding setup. The language is basically a DSL extension of Ruby, and although it's very elegant, I feel like it's a little nerfed in terms of a full language when compared to
Could you define "assets", please? What would you consider the assets in these videos by Inigo Quillez, for example? ▶ this video link