HackerTube

Making a heart with Maths

Inigo QuilezRecommended by 2 HN commenters across 2 months, 2017–2020
YouTube
tutorial · intro · evergreen · 2017–2020 on HN

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.

3 comments from Hacker News

@isoprophlex2020-02 · 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

Recommends View on HN
@eggy2017-09 · 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

Recommends View on HN
@userbinator2019-02 · 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