Stars on the blog

I’ve added planets and stars to my sky when the sun sets. Best thing is, these are technically accurate. The sun follows the correct path across the sky and sets at the right time. The sky shows the view facing South from London.

Future updates:

  1. CLEAN THE CODE. Please don’t even look until I’ve tidied things up.
  2. ADD THE MOON. Der, where is it?
  3. Add Constellations. Orion is visible, but others are harder to spot. I need lines, and JavaScript doesn’t play nice with lines.
  4. Add rotation, and lat/long changes. These are easy, but I’m not too bothered at the moment.
  5. Add info and correct colours to planets.
  6. Expand the area to view the whole sky. On the way…
  7. Change the date. (Currently, you have to use the system clock)

Credits to:

Apologies to IE users.  It might be a bit slow… :)
Update: I’ve removed the faint stars from IE, so it works faster. Doesn’t look as good though.

Let me know what you think! Was it worth it?

This entry was posted in General, Personal, Projects, Proper Articles and tagged , , , , . Bookmark the permalink.
  • http://kenneth.kufluk.com/ Kenneth

    I’d completely missed the fact that the time was hardcoded to 9pm. That sucked.
    Shows the real time now :)
    You can still change the time by sliding the hand (of god) above the sky.

  • http://kenneth.kufluk.com Kenneth

    I’d completely missed the fact that the time was hardcoded to 9pm. That sucked.
    Shows the real time now :)
    You can still change the time by sliding the hand (of god) above the sky.