Making a heart with Maths

Inigo Quilez2 HN recommenders · 2017–2020
112K views · tutorial · evergreen · Uploaded 2017-02-24

Inigo Quilez shows step by step how to build a simple heart shape from mathematics and shaders, with code on Shadertoy. It is an introduction to procedural graphics and signed distance functions.

HN commenters call it a great beginner-friendly introduction and enjoy watching Quilez work through graphics.

Watch on YouTube

3 comments from Hacker News

@eggy2017 · in “Articles on fractals, computer graphics, mathematics, demoscene and more”

His YouTube tutorial where he creates the beating heart composited on live video as he explains it is a great introduction for beginners and younger people [1]. I've learned so much from his sharing of his techniques and knowledge. Thanks Inigo! [1] [VIDEO]

RecommendsView on HN
@userbinator2019 · in “Plotting hearts with Python and C”

I was expecting it to be the same algorithm in two different languages, but the Python version is a mathematical description whereas the C version is RLE-compressed. Relatedly, there is this video on how to procedurally generate a 3D heart: [VIDEO]

@isoprophlex2020 · in “Wolfram Alpha: {y = Re(sqrt(abs(x)(1-abs(x)))), y = Re(-sqrt(1-sqrt(abs(x))))}”

Highly recommended video by Iquilez, in a similar vein: [VIDEO] Watching the guy hack away at graphics is super enjoyable

RecommendsView on HN