Starship Simulator & Trip Calculator Change Log http://www.producerelease.com/sgc To Do list: ============ - Optimize and test minify all code. - New features still to do for recode. - Zoom Center heads up sight vertical align graph - External web destination image choice - URL bookmark save and share with background choice - able to send to friends. - Keyboard shortcuts mapped to user's actual keyboard On / Off. - Link button to Excel Navigation download files. - Background option to URL video loop or live feed like NASA live orbit view. - Coffee tea mug purchase link - Spin off page - Ticket Maker for transport between any two destinations, mutliple class passage, duration, pricing. - NASA Solar System view screen January 15, 2022 - Starship Simulator ====================================== - Updated Moon and Mars map links and added banner Nasa Solar System Treks logo in Moon and Mars guide to allow links to other planets, moons and asteroids. December 20, 2021 - Starship Simulator ======================================= - Added Albatross Media Server to Video feature list. This works local network users only, because the local server has no SSL certificate. Remote users will just see a demo webpage. No copyright content is available to the public. - Top left of lower keyboard - new feature Mainscreen resizer that changes the screen size from mid to large. This button appears only when Vids is active. The wide large size is particularly good for widescreen trailers. - Guide updated to include these features version 1.0d pdf available for download by clicking the CP button, lower left yolk and clicking the download full guide link. September 27, 2020 - Trip Calculator ==================================== - In manual Mode the Engage Auto button did not force a clear image status when the calulator returned to the Auto mode. This caused an error when trying to add a ship or change the start or destination. The 700 ly dbase mode is handled differently and does not have this issue. For now this is fine. - Deep space Nine Space Station start and destination did not have a correct dbase entry and so no chart was able to be created. This is fixed. DSN is set to 3.4 light years this side of the Pleides Cluster boundry. - Ship destination trip data, top right just under the chart took too long to fade out when the user changed to Manual Mode. This is fixed. September 19, 2020 - Starship Simulator ======================================== - Firefox started banning any new audio playback until the user clicks on something in the page. Added alert notification with an OK button to solve this problem, so the user can hear the first audio in the simulator. - Updated Pop-up warning notice to work step through the latest Chrome browser settings to allow pop-ups. Firefox tested and works with Pop-ups immediately if the user clicks allow. This setting is important to allow the pop-up viewscreens to work in the simulator. - Tweaked position of Simulator zoom slider to fit tighter for all zooms in the upper left control area. - Fixed preloading of Audio control icon which was coming up empty until the user moused over the button on the lower right yolk handle. - Tested the Solar System view screen and it still has a memory limit issue that may appear for some computers. There is an alternate NASA Solar System map that could be used instead. It could be switched or added as a new viewscreen. - Currently, there is too little feedback to warrant additional changes to the simulator. April 24, 2020 - Trip Calculator ================================= Mission Profile log middle right next to the starship icon choice. Expanded record of mission from a single starship type. If the user keeps the same starship and changes destination, there will be a record log of each mission profile in the scrollable log window. As soon as the user picks a new starship, the log resets. Data is color coded to match the main mission profile data windows. June 13, 2019 - Trip Calculator =============================== - Fixed special case Ship time days to top speed math for short fast trips. Manual setting 10 days to top speed, .99998 c speed rendezvous to Alpha Centauri now correctly reads a little over 20 days. Time dilation within acceleration and deceleration legs is also calculated. June 12, 2019 ============= - Updated jquery to 3.4.1 for Simulator and Trip Calculator - Fixed code bug around zoom function being blocked by unneeded variable cache retrieval - optimized location arrival throttle down at end of landing track movement December 1, 2018 - MP Navigator - Excel ======================================= - Updated version fixing many issues. Over 12,000 locations and some extra features to the stellar database, more accuracy to stellar data. Better quality and matching charts. Y- and Y+ flipped around to match other projects. October 13, 2018 - Trip Calculator =================================== - Dbase updates and Option Star type checkbox filters for both Start and Destination stars in the larger, 700 light year dbase. See the the bottom of the Trip Calculator help file, by clicking the right side blue question mark in the Calculator, for more details. July 13, 2018 - Trip Calculator ================================ - Updated 2nd stellar dbase to 400 light year distance and 3,564 entries. Large numbers of M class stars are expected to have not yet been discovered. June 15, 2018 - Trip Calculator ================================ - Fixed: Many buttons were susceptible to double clicks causing multiple events. If the user did a quick double mouse click, features would open, then immediately close, double audio playback could result. Code was added with a new function to protect against doubleclicking. June 14, 2018 ============= - Fixed: Many buttons were susceptible to double clicks causing multiple events. If the user did a quick double mouse click, features would open, then immediately close, double audio playback could result. Code was added with a new function to protect against doubleclicking. This resolved about 15 issues, including Throttle, Monitor pop-ups, Ship view heads up left and right brackets, ship mission times in top monitor, cockpit mood lighting, Guide on/off, keyboard guide on/off, Videos, Destinations, Tint and some keyboard controls. - Fixed: Guide and Quick pick guide dimmer masks would reappear incorrectly. - Fixed: Earth Maps needed updated Google API key. June 7, 2018 ============ - Fixed: Videos off button failed to restart Destination button in upper right yolk handle. This was caused by a timing error. June 6, 2018 ============ - Fixed: Browser security changes stop allowing focus on previously opened viewscreens. This stopped the ability to click on an open viewscreen button and switch to the open viewscreen window, behind the browser. Instead, new notices are shown in middle monitor when viewscreens are already open and the user mouses over the starred button: "Viewscreen Open - Alt Tab to view". This only applies to yolk buttons for [3D local stars], Sky, Earth, Moon, Mars, WW Telescope, Solar System, Galactic stars. May 30, 2018 ============ - Fixed: Video player continued to play audio when user clicks systems off in the middle of playback. - Fixed: Left center console monitor would show previous feature info after user clicks system off and on again. - Fixed: Jewelled key would briefly show up in briefcase at beginning of cockpit loading. May 27, 2018 ============ - Fixed: Mouseover keyboard area to pop-up center monitor with image showing which keys do what was working with systems off. May 25, 2018 ============ - Added about a dozen music videos to bottom of movie collection list. Fixed some access limited videos. Total videos now number 98, about 6 hours, for Starship Cockpit collection and inside [3D Local Stars] VRML world. May 21, 2018 ============ - Added Loading StarShip Systems animation to solve problem of first audio sync playback. Startup animation pause allows audio to preload correctly. - Added Paradise Scorpii 62c destination and music audio track. This shows an interesting Trojan orbiting planet, that could be possible in this system. Original inspiration from Alien series. - Fixed: Crash shield no longer auto retracts when users turns system's off. - Fixed: Jerking pan scan for arrival and extra wide destination images. May 12, 2018 - Trip Calculator ============================== - Fixed: Ship status screen - years and days were different ship vs. Earth time. Algorithm was wrong. - IE tested and failed to allow background-position movement. IE requires alternate code to work because it handles background-position CSS movement differently. IE does work fine with Cortona 3D plugin so it can be used for [3D Local Stars] direct. May 8th, 2018 ============= - Fixed: Advanced Monitor Controls failed to save user settings when user turned Systems Off & On again. Now, AMC comes back on correctly, if the user had it turned on before. - Fixed: Opening Viewscreens should get custom 'Accessing' image to appear. Failed due to code timing. - Resized Viewscreens pop-up opening sizes to avoid scroll bars. May 7th, 2018 ============= - Updated algorithm for Y positioning (up / down) during zooms. This code allows the Simulator to be aware of cockpit size changes, any previous pans and background destination travel, so all zooms can auto center, from any start. Current view center is about 1 inch above the center console screen. Now that it is much more dependable and precise, there could be a user adjustment control. This feature could have a pop-up vertical line with numbers showing up and down shift settings. This would be a very obscure feature option. It's doubtful anyone would notice or use it. - Fixed: Chrome startup in Simulator with OK button to start audio. - Tightened up timing of Destination Flight. Delayed throttle hideaway until after touchdown at new destination. May 5, 2018 - Trip Calculator ============================== - Updated Manual mode controls to allow Rendezvous and Flyby to change without an error message. If data is complete, a new chart is called. If manual 3 field, data entry is incomplete, clicking rendezvous / flyby button does not call a new chart anymore. The user can complete the data and click Engage instead. - Fixed math error bug for Short-hop missions with new algorithm code. Previous code failed to switch back and forth between short-hop mission profile and normal profile if the user picked a new destination without changing the ship. Current short-hop profile is 100 times faster acceleration to 1/3 speed for missions under 1 light year, on selected ships. The notice Short-hop mission will appear in the trip data and the ship types are listed in the notes or by mousing over a ship button. - Fixed Ship Selected Notice panel light to be accurate. It was showing as Ship selected without a heads up ship image, if the user clicked a ship, without choosing a Destination or Start position. - Added trip log per ship to include Start, Destination, Ship Years and Ship arrival date. Choosing a new ship type, restarts the log. Log entry is color coded. dark orange, to show if full speed was achieved. Pale green text shows that top possible ship speed was reached. Short missions to nearby destination on fast ships with long acceleration can be 'Inverted V' mission types, where top speed is never reached. Also short hop 1/3 speed missions are color coded to show top possible ship speed was never reached. - Added AU distance option for Manual mode. Real time AU distances between Solar System planets and some asteroids available at: http://cosinekitty.com/solar_system.html - Fixed jQuery update issue. Trip Calculator now running on jQuery 3.3.1 and jQuery UI 12.1, all latest versions. Also increased timeout for bottom data screens. April 24, 2018 Update - Viewscreens and Audio features ====================================================== New Features ============ - Major Feature - Viewscreen updates: All viewscreens should now function for all browsers, except 3D fly-through Local stars which needs Cortona 3D Viewer. Only Internet Explorer version 11, SeaMonkey or Pale Moon browser will still support this free NPAPI plug in. Only these browsers will show the Wide, Full and 3D buttons on the upper left yolk. - The code to recognize browser types still needs work. IEv11 should be working. - Map Pull down for Sky and Earth still work within the cockpit page. All other viewscreens work as separate iFrame pop-up pages which will resize correctly in the middle center of view, no matter what browser width the user is using. If the user clicks again in the cockpit page before the viewscreen opens, then the viewscreen will be hidden behind the cockpit page. An highlight star on the yolk button will indicate the viewscreen has been opened. These button highlight stars are updated only when another viewscreen is activated. If a viewscreen is active and hidden and the user clicks the active button for the viewscreen again, the current in use viewscreen will appear in front of the cockpit screen and any work inside that viewscreen will not be lost. In this way, it is possible for a user to have multiple viewscreens open and all work inside each screen will be kept current. Opening a different viewscreen will not close or reset any other open viewscreen. It is possible with enough multi monitor space to have many viewscreens open at once. - Major Feature - Audio: Custom cockpit sounds for all buttons and animation effects. Comm Link for commentary, support, alerts, music tracks that vary for each destination. Audio switch on lower right yolk handle switches between No Audio, Cockpit Sounds, Cockpit and Comm, Comm Link only. Cockpit audio will transfer user preference to Trip Calculator window for additional audio effects in the Trip Calculator. - New guide size control optional button to grow the guide area twice as high to more easily see the info in each guide. Top right of guide window. This feature has a heads-up center monitor info image. - Quick guide option screen at the bottom right button in the guide. Normally guides change automatically when the user picks a feature. The Quick guide option allows the user to jump through the different guides as they wish. Opening a new feature will automatically open that feature's guide. This feature has a heads-up center monitor info image. - Mouseclicks on Keyboard Shift Left (monitors darker), Shift Right (monitors lighter), now actually moves the slider in mid yolk as well to match. - Tracking and Zoom controls: Right side open pull-down has improved zoom function bar and lights. - New Videos added to collection. - New Destination added to collection. - Mouseover viewscreen and features buttons now allow center console monitor guide images. Most disappear on mouse leave which causes the images to sometimes flash if the user mouses around a button. It's not easy to put a delay on this, because multiple fadeouts can mount up on top of each other. Cancelling previous timeouts does not work 100% of the time, probably due to browser issues. The only guide image that sticks is the Ships dbase. This was done so it doesn't flash on and off. The 38 clickable areas for each ship cause the guide image to load. So instead the Ships dbase image fades when any area around the ship dbase is moused over. Updates and Bug fixes ===================== - Some timeouts still do not function correctly. User can multiple mouseover areas and cause multiple timers to run. Correct this with setting timeout to global variable and then clear the variable on reuse. - 3D Viewscreens from Earth, Moon and Mars are using more updated versions of jQuery. The Cockpit is not yet updated. Need to update the Cockpit to conform with latest jQuery release. Switched ceilung header console fader to the forward slider, so sliders are now forward to back, ceilung header console, windows seams, floor and walls. This is more logical order top to bottom = front to back. - Small tweaks needed for precision of arrival dates to make sure January 0 is not possible. Updated code nearly ready in Mission Profile Calculator feature. - Fixed faders for floor, wall and upper console to also fade out mood colors and cabin light dimmer masks. Default mood lighting now starts 15% darker. Up and down points of the star allow lighter and darker settings. - Clean up all features now close correctly with systems off. - Buttons for viewscreens cleaned up. - Shields open and close travel time extended slightly to highlight it's Audio effect. - Improved left window panel transparency faders for cockpit floor and walls, window seams and overhead console. Sliders that appear when the lower window monitor area is moused over, are now easier to click and three image states are now available, standard, hover and active. Fade in happens with local mouseover. The only fade out control is mouse leave of the center monitor brightness slider. It is not obvious, but works to occassionally clean up the left window control area. - Guide opening code improved. - Background destination coordinate arrivals tweaked to look better on arrival. - Local stars and 3D buttons coded to only appear with compatible browsers, IE 11 and Seamonkey Future releases ================= - Optimize and update javascript libraries - Optimize code and remove most comments and console logs? - Interstellar journey ticket maker. - Destination grabber control to allow the user to put backgrounds in from online image sources and live streaming video feeds. - Possible Zoom center heads-up display adjustment to allow the user to zoom in to a specific area. - Possible live video background viewer. - Click in the upper monitor area to open Excel Star to Star travel distance worksheet. - Click on Coffee mug to go to Winchel's site. ================ April 16 2017 update ==================== - Mission Profile Trip Calculator added to Simulator. Control lever appears on the right side of the Ship dbase panel and a show / hide button is underside panel on the right. Mar 21 2017 update ==================== - Google Earth API plugin no longer works. The simulator will remove Earth, Moon and Mars code and buttons soon. - 3D Local Stars Cortona plugin still works for Internet Explorer v11, Firefox v51 (old), Pale Moon. Launch page updated. - Plugin logic has a bug which stops IE and Pale Moon for working. Update planned soon. Nov 14, 2016 bugfix =================== - Ship arrival number of months for Earth and Ship were one too few. Adjusted math calculations to fix this. - Several css and js typo code fixes are ready to update, but need review and testing. Nov 2, 2016 Preloader added to help load images prior to use ============================================================== - Online use causes mouseover and pop-up images to not load fast enough. Added Preloader function for Cockpit mouseover buttons and pull down images. Also added separate preloader with 6 staggered image loads for the Advanced Monitor Controls Pop-ups. Load in background will go from 15 seconds after AMC is turned on to 12 minutes later. This should load balance the downloads to not interfere as much with user's actions. Preloader should be aware if images are already in Browser cache so a new session should not, hopefully, require a media reload. Tests run for this effect looks good. October 23, 2016 update Version beta-5 0.95 - Major overhaul, ported to Firefox and IE explorer, turned back on all viewscreens. ================================================================================================================================ - Firefox Browser compatibility, Turn on Viewscreens and add 3 extra Viewscreens - Many conflicts resolved: Area selects, background position motion, 3D world pop-up, Google Maps API still possible. Chrome still offline for all viewscreens except the Video player. - Feature updates: 1) Sphere center left mouse click returns to starting position without changing the zoom. Right mouse click returns to starting position and starting zoom factor 1x. Center movement with these options are always 4 times the length of user choice of transtion speeds. This helps slow down back to center from a large distance or large zoom shift. 2) Y axis zoom math upgraded. Very precise now. Heads up center point set at 650 pixels down which is about center of viewscreen. This could be user controlled and a new feature with a heads up grid. User could slide the zoom center up and down. 3) Diagonal background movements not supported by Firefox easily. Changed to X shift then Y after user set transition duration. This auto updates. 4) Memory cleanup after systems shut down and at the beginning of browser refresh. This should help Firefox. 5) Systems start up now has a nice fade-in, instead of click on. 6) Zoom max limits checked and improved. Zooming out should not end with any background edges showing. Background position changes on the sphere can still go beyond the background edge. Some backgrounds are seamless wrap around. 7) Zoom and side motion transition have jQuery easing in out in Cubic for sphere controls and Quad for first background shift, instead of jQuery animation Swing default. 8) Firefox transitions require listed of step transition commands to work smoothly since FF does not support background position or zoom animation. This requires additional variables to force the start positions and zoom factor start to work with Firefox. This is a lot of extra code to allow Firefox to animate and zoom the backgrounds correctly. 9) Zoom click controller bar auto fades out for the duration of the zoom. This keeps the user from double-clicking which can cause a background image crash. 10) Letter R on keyboard can be clicked to Reaccess External View in case of image crash. A intermediate graphic with the notice will show for a few seconds. 11) Timing and animation between destinations tightened and updated. 12) The click controller in Firefox can cause corrupt errors when background images are moved around. To counteract this, the click controller is disabled during background moves. 13) 3D stars buttons now create a separate window pop-up with the 3D fly through stars world. As a separate window, it can disappear behind the main cockpit. Clicking the top left yolk buttons for Wide or Full 3D Stars opens a new window. If it gets lost behind the cockpit, clicking the button again will go back to an open window at it's current position or if the user has completely closed the window, clicking the button again will open a new 3D star map. These are 3 separately coded actions, but they appear to work together and seem logical for the button use. The user has to choose Wide or Full at the start. Or completely close Wide and then choose Full. There is no code to automatically switch between the two preferences. Both buttons will return to the current pop-up wheither it is Wide or Full. 14) Local Stars 3D fly through window opens to the an appropriate size based on the browser cockpit size. The pop-up window can be resized by the user or even moved to a new monitor and made full screen. 15) Added pull down map autoclose, if user changes the browser size. A browser size change immediately makes the map position selection invalid. Opening the map again at the new browser size, will realign it correctly. 16) Connected Earth pulldown map to work by opening a pop-up window of Google Earth. Map data is transferred via URL parameters and Latitude and Longitude choices are shown briefly under the 3D Earth screen. 17) Updated ship heads up display and title. 18) Added Viewscreen Summary info and quick help to left console monitor. This used to have warning alerts when switching between viewscreens. This is no longer the case. All Viewscreens are pop-up, except the video player. The new viewscreen help screen will stay up for a while. Clicking on it will make it go away. 19) Added new movies to the collection for the pull out list and added Luhman86 and 1088 videos to nearby brown dwarf systems in the local stars 3D world. 20) Added Proxima B planet and a new viewpoint to the local stars 3D world Alpha Centauri system. 21) Added new videos to the Video Player list. 22) Changed all viewscreens except Video Player to stand alone pop-up windows. This solves many issues and causes some new ones. If the user clicks anywhere inside the cockpit, the cockpit window will come to top and hide a viewscreen. However, the starred buttons will show other viewscreens in the background and clicking again on each starred button on the yolk will bring the viewscreen to the front. 23) Changed Left console monitor info screens for all pop-up viewscreens. 24) Updated all, formerly bookmark, lower left pulldown areas to be now guides for each viewscreen. This area used to have bookmarks viewpoints to fly inside the embedded viewscreens. These viewpoints have been moved to inside Earth, Moon and Mars viewscreens to upper left blue brack on / off menu. 25) Earth and Sky auto go to random locations. 26) Earth Moon and Mars navigation controls, adjusted and fixed some Google bugs. Flight and Pan in 360 now work. Also, two leg descents now work correctly. Search math Latitude, Longitude has also been corrected. These features and are currently broken on Google depreciated map sites. 27) Additional viewpoints added to Sky (auto fly to on startup), Earth, Moon and Mars. 28) Fly to an exact location feature added to Earth. This control panel also adds an altitiude input which works for negative numbers in Oceans and deep lakes on Earth. The 3D model of Titanic and the Mariana Trench have been added to the viewpoints in the Earth / World pulldown list. 29) Button active logic code created to check for status changes in any viewscreen pop-ups whenever a button screen control is pressed in the Cockpit. If the user closes a viewscreen. The star in the button on the yolk will only disappear when the user next clicks on any viewscreen button. 30) Keyboard guide and clickable areas updated. Boomarks in letter B has been moved to Guides in letter G. 31) Long guide info areas, Earth, Moon and Mars, have Open as new window clickable link in the top right of the Guide area. 32) PDF guide updated with new features and Index. 33) Guides updates from pulldown lower left area. Previously, this had working bookmarks to fly between points in the Earth, Moon and Mars. Since the new viewscreens are stand alone windows of their own, such bookmarks in the Cockpit area would only work for the initial first opening of a Viewscreen. Instead the Viewpoints have been transferred into each Viewscreen as a blue brack left side menu. This leaves the former pulldown Bookmarks area to change into a Guide area that changes for each Feature or Viewscreen. 34) Rather than having to wait to change to a different Viewscreen or Feature in order to see the Guide for that feature, a new slide down menu below the Guide pulldown is available. This is the Guides Quick Pick and it is opened / closed by the golden sphere in the upper right area of the Guide pull down window. The user can click and immediately go to a Guide on any Viewscreen or Feature. In addition, the left console monitor summary screen describing the Viewscreen or Feature appears for a full 3 minutes, unless the user clicks the area to close it. 35) Monitor Brightness Dimmer extended down to 20%, nearly black. 36) New Viewscreens - Solar System SCOPE, World Web Telescope, Galactic Stars (100,000 Stars from Chrome Experiment). 37) Added code to check for Pop-Up browser restriction turned on by user. This stops Viewscreens from opening. The user with this pop-up limit set on a browser will get a notice of how to fix it. 38) Updated jquery and jplayer.js to current versions. 39) Added two movies to play inside the Sky map and Earth map Guide areas. 40) Tightened up mood color matts for better edge quality around floormatt. 41) Slowed down shield open and close to make it smoother. Slowed down open Guide area data to solve timing issues. 42) Lower border seam to background dark leather brown gap now fixed. 43) Clean up js, css and html code and some optimization. Comments and consol.logs still left in the code. Fixes 6-4-2016 ======================== - 3 area fader done - Floor and Walls, Window seam and Top bulhead now can be faded to invisible with 3 slider bars each with 5 levels of transparency. These controls are found on the left window monitor base and they appear when moused over. The pilot bag on the floor, now animates and is stored out of view when the floor and walls are made invisible. The bag returns when this area is made 100% visible again. - Advanced Monitor feature done. 1) Monitors cycle through multiple images on 4 different timers. (one timer works on the 3 center counsel monitors) 2) Center console monitors use one timer. Center montior fades in first and left and right fade in together after a stagger time. 3) User can adjust the center console monitor stagger time by clicking on the advanced monitor control button with the center mouse key. numbers come up in gold. 4) User can adjust the fade in and out time of all images by clicking on the advanced monitor control button with the right mouse key. Numbers come up in silver. 5) User can set the monitor cycles times by clicking on the advanced monitor control button with the left mouse key. There are 4 speeds that pick a random value each time within a range for Slow, Standard, Medium and Fast. 6) User can click on the MSet | Last button below in the advanced monitor controls with the left mouse key to show a status update info in the middle console screen. This screen will auto update when changes are made and it will auto fade out after about 15 seconds. 7) User can click on the Mset | Last button below in the advanced monitor controls with the right mnouse key to show the last advanced monitor change that was made. This screen will fade after about 15 seconds. 8) By default Pop-up mouse over enlarged solid view of each monitor is available. 9) User can click on the number circle or lever to the right of the advanced monitor controls and adjust the pop-up image size from 1 = small to 5 = very large. 10) User can click on the square bright blue box behind the advanced monitor controls to turn off all pop-ups. The area will turn grey. Clicking in the grey area will toggle the pop-ups back on. 11) All setting values are remembered so the user can turn off advanced monitor controls or even turn the entire system off. When the turns the system back on, by default advanced monitors are off. If the user turns advanced monitor controls on again, the settings will be where he left them. This works only per browser session. 12) Turning on destinations for the right center console monitor will automatically turn off pop-ups for that monitor. The pop-up will return when destinations are closed. 13) Monitor images do not start over. They pause and start from where they left off whenever a user turns on or off Advanced Monitors or off and on the system. 14) The monitors each have image themes. Included in the views are control mock up screens, screen grabs from from the Mission Profile Navigator Excel project, images in different areas of the starship and views from outside, real shots of various places, planets and moons of the solar system, several fictious locations with names based on real location in local galactic area. 15) Left and right grip yolk buttons now auto fade in just after the monitors appear. There is a random variable running, so sometimes monitors will appears quickly and sometimes take up to 3.5 seconds to start. This is for an organic feel. - Titan from Moon destination #32 image updated. It is a more realistic view of two smaller moons, Titan and Saturn with additional moons in the distance. - Four more destinations added to the end of the destination lists. 1) The Pleiades Star cluster with Deep Space 9 and Planet Meridian from Star Trek. 2) Izanagi Ridge - Lakota Base, Rhea Moon Saturn System. 3) Kimolana orbiting MOA-2003-BLG-53 4) Orion Spur-Kicker transwarp ship - Cat's Eye Nebula and Planet Phaeton - Several videos updated with 28 choices. - Destination arrival timing adjusted to move slower to resting view, when arriving at a destination. - Zoom speed controls options updated for auto varispeed zoom depending on the amount of zoom. Default to Standard which is about 2 seconds for 10% zoom and 16 seconds for widest zoom out and about 8 seconds for zoom from wide to full. Button settings are: Extra Slow, Slow, Standard, Medium, Fast. - Lighting behind monitors improved to show more realistic colors that interact with cockpit lighting. - Keyboard guide and controls updated. The advanced monitor area includes: Key M is Advanced monitors On / Off toggle. Key < works only when Advanced monitors feature is turned on and controls Pop-up toggle. Key > works only when Advanced monitors feature is turned on and controls Monitor cycle speed. Key ? resets the Monitor brightness slider which can sometime disappear if controls are clicked in rapid order. Key Shift Left darkens monitors Key Shift Right lightens monitors - Background mood color masks improved fixing some edge issues and the dimmers for mood lighting now goes a little darker at the low end. Fixes 6-4-2016 =============== - Center button in navigation sphere fixed. It worked, but went to a random location in the background. - Updated Ship dbase travel time to include new notice for very quick journeys to close locations: "Earth time: Ship speed is extremely fast. This journey is nearly instantaneous." Previously there was no message. - Destination information pull-down area in upper right made wider and thinner. - Viewscreens off Saturn icon in upper right bulkhead area moved up and to the left to not overlap Destination information area. - Pan to landing point in new destination slowed down to 32 seconds instead of 16 seconds. Some backgrounds are very large. User can always interrupt. - Background movement adjusted for each destination so that 1% is about 35 pixels, no matter which background. - Zoom transitions smoother - Destination coordinates were saved when the user looked at a location. This is now fixed for coordinates to change only after the user flies to the new destination. - Throttle up on any destination caused the "Back to Center" middle sphere button to go to the center for the new destination, even if the user did not complete the travel which is the wrong center for the current destination. Data was updated before actually making the trip. So, if the user clicked the close throttle button or let the throttle option time out and not travel, the sphere navigation center did not work correctly. This was fixed by having the data only update if the user actually travels to the destination. This also caused errors in moving around the current background. Just opening another possible background and bringing the throttle up, changed the speed of navigation as well. This is now fixed. ============== Older updates ============== 2-29-2016 - Arrival date math is challenging. Light years are measured in Julian years 365.25 days. Leap year calendar is based on 365.2425 days. So, travel time has to be adjusted slightly upward. The last part of a travel time is the remainder of days. This is added to the computer's current date. If the arrival date is in a leap year, the arrival day could either be February 29th or one day less for every day after. For example, departing on January 1st 2016 (a leap year) and travel for one year of 365 days, you will arrive on December 31st, 2016. These cases are automatically adjusted. Earth arrival date and ship arrival dates have to be figured separately. Time dilation using the correct formula is run for each ship speed. 11-18-2015 - Found bug in Math for Ship Dbase and corrected. Arrival days for short trips was wrong. 11-5-2015 - Found bug in math for Ship Dbase and corrected. Now arrival months are accurate. 10-31-2015 - Reset monitor zoom slider also added to monitor zoom number area. It was available on the keyboard ? key. Click either the monitor value number or the ? area on the keyboard to reset the slider. It can get lost during some animations. - Make zoom, keyboard guide, Ship dbase and bookmark guides auto close, when throttle is used. Zoom could get out of sync if used during transport. - New Feature: Ship database controls and heads-up display installed with Ship Dbase panel controls. - Auto Travel Time calculator installed with data screen in top wide monitor. Corrected for leap year date. Juilian years for Light Year Measurements converted to Leap Year average base 365.2425 days. Leap years automatically sensed and dates are changed corrected. No upper year limits. Dates can extend past the age of the Universe. 10-20-2015 - Added New Video - Star Wars - The Force Awakens #3 10-8-2015 - Turn 3D Local stars access for Firefox browsers. Use same beta passcode in Firefox. 10-3-2015 - Added new videos: - The Martian -- Help is only 140 million miles away - Kepler 186f - Eathlike Planet in M red-dwarf system 9-27-2015 - Added new videos: - ESA - Guide to our Galaxy - gaia - 10 Strangest Planets In Space 9-25-2015 - Google stopped all plugins for Chrome. Recode required to turn on the plugins for Firefox and Internet Explorer. Currently 3D local stars, Earth, Sky, Moon and Mars and pull down maps are offline. Video player and destinations still work. Some updates added today. - Inner shield and button on left window console. - Updated Pull down Keyboard Guide - Position data monitor in upper right. Mouse over or click area to view or to hide. - Transitions to new destinations adjusted for timing and tracking slower on arrival. Then it goes back to whatever speed the user has set. Bug fixes: - Alert screens that plugins are missing x close button failed with cockpit dimmer. Fixed. - Bookmarks did not show for Destinations and Videos if Google plug in was missing. Fixed. 9-1-2015 - New Features added Transition flight data update appears in top monitor on arrivial at new destinations. Texts are color coded. Mouse over or click to toggle screen on/off. Inner Shield - button on left window monitor console and is active when the system is off or on: Allows a little extra time for the main destination outside image to download. Inner shield drops top to bottom a few seconds after arriving on the page. Advanced Monitor functions: 1) Monitor button turns on monitor cycling 2) Mouseover monitors zoom out current image 3) Monitor button center: a) Left mouse click to change cycling speeds. - Standard, Medium, Fast, Slow b) Center mouse click to change stagger time for center console left and right monitors. - 4 sec, 8, 0, 1/2, 1, 2 c) Right mouse click to change fade in / fade out times for monitor images. - 2 sec, 4, 8, 1/2, 1 4) Monitor button outer ring - Turns on / off advanced monitor features 5) Monitor button outer box - Turns on / off image mouseover zoom. 6) Monitor button help a) Left click to show summary of all monitor current settings b) Right click to playback the latest text update. 7) Text updates when the Monitor button is clicked will show in the center console monitor. 8) Monitor button enlarges when turned on. 9) About 160 monitor images will cycle between 2 window monitors, 3 console monitors and 1 overhead monitor. 10) Overhead monitor link will open actual Starting Position to Destination distance and mission time calculator in Excel. 11) All monitor settings are remembered during the current session. Turning off advanced monitor function does not reset the monitor settings. 12) Monitor images inside the monitors have transparency. Zoom out images are not transparent. 13) When Advanced monitor functions are turned off, only the brightness slider on the middle yolk will be the only monitor adjustment. Updated Keyboard guide to include new feature keys. 8-3-2015 ======== - Update Zoom in / out alignment for X values v.921 Keeping the zoom centered has been discussed online in forums for many years. It is not easy. Left and right (X) centering is made more complex because browsers set 0% X as the background images left edge aligns with browser's left edge. 100% X aligns the background position's right edge with the browser's RIGHT edge. This happens irrigardless of the browser's width. Browsers handle Y values differently. 0% Y is the top of the background aligns with the browser's top edge. 100% Y is the bottom of the background aligns with the browser's top edge. Handling Y center value is much easier. Today's update makes X centering much more exact. There is still about a 8% drift at the left and right edges. But zooming in and out now returns to the same starting location. X centering method: Using original X scale which is what the browser understands, find the left and right center point CP which is: X% value plus 1/2 of the browser (cockpit) width. Convert this CP percentage to a CP2 percentage for the zoomed image, which is always less value because it is based on the a wider modified scale where 0% X aligns left background image to left browser edge and 100% X aligns the left edge of the background image to RIGHT browser edge. This makes the wider X scale match the way that Y scale works. The new X scale has 100% = the left edge of the browser aligns with the right edge of the background image. The Y scale has 100% the top edge of the browser aligns with the bottom of the background image. The wider X scale center point for the zoomed image, CP2. The problem is: Take the zoomed center in the wider X scale, (CP2) and work backwards to change back to the old original X scale. That will let us find the left edge of the browser based on the old X scale, which is what the browser needs to position the background image. Center point 2 base on the wider X scale (CP2) percentage position minus 1/2 browser width in percent of new zoomed background size brings the percent value back to the X% left edge for the wider X scale. Change the left edge wider X scale back to the original X% value scale. This finds the X% original scale to tell the browser to use so that the center stays aligned left and right. Details and the formula are available in js/zm2.js and part is shown below. Just to give you an idea of the X and Y solutions to keep the background in the center here are the formulae from zm2.js: === // ======= X Maximum allowed ======= // Find the percentage max that puts the current cockpit width against the right edge of the background image. Very easy. var xmax = 100; // ======= Y Maximum allowed ======= // ymax is very tricky. background position percentage has 0% X background left edge and 100% X background right edge. But height is different. It is set to have 0% flush top and 100%, the bottom edge is at the top. The height of the browser window is ignored. In order to find the maximum allowable y, some elaborate math is needed. 1060 pixels down from the top edge is the bottom of the cockpit windows when cockpit zoom is 1x. // So y at 1x 1500 pixels down is 100%. At 1060-17=1043 (17 pixels for the scroll bar), you hit the bottom of the cockpit windows. That value changes, depending on the cockpit size. It also changes depending on the background zoom factor. Another background will have a different hstag height but this formula will still work. /10 converts percentage to make the number between 0 and 100. We need those values for the jQuery backgroundPosition movement code below. var ymax = Math.round((((hstag*zf)-(1043*cw))/ (hstag*zf))*1000).toFixed(4)/10; // ======= X and Y Fix for 0 values ======= // The zoom formulae will fail with 0 values. If either x or y lands on 0, it is adjusted here for the next zoom. This will make the first zoom in from 0 go a little left and down. Otherwise you would look stuck in the upper left corner for the first zoom change, because 0 times anything is still 0. // Check to see if the zoom is less than minimum which means that it has reached the full wide value. If the user happens to be on X=0 but not full wide, then the only adjustment is to force 0 = .1. From full wide, a zoom, however, starts at 50%. zfg = Starting zoom factor from cache zf = Ending zoom factor xvarg = last X percent value position of browser yvarg = last Y percent value position of browser xvdup = xvarg yvdup = yvarg // Makes x percent go to 50%, which is the correct place to start // to zoom in from full wide. if ((zfg < .7246)&&(xvarg == 0)){xvarg = 50}; // Solving 0 value for other conditions. Image is not full wide, // but happens to have x on 0. if ((xvarg == 0)&&(zfg >= .7246)){xvarg = .1}; // Solving < 0 issues for zoom. Can't go over the left edge when you zoom. if (xvarg < 0) {xvarg = .1}; // Makes a duplicate value (xvdup) of the end result xvarg // for use below in the formulae var xvdup = xvarg; // Solving 0 value in y for coming from full width contain if ((yvarg == 0) && (zfg < .7246)){yvarg = 13}; // Solving 0 value for other conditions if ((yvarg == 0) && (zfg >= .7246)){yvarg = .1}; // Solving < 0 issues for zoom if (yvarg < 0) {yvarg = .1}; // Makes a duplicate value (yvdup) of the end result yvarg // for use below in the formulae var yvdup = yvarg; // ======= X and Y Centering ======= // The next formula finds the new left edge percent at the end of the zoom. First it finds the left edge if it was on a different scale of width plus the cockpit width: (xvdup*.01)*wstag*zfg/(wstag*zfg+1444*cw). We have to add in half the cockpit width in the same scale: 722*cw/(wstag*zfg+1444*cw). Then we need to minus half the cockpit with at the end of zoom: 722*cw/(wstag*zf+1444*cw) times the end of zoom image + cockpit width / image * end of zoom: (wstag*zf+1444*cw)/(wstag*zf). Converting the answer from percent back * 100 to a whole number: *100000).toFixed(4)/1000; This finds the left edge shift to keep the center fixed. It works pretty well and fades a litle at the far edges. I can tweak it to get closer at the edges, but this formula is better at coming back to the same spot. zfg = Starting zoom factor from cache zf = Ending zoom factor xvarg = last X percent value position of browser yvarg = last Y percent value position of browser xvdup = copy of last xvarg in whole numbers yvdup = copy of last yvarg in whole numbers wstag = width of background image hstag = height of background image cw = current percent magnification of cockpit (1444 is 100%) var xvarg= Math.round ((((((xvdup*.01)*wstag*zfg/(wstag*zfg+1444*cw)) +(722*cw/(wstag*zfg+1444*cw))) -(722*cw/(wstag*zf+1444*cw)))*(wstag*zf+1444*cw)/(wstag*zf)) *100000).toFixed(4)/1000; // Y top edge value keeping top / bottom center - 750 is the middle of the top / bottom of the cockpit. Setting to 650 pushes the center of zoom down to just above the middle monitor. It's possible to make an top / bottom zoom center adjustment for the user by varying 650 if this formula. This feature is not currently offered to the user. var yvarg= Math.round (((((650*cw)/(hstag*zfg))+yvdup*.01) -(650*cw/(hstag*zf)))*100000).toFixed(4)/1000; ============================================ 6-28-2015 - Release Starship Simulator v.92 with Zoom feature Updates: - Zoom Feature - Use Open button under sphere to open Zoom Module and Tracking controls Features: Green full wide, Yellow 1x (no zoom), Blue Full zoom 230% with auto button highlights. Zoom grid horizontal track with 37 steps, click to change. Left cap crayon pointer of grid is clickable and goes to full wide. Right goes to full zoom. All Zooms auto align with image edge and never go past. Full Wide zoom out automatically senses image type and auto adjusts. When user tracks past a destination image edge, zooming up or down will realign the edge. Tracking controls can still go past the destination edges. Some destinations have 360 degrees wrap around space. Zoom data does not erase when systems are turned off. Turning Systems back on still show correct zoom data. Mouse over zoom control info added to center yolk readout panel. Pop up info window by pointer also shows zoom values. Zoom speeds are tied to the tracking speeds and can be changed in the tracking control buttons. Center Sphere button moves zoom back to 1x, as well as go to the starting location for that destination image. Zoom Alert messages added to center monitor for Widest Zoom, Standard View (1x) and Full Zoom. - Zoom formulae: It's a very tricky, known problem, to keep zoom in the center of image area. It's more complex for the Starship Simulator because the cockpit size is changed by the user. The formulae have to take this into account and also know any tracking moves, as well as what exact zoom factor is being used - from 1 to 2X from 1.3 to .8x, etc. It's further complicated by the full size cockpit window only reaching 1060 pixels down from the top of the screen. This bottom level needs to be found so zoom images never go past that with the bottom edge of a destination image. Going to full wide is a separate function that checks the original destination image size, to see if it's full width will fit in the cockpit window without showing the bottom edge. - Tall destination images go full wide to different vertical points, depending on the starting zoom point. Transitions are slowed to 10 seconds. - Panorama destination images go instead full left, where the image height just fits in the cockpit view. It than pans to the center of the panorama. All these issues are handled with JavaScript using jQuery math. Full formulae, with notes, are available in the .js files. - Zoom compatibility with other Browsers: Code is compatible with the Chrome browser which was chosen due to the Google API maps. Firefox requires new alternate .js files for backgroundposition moves. This is a 3+ day project. So far, no one has requested this. IE compatibility may work with the Firefox mod. - Systems Off now causes the start lever in the bag to be dark for 5 seconds and then fade in. This keeps the user from turning systems on again too quickly and causing the Open button to disappear for Zoom Tracking controls. - Destination feature has been updated to new formulae, which keep all variables in cache instead of global. Unfortunately this .data is not compatible with Firefox and it would probably need to be cached as an array to make Firefox work. - Tracking formulae changed from pixels to percentage. Tracking buttons controls are updated and now include mouseover color changes. - Destinations tracking speeds are sometimes tweaked, per image, to smaller zoom steps for large or very narrow images. This helps the user move around in smaller steps. - Destination transition timing and position effects, adjusted for a nicer experience. - Console log tracking data used for code development is left active. Open Console to view. Console view being open, will keep many viewscreens from functioning. - Saturn X icon in upper right, that closes viewscreens given a mouse over area near it, so it is easier to turn on. Bugs: - Tracking changes should now be immediate. The buttons are still delayed for effect. === 5-16-2015 - Release Starship Simulator v.91 with Destinations upgrade Updates: - Destination feature added with 36 locations, space warp animations, throttle controls with 30 second auto time out - Added Destination Bookmarks and pop-up open in larger window link inside the descriptions. - Clicking D on keyboard opens Destinations - Business logic for Destinations button similar to Vids button. The button only appears when all other viewscreens are off. Turning anything else on closes Destinations and Throttle. - Bookmarks panel has extended guide to destinations with educational info and links - Code review, minor fixes and tightening animation timing - Alert screens should all work better and time out correctly - Added option in Window Tint to go back to default color setting. Click upper right corner of left monitor Tint contol button. Mouseover shows information where this corner starts. - Fixed Saturn X close viewscreen icon to work in 3D worlds - Main pdf Guide updated - CP help screen updated - Turning off system now also fades out help pop-up guides. Bookmark pop-up pages are not affected. Bugs - User goes from Map directly to another Google Viewscreen without picking a location causes an error viewscreen for the first visit only. Some issue with Google API Javascript hanging. This no longer occurs once the user has visited the viewscreen. - Firefox needs alternate code to allow background tracking to work. This is a known issue and the solution is also known. - Firefox and IE need updated code to check for valid plugins. ======================================================================== 12-28-2014 MP_Navigator_v4.2Guide_12-27-14 fixed a couple of typos and resized some images. Version 4.21 current 8-22-14 MP Navigator page: Fixed Time Dilation Round Trip Ship Time Cell AB34 - error in formula Updated dbase to eliminate 6 duplication stars Fixed bug for ship time days output area for FTL missions 7-25-2014 Course headings bug fixed 7-24-2014 MP Navigator page: AB26 misspelled Dialation --- Version 4.2 MP Navigator page clean up lower area Course Headings removed unused area on the right VB - Updated description names of macros ========================================================================== Work in Progress Starship Simulator udpates and errors found and fixed: 12-28-2014 New features added in last 4 months: 1) Autofit cockpit resize to match browser with user controls and automated dimmer after 20 seconds 2) Keyboard on screen only shortcuts with guide 3) Ship course heading adjustment which moves the external starfield arround: 11 directional and recenter controls, tracking speed controls. 4) Monitor dimmer slider 5) Window tinter 6) Mood Lighting 7) 3D starmap viewer on / off buttons 8) Crash doors lever 9) Sounds on off button (not yet active) 10) Popup enlarging monitor screens on / off (not yet active) 11) Google Earth, Moon, Mars, Sky buttons (not yet active) 12) Bookmarks button (not yet active) 13) Map overlay buttons (not yet active) 14) Viewscreen off button appears when any viewscreen is on Code tested and ready to be added to cockpit simulator 1) Pull new background and pick a center point 2) Use online image for background 3) Choose from background collection 4) Turn on Google map for Sky, Earth, Moon and Mars with bookmarks 5) Add sounds 8-26-2014 Proper Motion sync bug fixed Added 3 WISE brown dwarfs and 1 Rogue Planet / possible small brown dwarf, just discovered in 2013 and 2014. They were missing This brings total number of stars to 114. It's not friggin' easy to add stars to this. Everything needs to be adjusted.