Lurker News
I went down the rabbit hole on a side project and ended up building this: Strange Attractors(https://blog.shashanktomar.com/posts/strange-attractors). It’s built with three.js.

Working on it reminded me of the little "maths for fun" exercises I used to do while learning programming in early days. Just trying things out, getting fascinated and geeky, and being surprised by the results. I spent way too much time on this, but it was extreme fun.
My favorite part: someone pointed me to the Simone Attractor on Threads. It is a 2D attractor and I asked GPT to extrapolate it to 3D, not sure if it’s mathematically correct, but it’s the coolest by far. I have left all the params configurable, so give it a try. I called it Simone (Maybe).
If you like math-art experiments, check it out. Would love feedback, especially from folks who know more about the math side.

Comments (78) 49 threads

Earlier comments
srvmshr1 reply#
Coincidentally enough, I dug out my 11th grade CS project on generating fractals from 2002 & modernized it using SFML graphics lib just this week.

https://github.com/gradientwolf/fractals_SFML
Your post gives me so much joy. These tiny little things take me back to teenage years, simpler times & when interests were different. (I put a little note as "why" in my GH repo readme)

shashanktomar#
Thanks a lot, it was clearly worth the effort.
Libidinalecon#
Really visually wonderful. I tried to self learn about nonlinear dynamics after reading about Takens's theorem last year but I have to admit, I have no idea what an attractor is actually showing like this.

This might be inspiration to try to grasp these ideas again.
Rotating the Lorenz makes me think otherwise though because given the amount of time I put into this, I should understand that much more than I do.
Chance and Chaos by David Ruelle is a wonderful little book.

tannerjames711#
Thank you for sharing. This really inspired me to check out three.js. This website of yours might be one of the more beautiful things on the internet.
__MatrixMan__#
It would be so much fun to use these as a setting for some kind of gaming experience. Like, I wanna hide behind parts of these and pop around a corner and blast my friend with a laser. Or to race gocarts along the surface of one, or I dunno, something frogger-esque to get a feel for the directionality of the flows... I love how they look, but I need more interaction to get a feel for the thing.

Load more comments