Closed dangarfield closed 1 year ago
it's escalating so fast 😂 love what you doing man 🚀
Can you add a slider option to adjust the dimensions in the drawings section in GUI? Sometimes I tend to squeeze the atoms into a smaller space to increase the interaction between them.
Good point, added.
Wow!
Actually, @AnasQiblawi is really right, if you change the dimensions, everything is a lot better. I'll open another brief PR to change the defaults.
Decreasing atom count and dimensions is also beneficial when you desire greater FPS and performance while still getting interesting formations at the same time, especially for weak devices.
I agree @AnasQiblawi , but the vast majority of processing time is as a result of the distance calculations, and specifically this 'bug' (https://github.com/hunar4321/particle-life/issues/18) which is what (I feel) gives this project a lot of it's natural characteristics. I might have another look to see how it can be applied better for better parallel processing.
Small experimental attempt at a 3d version, I'll leave the existing 2d one untouched. It seems interesting, although not as clear to find patterns, it does use webgl based tools though, so rendering is much faster, there are plenty of optimisations.
Preview:![ezgif com-gif-maker (1)](https://user-images.githubusercontent.com/4086513/188432338-e9773a19-d126-4417-9c2b-77a53bc92ce7.gif)