Air particle/molecule movement sim / visualizer in html
For long time i thought everyone is able to visualize particle movement in their head, but i slowly realized that i'm actually very few who can. so i wrote this illsutration / simulator to visualize how i see particle movement in my head. This is how i visualize how particles move all around me, bouncing off walls and objects, creating pressure. this should give you an idea how particles actually move in air / gas.
You can download the atmo4.html directly from this post or you can access it here - https://sethioz.com/stuff/atmo4.html
Heat, energy, particle speed, temperature ..etc it's all the same thing and this sim illustrates it perfectly. It's obviously not 100% accuate as it's only 2D and it only has thousands of particles as HTML can't really handle more, in reality there are trillions of particles. In fact, in 1x1cm cube at sea level at 20c, you'd have roughly about 25 million trillion air particles in that cube. THAT is how many particles there are in reality, this sim only shows you thousands to illustrate particle movement.
i added some basic features, like ability to change ambient temp (walls), particle count, humidity, heater on/off and also ac vent, which adds/removes water (moisture), so you can also see how ice/frost forms on walls if temp is below 0c.
you can also drag and drop the ac vent and heater to simulate different scenes, it also counts gravity, so more particles settle near bottom, while there's less near top. it also clearly illustrates why you should always have heater as low as possible, so it energizes the slow moving particles at bottom.
Facts about real physics:
Speed of air particles:
at -100°C: ~1,368 km/h / 850 mph
at 20°C: ~1,800 km/h / 1,118 mph
at 100°C: ~2,016 km/h / 1,253 mph
ofcourse those are approximate, depending on particle/molecule, they move faster/slower, this sim illustrates this aswell, different molecules/particles have different mass and speed.
Quantity of particles in air - 1x1 cm cube of air at sea level at 20c, contains about 25 million trillion particles
Distance before collision - Even tho particles move at about 1800km/h at room temp, they only move about 65 nanometers before hitting another particle
Collision frequency - At room temp, single molecule undergoes about 7 BILLION collisions per second, that's a LOT of CRASHES!
Molecular spacing - even tho there are trillions of particles even in 1x1cm cube, if you'd scale each air particle to size of a marble, then there would be roughly about 3 meters between every particle.
Weight of air - in average room (3x3 meters) air weights about 45kg, you don't feel it, because air also goes inside your body, you have oxygen in your blood aswell, which counters the weight and you don't feel it.
Pressure - same with pressure, you don't get crushed, because air is saturated thruout your body, making it equal. think of human body as a sponge, not as balloon. sponge slowly absorbs particles, same way human body absorbs air/gas, which is why you don't feel that pressure as it's everywhere, thruout your body. That's how saturation diving works, ppl are put into pressure tank and pressure is slowly increased over several days, so more gas particles settle thruout your body, which then allows you to dive in deeper water without feeling the pressure of water.
In exosphere (5000km from earth) - particles fly 100-1000 kilometers before colliding with another one, that's how thin air/atmosphere is at that altitude, while at around 400-500km (where satellites orbit), particles collide only about once per second.
Air pressure / weight - If you had 1x1x1 meter cube that had 100% vacuum inside, then at sea level, air would put about 10 TONS of weight/pressure on each side, so total amount of pressure on the cube would be about 60 tons! (10 tons per side). if you'd seal bottom of that cube, it would become 10-ton suction cup (that's how suction cups work, you push air out from underneath it, leaving vacuum, so air weights down from other side, pushing it tightly against the surface you pushed it on).
Comments (4)
I feel you should get more credit, so I started commenting on your releases. This is pretty awesome though. I prefer visual representation over just reading books, so this is a cool tool to simulate the experience (to a degree). Looking forward to your next release.
yeah unfortunetly most people don't have any curiousity towards science and physics. i can't help it, cuz i automatically visualize things in my head, just like particle movement, which is why i instantly know answer to simple questions like "how does electricity find path of least resistance" .. it doesn't find anything, it just floods the entire area and when pressure builds up, that pressure gets released from whereever is the weakest spot. same how explosions push out from wherevere is least resistance. i can just see how particles flow. couple years ago i clicked on some video showing how electricity also "waves" like water and my first thought was "electricity will just wave just like water, imagine how water would react and that's how electricity would react aswell" and then later in video he brought that exact example and visualized it. if you can visualize particle movement, then it's very easy understanding how certain materials act. for example why sponge is good thermal insulation, while glass isn't. i can visualize particle movement in my head, i can see how particles hitting sponge lose their energy, it's like throwing tennis ball against brick wall and see it bounce back with almost full force, but throwing tennis ball against your pillow, makes it almost instantly stop. that same thing happens on particle level, once you can visualize that, then it's super easy to understand how materials work. but most people would just roll their eyes ... they're able to repeat what they read in a book, but they can't visualize it in their head, which is why most people need to learn separate things, while i just know them, cuz i can simulate/visualize physics in my head. once you get that curse of curiousity, then you just can't help it, you'll be visualizing everything on particle level.
This is pretty dope, Seth. NGL.
thx, that was fast comment tho
