MATLAB较近版本。笔者本人用的是MATLAB R2018a。
文件内所有中文编码为utf-8。用MATLAB打开时可能会出现乱码。
打开three_body_main.m文件,运行即可。
本程序用于模拟多个有质量质点在二维平面内受到万有引力运动的运动情况。
- 初始条件: 坐标, 速度大小, 速度方向, 质量
- 基础参数: 结束时间, 时间间隔, 万有引力系数, 输出图像边界大小, 是否输出图像
- 输出文件: 该程序运行完毕后, 会在改文件夹下创建出three_body.avi视频文件
This project forked from hanpuliang/three-body-by-matlab
A simple three body movement simulation code. It can be modified to achieve the movement of more bodys.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.