49
What are you up to right now?
(thelemmy.club)
Talk about whatever, respecting the rules established by Lemmygrad. Failing to comply with the rules will grant you a few warnings, insisting on breaking them will grant you a beautiful shiny banwall.
A community for comrades to chat and talk about whatever doesn't fit other communities
Currently programming my "cellular automata with n-body gravity" in rust.
The white gradient is formed by the "gravitons", the tan stuff is sand. Right now I've got the gravitons reproducing and passing directional data between each other, what I'm trying to wrap my head around is rotating indices for each simulated cell so that i can make them dynamically "fall" towards the nearest gravity source, rather than always falling towards the bottom of the screen as they do now.
The video wont play ㅠㅠ
Here's a shorter, smaller one:
in this one the gradient is multicolored because it shows the direction that gravity is pulling, I'm getting these weird patterns that I can't quite explain, but they're neat.