Recent Topics

Online

11 Guests, 0 Users

Gallery Latest

Xen Quote
Go see...
Posted by Datahopa

Datahopa

News Feeds

Story Time

Digital Girl Story..
A spirit lingers in this adult tale of the Digital Girl by Maviarab.

Chapter 1, 23, 4, 5, 6, 7, 8, 9, 10, 11
This story is not intended for minors.

User

Welcome, Guest. Please login or register.
Did you miss your activation email?

September 10, 2010, 07:13:26 PM

Login with username, password and session length

Search WIKI



Free Website Uptime Monitoring


Pages: [1]   Go Down
Print
Author Topic: Features in development - Telescope command  (Read 401 times)
GeekCaveCreations
Friendly Face
***
Posts: 118


Safe, Reliable Insanity, Since 1961


WWW
« on: July 13, 2010, 08:03:53 PM »

One of the projects I'm currently working on for my chatbot, Morti, is the telescope command.

for those of you who don't know, Morti "lives" in a chatroom that I wrote, called pChat, which has a number of "rooms" themed around a rather large house (with no bedrooms... Go figure), and one of those rooms is an Observatory. The telescope command is only available in the Observatory, and it's intended purpose is to display a section of the sky that the user wishes to see. Currently, I have a "Proof of Concept" page for the telescope available at http://dmorton.no-ip.info/pChat/telescopeDivTest.php. The controls are still inoperative, as yet, but you can use the mouse within the viewer to "look around", and zoom in and out.

when finished, a user in the Observatory could type in "telescope m45", at which point the viewer would pop up and display the Pleiades star cluster. The viewer will be movable but not re-sizable, and can be "closed" like a regular window. This functionality is already in place on the P.O.C. page.
Logged

Comforting the Disturbed and Disturbing the Comfortable
Freddy
Administrator.
Senior Member
*
Posts: 2744


Resident Weevil


« Reply #1 on: July 15, 2010, 07:22:32 PM »

Nice idea and very original too.  Cool
Logged
GeekCaveCreations
Friendly Face
***
Posts: 118


Safe, Reliable Insanity, Since 1961


WWW
« Reply #2 on: July 18, 2010, 03:59:20 PM »

YAY! I finally got the telescope command integrated into Morti's code. Here's the rundown:

Morti's telescope command only works in the Observatory. If you try to use it anywhere else, Morti will let you know that you need to head there to use it.

The telescope uses the Google Earth plugin to display all sorts of information about certain celestial objects. The GE plugin is supported by IE 6+(supposedly), Mozilla browsers 2.0+ (I think), Google Chrome, and Flock 1.0+. I'm afraid the Google Earth plugin isn't supported by either Opera or Safari, but there's a "fallback option" available, and it automatically kicks in for folks who can't use the plugin, or who don't wish to install it.

If the object you're looking for can't be found in Google Earth, or if you didn't/can't install the plugin for your browser, you can still view images taken from NASA's APOD website, based on what you were searching for. Since Google Earth doesn't have any data at all on the planets, or their moons (their bad, not mine), all you can look at are the images, but the image feature is MUCH more flexible.

If for some reason the script can't find a suitable image for your search, you'll be notified of the fact, and asked to try other search terms.

I'm planning on adding an "auto-correct" feature, for commonly misspelled astronomy terms, so that you don't have to look up the spelling of, say, Betelgeuse. This feature, however, is slated for "down the road a bit", so don't expect it quite yet.

The telescope feature is a "private" viewing experience, meaning that if you and I are in the Observatory together, and I call up the telescope, it only pops up on my end. If you want to see what I'm seeing, you would have to type in the same command.

Some suggestions for the telescope command are:

1.) Google Earth:
Most of the Messier Objects (e.g. M1, the Crab Nebula, M45, the Pleiades, etc.)
Constellations
Certain named stars (Betelgeuse, Polaris, Sirius)

2.) Images:
SOHO comet or SOHO CME (Both are pretty cool. Er... hot? Um..)
Any/all of the planets and/or their moons
Hoags Object (try just "telescope Hoag")

There are 2 minor issues that I've noticed. One is that sometimes, the image viewer loads several images in rapid succession. I'm looking into this, and will have a solution soon. The other issue is that sometimes, the image doesn't seem to match the search terms. This is something that I may or may not be able to do anything about. It's not a rare occurrence, perhaps, but it's uncommon enough that I've placed a low priority on it.

I'm also planning on placing a "Refresh" button in the image viewer, to reduce the number of times you have to actually type the telescope command while searching for a specific image. Again, this is "down the road" stuff.

I think that pretty much covers it. Take a gander, and shoot me some feedback. I'd love to hear your thoughts. Smiley
Logged

Comforting the Disturbed and Disturbing the Comfortable
Freddy
Administrator.
Senior Member
*
Posts: 2744


Resident Weevil


« Reply #3 on: July 18, 2010, 04:36:17 PM »

Good stuff.  I don't get how to use the Google Earth bit though.  If I type in a place is it supposed to spin around to find it ?

I tried various things but like Betelgeuse, Crab Nebula etc but nothing happens in the GE window - it might revolve the globe a little but that's it.  I do get images in the image window though.

Also,

Show Telescope
Show Telescope Controls

Don't do anything in Google Chrome as far as I can tell.

Maybe it's a chrome thing ?  Or maybe I don't get it  Undecided
Logged
GeekCaveCreations
Friendly Face
***
Posts: 118


Safe, Reliable Insanity, Since 1961


WWW
« Reply #4 on: July 18, 2010, 05:43:56 PM »

I haven't actually added any auxiliary controls to the page, but I probably should. In the debug window (Lower right link), there's a means to show the telescope, however.

I'll see about adding a command to show the telescope, as well.

Thanks for the input, Freddy. Smiley Every little bit helps.
Logged

Comforting the Disturbed and Disturbing the Comfortable
Pages: [1]   Go Up
Print
Jump to:  

   

TinyPortal v1.0.5 beta 1© Bloc