TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

So I decided to program a Solar System simulator in WebGL and Javascript

83 pointsby martimooseover 11 years ago

15 comments

forktheifover 11 years ago
Huh, looking at that Orrery, I realise my mental map of the solar system was a little off.<p>I always though comets like Haley&#x27;s went much further out on their trip away from the sun, but that shows it doesn&#x27;t even reach past Pluto.<p>And the orbits of Mercury and Mars are a lot less circular than I thought.
评论 #6848281 未加载
hazzover 11 years ago
Here&#x27;s the article describing how the simulator was built: <a href="http://lab.la-grange.ca/en/building-jsorrery-a-javascript-webgl-solar-system" rel="nofollow">http:&#x2F;&#x2F;lab.la-grange.ca&#x2F;en&#x2F;building-jsorrery-a-javascript-we...</a>
typpoover 11 years ago
I really like how you&#x27;ve documented the challenges you encountered. The &quot;Building jsOrrery&quot; article is probably one of the best sources on the internet describing the process of building a full solar system viz. Your code is also very logical and easy to follow.<p>I made a similar simulation that shows the inner planets and asteroids, called Asterank (<a href="http://asterank.com/3d" rel="nofollow">http:&#x2F;&#x2F;asterank.com&#x2F;3d</a>). Your code is open source, but does it have a license? I&#x27;m interested in adapting your accurate star background for my simulation.
评论 #6848260 未加载
Joe-Zover 11 years ago
for the people who came here wanting to see a solar system simulation, here&#x27;s the direct link:<p><a href="http://mgvez.github.io/jsorrery/" rel="nofollow">http:&#x2F;&#x2F;mgvez.github.io&#x2F;jsorrery&#x2F;</a>
评论 #6847389 未加载
jeenaover 11 years ago
That is more then awesome, I will show it to my daughter, it is funny how different the reality is to the map of our solar system we get through traditional media like TV.
评论 #6847656 未加载
damon_cover 11 years ago
Looking at this, it&#x27;s hard to believe that we have subsisted for so long on the standard top down flat version of this that we have seen in books since... Pluto was discovered. The children of the future will not have to remember those dark days.<p>Solar System visualization industry: Disrupted.
Pxtlover 11 years ago
For fans of this, the biggest project on this subject is traditionally Celestia, but that&#x27;s pretty long in the tooth now.<p><a href="http://sourceforge.net/projects/celestia/" rel="nofollow">http:&#x2F;&#x2F;sourceforge.net&#x2F;projects&#x2F;celestia&#x2F;</a>
damon_cover 11 years ago
This pretty much settles the &quot;Is Pluto a planet?&quot; debate for me.
Pxtlover 11 years ago
I&#x27;d let the &quot;scale planets&quot; go to more than 100x. Even at 100x they&#x27;re crazy small when looking at a full map.
dodo53over 11 years ago
Appropriate to do an orbital mechanics thing for a company called La Grange (=&gt; Lagrange) :oP
lettergramover 11 years ago
What the author forgets is, these projects can help you gain a good reputation.
The_Doubleover 11 years ago
It would be really cool if this supported multitouch pan&#x2F;zoom.
评论 #6847632 未加载
fastaguy88over 11 years ago
Doesn&#x27;t seem to work with Safari.
评论 #6847644 未加载
评论 #6847625 未加载
systematicalover 11 years ago
Awesome stuff.
benihanaover 11 years ago
The Apollo 8 flyby scenario is amazing. It&#x27;s awesome how much this changes my mental model.
评论 #6848003 未加载