search for
HTML5 Simulation of Ideal Gas Kinetic Theory by Using the 2-Dimensional Hard Sphere Collision Model
New Phys.: Sae Mulli 2019; 69: 69~76
Published online January 31, 2019;
© 2019 New Physics: Sae Mulli.

Wonkun OH*

Department of Physics Education, Chungbuk National University, Cheongju 28644, Korea
Correspondence to:
Received December 4, 2018; Revised December 18, 2018; Accepted December 19, 2018.
cc This is an open-access article distributed under the terms of the Creative Commons Attribution Non-Commercial License ( which permits unrestricted non-commercial use, distribution, and reproduction in any medium, provided the original work is properly cited.
The purpose of this study is to simulate the dynamical process of an ideal gas due to the collision of N hard spheres by using JavaScript in the HTML5-based web environment. The simulation is performed by assigning a position, velocity, color, mass, and radius as the main attributes of hard spherical object corresponding to these of an ideal gas particle; then, each sphere was allowed to move freely and interact at a given initial temperature. As a result, various phenomena, such as Brownian motion, diffusion, explosion, and the mixing of different molecules according to the mass of the particles and the initial temperature, could be explained by applying the ideal gas model.
PACS numbers: 01.40.Fk
Keywords: Ideal gas, Simulation, HTML5

January 2019, 69 (1)
  • Scopus
  • CrossMark