Show HN: A Sierpinski Valentine in 4 equations
1–10 of 12 posts
Re: Show HN: A Sierpinski Valentine in 4 equations
#2Re: Show HN: A Sierpinski Valentine in 4 equations
#3Disclosure: I'm one of the engineers at Desmos.
Re: Show HN: A Sierpinski Valentine in 4 equations
#4How the heck do people come up with these equations? Is it purely mathematical knowledge, knowing what functions look like when plotted?
See https://www.youtube.com/watch?v=Zkx1aKv2z8o Specifically from 4:30 to 7~
Re: Show HN: A Sierpinski Valentine in 4 equations
#5How the heck do people come up with these equations? Is it purely mathematical knowledge, knowing what functions look like when plotted?
Without any mathematical knowledge, you probably couldn't come up with something like the s(i,k,o) function (which, as far as I can tell from just looking/playing around with them briefly, seems to be the function responsible for the tessellation offset), and you might not have thought to define a system like (x=X(N,t), y=Y(N,t), 0Without a nontrivial amount of playing around, you probably wouldn't have found the exact constants used, like (2pi(3^i)), .2/(2^i), etc.--but knowing how altering those affects the end result takes some mathematical knowledge, so it's more guided investigation than random guessing.
Re: Show HN: A Sierpinski Valentine in 4 equations
#6How the heck do people come up with these equations? Is it purely mathematical knowledge, knowing what functions look like when plotted?
I think it's a combination of playing around and math chops. Without any mathematical knowledge, you probably couldn't come up with something like the s(i,k,o) function (which, as far as I can tell from just looking/playing around with them briefly, seems to be the function responsible for the tessellation offset), and you might not have thought to define a system like (x=X(N,t), y=Y(N,t), 0 Without a nontrivial amou…
Here's a fun intermediate step (circles instead of hearts), with a few of the numbers parametrized as sliders:
https://www.desmos.com/calculator/irg4qa2s4h
[disclaimer: I work at desmos]
Re: Show HN: A Sierpinski Valentine in 4 equations
#7Re: Show HN: A Sierpinski Valentine in 4 equations
#8You can send this graph as a valentine, or make your own at http://mathogram.desmos.com/ Disclosure: I'm one of the engineers at Desmos.
Re: Show HN: A Sierpinski Valentine in 4 equations
#9How the heck do people come up with these equations? Is it purely mathematical knowledge, knowing what functions look like when plotted?