duckythescientist / SmoothLife

Continuous Domain Game of Life in Python with Numpy
GNU General Public License v3.0
690 stars 40 forks source link

DIfferent distance metrics? #7

Open drummyfish opened 6 years ago

drummyfish commented 6 years ago

Hello,

this is an awesome project. I was just thinking what the results would look like if instead of Euclidean distance a different metric was used, such as Chebyshev or Manhattan. I've been once experimenting with procedural textures and changing metrics had interesting influence on the look. I think this project could also help make some nice textures if anyone was to put it to such use. Just some ideas for experimenting maybe :) Thank you for sharing your code.

duckythescientist commented 6 years ago

That's definitely an interesting idea. The distance equation in logistic2d would be the thing to change for that.

I've found SmoothLife to be really finicky about certain configuration parameters, so toying around with this may be a tad difficult unless you use a different implementation (maybe this one) that has a GUI for changing configs on the fly or unless someone adds more of a GUI to this. Don't let me discourage you, though. It's totally worth looking into.

I'm glad you like the project :smile: