2d gas simulation interactive

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

ダウンロード: 2.7K

更新 2009/6/13


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:

Unzip and run rum_me.m in Matlab.

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


Maxim Vedenyov (2023). 2d gas simulation interactive (https://www.mathworks.com/matlabcentral/fileexchange/24433-2d-gas-simulation-interactive), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2008a
Windows macOS Linux
Help Center および MATLAB AnswersPhysics についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート