jwcutler / retroTrack

Web-based satellite tracking inspired by SatTrack.
8 stars 1 forks source link

Clean up beta code #3

Closed jwcutler closed 12 years ago

jwcutler commented 12 years ago

Ok, I confess, the code is ugly. I wrote it quickly trying to figure out Canvas and predictlib. So it's time to go back and clean up.

predictlib_retro should contain all the orbital calculation functions.

retroTrack.js should contain all the plotting and display functions.

index.html should contain the code for displaying on a page.

retroTrack.css contains the style configuration for the index.html.

jwcutler commented 12 years ago

Note, the variables that remain in index.html should be minimized. They should be limited to display and operation-centric parameters that a particular user or server may want to configure. Some of these variables could be made into user selectable options.

jimblanc commented 12 years ago

Code greatly restructured and documented in both the server side backend and the client side scripts.