文件名称:node-hill-sphere:计算物体的希尔球半径
文件大小:4KB
文件格式:ZIP
更新时间:2024-07-02 18:36:33
space gravity hill-sphere JavaScript
希尔球体 通过安装 $ npm install hill-sphere 用法 var hillSphere = require ( 'hill-sphere' ) // Mass of Earth in kg var earth = 5.97219 * 1e24 // Mass of Sun in kg var sun = 1.98855 * 1e30 // Distance between Earth & Sun in km var distance = 149598261 // Earth's eccentricity var eccentricity = 0.01671123 // Calculate Earth's Hill Sphere radius in respect to the Sun var radius = hillSphere ( earth , sun
【文件预览】:
node-hill-sphere-master
----lib()
--------hill-sphere.js(432B)
----.npmignore(18B)
----.travis.yml(83B)
----test()
--------index.js(526B)
----LICENSE.md(1KB)
----README.md(912B)
----.editorconfig(292B)
----package.json(697B)