3 ms·
Fractals in Clojure: Buddhabrot Fractal
- jebberjeb 15y agoNo matter how many times I see fractals visualized, they never cease to amaze me.
- jrockway 15y agoJonathan Coulton said it best: "Infinite complexity can be described by simple rules."
- deleted 15y ago[deleted]
- buster 15y agoHaha... best thing is the name.. "Buddhabrot".. Still laughing! To explain: "Butterbrot" is german for a slice of bread with butter.. spelling is nearly the same as "buddhabrot"
- gort 15y agoIf I recall correctly (it's been a while), the normal Mandelbrot works by treating each pixel as a complex number and seeing if it escapes to infinity or not when iterated through some formula... the Buddhabrot however plots which values are landed on as numbers are iterated... An interesting alternative I tried some years ago is to draw lines for each iteration instead, between where it started and where it ends, leading to the following result: http://img40.imageshack.us/img40/583/pathsoftravel5.png http://img40.imageshack.us/img40/583/pathsoftravel5.png (I have some C code lying around if anyone's interested.)
- zeratul 15y agoVery interesting. Are you into chaos theory? Some day I would like to investigate if behavior on HN, say average score on the front page over time, lies on a strange attractor or not.
- amjith 15y agoIs anyone else seeing an image of fractal on that page? I don't see one.