▲ | That fractal that's been up on my wall for years(chriskw.xyz) | |||||||||||||||||||||||||
571 points by chriskw a month ago | 44 comments | ||||||||||||||||||||||||||
▲ | CliffStoll a month ago | parent | next [-] | |||||||||||||||||||||||||
Outstanding work and a delightful read. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
▲ | nico a month ago | parent | prev | next [-] | |||||||||||||||||||||||||
Amazing insightful and thoughtful write up, thank you! Loved the 3d visualizations It reminds me of this thing I built some time ago while playing with recursive decimation to generate effects similar to fractals from any image You can play with it here: https://jsfiddle.net/nicobrenner/a1t869qf/ Just press Blursort 2x2 a couple of times to generate a few frames and then click Animate You can also copy/paste images into it There’s no backend, it all just runs on the browser Don’t recommend it on mobile | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
▲ | leni536 a month ago | parent | prev | next [-] | |||||||||||||||||||||||||
Got a bit nerd-sniped by this and came up with an L-system that fills out (I think) "the wallflower": https://onlinetools.com/math/l-system-generator?draw=AB&skip... edit: On second thought, this probably generates the other fractal, but I'm not sure. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
▲ | taeric a month ago | parent | prev | next [-] | |||||||||||||||||||||||||
Holy cow, I was expecting a quick read. Wound up having to skim some, as I need to get some work today. Will be coming back to this to play with some. Really well done! | ||||||||||||||||||||||||||
▲ | baq a month ago | parent | prev | next [-] | |||||||||||||||||||||||||
This went much deeper and harder than expected. One has to admire the dedication. Question to the author: what would you recommend to hang on my kid’s wall today? | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
▲ | Cogito a month ago | parent | prev | next [-] | |||||||||||||||||||||||||
Thought I'd check the arithmetic for 2 two-digit numbers, and it works! I expect 41+14 to be 12 (two right plus two up equals two right and two up). Long addition in long form below uses: '=' to show equivalent lines (reordering of terms (1+2=2+1), spliting numbers (41=40+1), adding single digits (1+4=22)) '->' for when the algorithm gives a digit '<' for when we move over a column
[edit] Just noticed the article has two different numbering systems, one where 10, 20, 30, 40 are clockwise and one where they are anticlockwise. In both, 1, 2, 3, 4 are clockwise. My addition is on the second, where 10s are anticlockwise (this is what is used in the addition table).It still works in the alternative system (14+21 should equal 12)
| ||||||||||||||||||||||||||
▲ | CBLT a month ago | parent | prev | next [-] | |||||||||||||||||||||||||
Well written! Would you mind sharing how you came up with the "middle out" numbering system? I can never seem to come up with something this inspired when I'm doing math problems by myself. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
▲ | cies a month ago | parent | prev | next [-] | |||||||||||||||||||||||||
I had this one up the wall (giant print) at a place I worked: https://raw.githubusercontent.com/cies/haskell-fractal/refs/... [17MB, sorry Github] It contains the Haskell code that produced it: https://github.com/cies/haskell-fractal Especially the `sharpen` function was interesting to come up with (I used some now-offline tool to do curve fitting for me): https://github.com/cies/haskell-fractal/blob/master/fractal.... Fun little project. :) | ||||||||||||||||||||||||||
▲ | Tade0 a month ago | parent | prev | next [-] | |||||||||||||||||||||||||
> Deciding to delegate to a future version of me that knows more math Relatable. Huge part of my decision on what degree to pursue was a list of problems (mostly linear algebra) I needed to solve, but didn't have the guidance (and internet connection) to. | ||||||||||||||||||||||||||
▲ | mbty a month ago | parent | prev | next [-] | |||||||||||||||||||||||||
Really cool and in-depth, thank you! I believe that there is a typo in the pattern formula (right after "Looking closely you might pick up on the pattern"): it should read
(\overrightarrow{10*4} is [0, 25] but your original formula gives [0, 625])Also, regarding Knuth's mistake: Youtube comments point out that his fractal is in fact correct; he just mistook the beginning point with the end point. Loosely speaking, the fractal is symmetrical about its middle turn, which is precisely the one Knuth believed to be incorrect. All in all, he still made a fractal-related mistake, so the conclusion holds. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
▲ | tcshit a month ago | parent | prev | next [-] | |||||||||||||||||||||||||
Nice writeup! I was hoping to see a photo of the fractal on your wall.. Nice link to Knuth video that I somehow have missed. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
▲ | mckeed a month ago | parent | prev | next [-] | |||||||||||||||||||||||||
Fun post! I drew the first 5 iterations by hand myself and I'm finding it easiest to think of as a self-similar coloring of a square tesselation. If you start with the shape of iteration 3, it tessellates as a 5x5 square tile. Make an infinite grid of those tile shapes with one iteration 3 version in the center. Treat that center tile as the center square in the iteration 3 pattern and color the tiles around it according to how the 2nd and 3rd iterations were built of squares. This gives you the 4th and 5th iteration and you can continue to iterate on the coloring outwards to color the grid of tiles in the wallflower pattern. | ||||||||||||||||||||||||||
▲ | cess11 a month ago | parent | prev | next [-] | |||||||||||||||||||||||||
Nice writeup. The Heighway dragon of Jurassic Park fame is pretty neat too. | ||||||||||||||||||||||||||
▲ | wistlo a month ago | parent | prev | next [-] | |||||||||||||||||||||||||
This is so much better than reading the news. Favorited—I'll be coming back to absorb more, as my aging semi-fluency in engineering physics and SQL doesn't help much with the notation I last saw in the 1980s. | ||||||||||||||||||||||||||
▲ | Scene_Cast2 a month ago | parent | prev | next [-] | |||||||||||||||||||||||||
I wonder if something similar can be applied to get a dither pattern with built-in level of detail adjustment. | ||||||||||||||||||||||||||
▲ | 867-5309 a month ago | parent | prev | next [-] | |||||||||||||||||||||||||
well, that escalated beautifully | ||||||||||||||||||||||||||
▲ | kragen a month ago | parent | prev | next [-] | |||||||||||||||||||||||||
This is beautiful. Thank you. | ||||||||||||||||||||||||||
▲ | entropicdrifter a month ago | parent | prev | next [-] | |||||||||||||||||||||||||
Kinda looks like a propeller | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
▲ | bdamm a month ago | parent | prev | next [-] | |||||||||||||||||||||||||
That was fun. | ||||||||||||||||||||||||||
▲ | mathfailure a month ago | parent | prev | next [-] | |||||||||||||||||||||||||
Too much math. | ||||||||||||||||||||||||||
▲ | matt3210 a month ago | parent | prev | next [-] | |||||||||||||||||||||||||
Now make a tiling game engine that uses these! | ||||||||||||||||||||||||||
▲ | evolextra a month ago | parent | prev | next [-] | |||||||||||||||||||||||||
[dead] | ||||||||||||||||||||||||||
▲ | gitroom a month ago | parent | prev | next [-] | |||||||||||||||||||||||||
[dead] | ||||||||||||||||||||||||||
▲ | olivergregory a month ago | parent | prev [-] | |||||||||||||||||||||||||
[flagged] | ||||||||||||||||||||||||||
|