particle fun
- 4 Devlogs
- 4 Total hours
trying to simulate air, liquid and solid particles in the browser
trying to simulate air, liquid and solid particles in the browser
Devlog #4!!
I did a few things:
1: Delete all particles button
2: Made the particles bigger dependent on their mass
3: Canvas size slider (for lower end devices like mine)
4: called the variables the most random names so anyone looking at the code will get confused lol
Devlog #3!
I didn’t have that much time today, as I have to go to a birthday, but I added some more sliders to make different gravitational forces, more disturbance, and I wrote a little tutorial inside the page. I think I need to outline the canvas as its very hard to see. I’ll also try and get some styling done! Also I took a 9 minute simulation and sped it up into 30 secondsish and attached it here :)
Devlog #2!
added gravitational fields and made a thing where you can make a large disturbance in particles (like if you made a loud sound)! now i need to make more customisation!😀
Devlog #1!
I made a bunch of particles bounce around inside a container!! i also calculated the grams using the atomic weight of Oganesson (the heaviest element) and even with that my computer still crashes before i get to even a gram…. its realistic tho! the video attached is actually sped up footage of about 3 minutes of simulation…… i need to do optimization