Top
Best
New

Posted by shashanktomar 10/31/2025

Show HN: Strange Attractors(blog.shashanktomar.com)
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.

804 points | 78 commentspage 4
felipelalli 11/1/2025|
I have no idea what is this, but it's beautiful.
comonoid 11/2/2025||
I would suggest to keep initial particles' color -- it would be easier to understand the system's evolution.
teunlao 11/1/2025||
Learned more about attractors dragging this around than from wiki. This is how math should be taught.
pkspks 11/1/2025||
This is absolutely stunning. Wonderful some function of the state of a point can give it colour.
shashanktomar 11/1/2025||
Author here, there is a setting to pick colour mode. I implemented it after similar suggestion by someone on twitter. Give it a try.
pkspks 11/1/2025||
It already supports colour!
bntr 11/1/2025||
Great visualization! It would be good to add some fog for a better perception of 3D.
metacortexx 11/1/2025||
Love seeing projects like this, just pure curiosity, creativity, and fun
adtac 11/1/2025||
too many of these vaguely look like what galaxies look like from earth

e.g. https://i.imgur.com/ZjiBF8f.png

just a coincidence?

layer8 11/1/2025||
Galaxies don't really look like that.
axi0m 11/1/2025||
I'd like one of these as my screen saver. Great work!
GistNoesis 11/1/2025||
How do I write my custom attractor equation ?
gigatexal 11/1/2025|
This is mesmerizing and very cool. Thank you!
More comments...