20

【canvas】动画原理の万有引力定律

 4 years ago
source link: https://juejin.im/post/5e213c83f265da3e006b3fc0
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
先看最终效果: 先说明一下,此效果启发于第二本参考书。 中心红色球是太阳,水蓝色小球是地球。可以看出地球的运行轨道是椭圆,验证了开普勒三定律的第一条。在近日点运行速度比较快,远日点比较慢,符合常识。 你猜测我写这个效果用了多长时间? 不到半个小时吧,其实掌握

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK