Page 1 of 1

SpaceAge

Posted: Wed Oct 12, 2016 11:40 pm
by Filip
Hello,

a few days ago, I saw a tweet renowned astrophysicist Neil deGrasse Tyson:
It was his birthday on that day, so in astrophysical fashion he wrote how old is he on Mercury and Saturn (because every planet in the solar system takes longer / shorter time than Earth for the entire orbit around the Sun). Inspired by this, I made a small web application that based on the inputted date (birthday, anniversary) returns a number of years and days on each planet within the system. It is also possible to see where some planets were in relation to the Sun, i.e. at which stage of their orbit they were at your birthday. Size of the planets on the page are relative to each other as well as their orbits, while the Sun is scaled down for obvious reasons :) For the best results, it is recommended to use a device with larger screen, however, app has been optimized for smartphones as well. Feel free to reply to this post with any problems you've encountered or general suggestions. I am aware of slightly poorer performance with Firefox, but Chrome and Edge seem to work well. I've tested the app in Google Chrome & Microsoft Edge on Windows 10, along with Chrome on iOS 10.

Try it out

PS: Many thanks @comathi for the background image and consultation in the making! (Thank you, sir!)

Screenshots:

Image
Choosing the date

Image
I'm still a baby on the Jupiter

Image
Choosing planets

Image
Zooming in on a planet by hovering over its icon on the top bar

Image

Image
On mobile



KR,
-Filip

Re: SpaceAge

Posted: Tue Oct 25, 2016 9:18 am
by CodenStuff
Really nice work. I like i t :D

Re: SpaceAge

Posted: Wed Feb 08, 2017 11:27 pm
by Filip
PS: Could we get embed tweet BBCode? It shouldn't be too hard to implement as tweet HTML can be obtained in JSON format from following URL:
Code: Select all
https://publish.twitter.com/oembed?url=<url_to_tweet>
KR,
-Filip

Re: SpaceAge

Posted: Fri Feb 10, 2017 10:59 am
by CodenStuff
Done.

Using "Copy link to Tweet" from Twitter you can embed a tweet using the following BBCode:
[tweet]Tweet link URL here[/tweet]
Output example:

Re: SpaceAge

Posted: Mon Feb 13, 2017 1:10 am
by Filip
CodenStuff wrote:
Done.

Using "Copy link to Tweet" from Twitter you can embed a tweet using the following BBCode:
[tweet]Tweet link URL here[/tweet]
Output example:

Great work!