Making a heart with Maths

112K views · 9 years ago · tutorial · intermediate · evergreen

Inigo Quilez builds a beating heart out of math, live-coding the shape and compositing it onto live video as he explains each step. It is an introduction to drawing with formulas in shaders.

HN people recommend it as a great beginner introduction and say watching him hack away at graphics is enjoyable.

“Watching the guy hack away at graphics is super enjoyable”

3 comments from Hacker News

i
@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: ▶ this video Watching the guy hack away at graphics is super enjoyable
RecommendsView on HN
e
@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] ▶ this video
RecommendsView on HN
u
@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: ▶ this video