Set it to turbo mode (makes it run faster and look better) then click the flag and watch. You can see how the molecules bunch together (gravity) and gain more mass to attract more, I am planning on making cool stuff when density/power is over X amount.
This simulator is supposed to simulate molecules clumping together from the force of gravity. It isn't much for now but I am planning on creating black holes stars and neutron stars and different materials the molecules are. devlog1: I added the first few features. gravity, matter, and position. and I have some big plans for when all the matter is sucked up close together. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ devlog2: Just realized my gravity script doesn't work, gravity is one entity in this that goes to separate pieces of matter to attract each other, no matter how dense matter is it doesn't increase its gravity. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Devlog3: I made gravity but I did it wrong, I mistakingly coded it so the gravity is based on how much mass the attracted object has. I think this will be an easy fix though. devlog4: The gravity is still broken but it just works better now, I am planning on making it easier for molecules to bunch up so more can happen without all molecules just jumbling up first devlog4.5: this is barely a minute after devlog4, I added a few things to make the molecules more reactive and fun to watch. (increased possible number of molecules and increased the amount of power one can start with. DEVLOG4.6:CRAZY IDEA, THERE DOESN'T NEED TO BE A CAP THE WHOLE REASON I MADE IT PEN INSTEAD OF CLONES IS TO HAVE NO LIMIT. Devlog5: I made A LOT more molecules appear upon start, I tried to make absorbing a bit easier but this made it so it was easy for atoms to absorb when there floating but impossible when there close, I also fixed a bug where the game would just randomly freeze. When the game freezes it will fix itself. This freeze was caused by the render checklist trying to check a number that doesn't exist and that none existent number doesn't equal its x,y devlog6: I decreased the amount of time it takes for the game to fix itself from freezing, this may have to be reverted though for my plan for objects with high density.