一个模拟三体运动的简单demo。选取了其中两种特解情况,并且模拟了地月日运动。
依赖Vue以及Three.js。
展示页面:https://aplanckfish.github.io/ThreeJS-threebody/.
静态页面托管在GitHub服务器,初次加载纹理贴图可能比较慢。
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report