2d gas simulation interactive

It is possible to move balls with mouse. Clicked ball will get velocity of pointer.

Vous suivez désormais cette soumission

It is part of the project: http://physics-toolbox.tripod.com/
Author: http://simulations.narod.ru/
2d gas simulation interactive. Program starts with window of parameters: box sizes masses velocities etc. Then simulation starts. It is possible to move balls with mouse clicking the ball. Clicked ball will get velocity of pointer. Also other controls: accelerate, random velocities etc. It is possible to return to window of parameters. Simulation window is elastic and it is possible to stretch it to fill all screen size. See move of it here:
http://www.youtube.com/watch?v=PDRt5BQ4UUw

Unzip and run rum_me.m in Matlab.

Thanks to Kotkin G. and Cherkasskiy V. for initial not intaractive simple code.

Citation pour cette source

Maxim Vedenyov (2026). 2d gas simulation interactive (https://fr.mathworks.com/matlabcentral/fileexchange/24433-2d-gas-simulation-interactive), MATLAB Central File Exchange. Extrait(e) le .

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0