// Stellarium Script generated by astrocalc.utils (animations_script_tpl) // CC-BY Sergio Díaz, 2023 var jdi = [ 2460144.57214004, 2460149.59697023, 2460154.55434354, 2460156.58910408, 2460173.48803952, 2460177.561089, 2460180.65050934, 2460181.46958124, 2460181.58352385, 2460187.57586281, 2460188.57814558, 2460193.48901404, 2460200.56818505, 2460209.41726394, 2460213.45752009, 2460216.41277923, 2460216.49660276, 2460220.56571832, 2460223.41331254, 2460223.55482038, 2460225.34586883, 2460230.58066713, 2460232.42541282, 2460238.33603922, 2460239.50506261, 2460245.44413732, 2460246.58481634, 2460248.35481145, 2460252.55221559, 2460255.43102583, 2460262.50311394, 2460264.27116302, 2460266.36402862, 2460266.41966319, 2460269.57557725, 2460270.28411086, 2460271.34374827, 2460273.50002773, 2460273.58799582, 2460277.37808794, 2460278.41691039, 2460284.4732601, 2460285.49077348, 2460287.25939232, 2460294.33427624, 2460301.41004785, 2460309.31868646, 2460309.41717482, 2460310.25600372, 2460316.37866766, 2460317.3338235, 2460333.26213141, 2460334.29594753, 2460340.34265401, 2460341.29312128, 2460345.2700615, 2460356.27628399, 2460366.28345168, 2460572.55401951, 2460574.61447369, 2460577.56410545, 2460579.549055, 2460593.49149128, 2460600.57039392, 2460603.46204583, 2460604.42877076, 2460609.41909704, 2460610.44443712, 2460610.60997261, 2460611.53723277, 2460616.4981512, 2460617.61056053, 2460623.57729212, 2460625.34710262, 2460630.65652671, 2460632.42636291, 2460636.41655394, 2460639.50572701, 2460643.52483136, 2460646.27518659, 2460646.58520054, 2460648.35505463, 2460650.63305291, 2460653.44092358, 2460653.66357966, 2460655.43151609, 2460660.57653881, 2460661.27676003, 2460662.50353948, 2460664.27163218, 2460668.37009006, 2460669.57592062, 2460671.3441303, 2460675.4642529, 2460678.41719104, 2460685.49094392, 2460687.25947978, 2460689.27557762, 2460694.33423389, 2460696.2774879, 2460696.44263781, 2460700.30380408, 2460701.40984767, 2460703.42655898, 2460717.33328942, 2460724.41178889, 2460740.34130346, 2460967.54729882, 2460990.45718945, 2460993.48512453, 2460997.42641573, 2460997.60985619, 2461000.54366414, 2461002.48703689, 2461004.59186639, 2461007.64249175, 2461009.41219733, 2461016.49099504, 2461017.59482263, 2461023.56987251, 2461027.36659648, 2461030.64884294, 2461032.4185863, 2461034.47511163, 2461039.49767875, 2461040.41947329, 2461041.58362893, 2461046.57688114, 2461047.58555483, 2461048.3467043, 2461053.65317692, 2461055.42115716, 2461059.33688515, 2461062.49321765, 2461064.26126448, 2461066.43074654, 2461067.38191569, 2461069.56566861, 2461071.33383613, 2461073.5254074, 2461078.40698395, 2461083.28839723, 2461085.48081314, 2461090.43244715, 2461094.32423616, 2461098.36635101, 2461101.39989198, 2461117.32265561, 2461124.40165255, 2461126.41539375, 2461140.33092769, 2461338.61214611, 2461341.59611278, 2461369.54658921, 2461384.58220539, 2461400.53024887, 2461402.5526647, 2461416.47584905, 2461419.56102459, 2461423.55457167, 2461427.37662929, 2461430.63338144, 2461432.40311019, 2461432.51895583, 2461434.54181692, 2461439.48203332, 2461439.62761672, 2461446.56105928, 2461448.32997806, 2461450.28477692, 2461453.63389003, 2461455.40187245, 2461457.37863911, 2461462.47405617, 2461464.47306424, 2461469.34653005, 2461471.31491008, 2461478.38825772, 2461485.4623047, 2461486.30204309, 2461489.31178147, 2461494.30592977, 2461496.41158305, 2461501.3817523, 2461513.3678178, 2461519.3177098, 2461520.32469248, 2461524.38387003, 2461761.59663194, 2461766.57979762, 2461771.54127223, 2461777.52321021, 2461778.49866072, 2461784.60170103, 2461798.56511303, 2461800.52837846, 2461804.55408013, 2461807.60696089, 2461821.48956712, 2461823.44374644, 2461830.55227571, 2461832.38249074, 2461839.46138309, 2461846.53718632, 2461848.30516814, 2461853.60915974, 2461855.37720576, 2461862.4495969, 2461864.40017274, 2461878.36442787, 2461885.43877837, 2461887.34375216, 2461901.35889411, 2461924.36162907, ]; jdf = [ 2460144.65362242, 2460149.69266145, 2460154.70174262, 2460156.6870057, 2460173.53819572, 2460177.7073247, 2460180.69687227, 2460181.56713122, 2460181.67699733, 2460187.6527783, 2460188.67560597, 2460193.62977486, 2460200.70519129, 2460209.54843379, 2460213.62853748, 2460216.44396459, 2460216.62222923, 2460220.72452895, 2460223.48693002, 2460223.69541124, 2460225.46358214, 2460230.65372059, 2460232.53612863, 2460238.45951561, 2460239.60832853, 2460245.55227186, 2460246.68034455, 2460248.44838041, 2460252.64920387, 2460255.52525328, 2460262.6052608, 2460264.37525339, 2460266.41475329, 2460266.49021002, 2460269.68536905, 2460270.4193946, 2460271.45538662, 2460273.55555894, 2460273.65818337, 2460277.5275146, 2460278.53561306, 2460284.63563897, 2460285.61592199, 2460287.38604512, 2460294.46644891, 2460301.54690983, 2460309.4156837, 2460309.51436334, 2460310.39750843, 2460316.51875591, 2460317.47805805, 2460333.40938227, 2460334.393451, 2460340.48995285, 2460341.39225485, 2460345.33812859, 2460356.42112982, 2460366.38155249, 2460572.65978935, 2460574.69680902, 2460577.71009177, 2460579.65374034, 2460593.63263398, 2460600.70805776, 2460603.54423341, 2460604.6241123, 2460609.55126379, 2460610.53082599, 2460610.69195794, 2460611.72268483, 2460616.62503392, 2460617.69779949, 2460623.69816564, 2460625.46637574, 2460630.77076541, 2460632.53886193, 2460636.55655709, 2460639.61097808, 2460643.64974068, 2460646.38856181, 2460646.68288252, 2460648.45081161, 2460650.74250276, 2460653.53327971, 2460653.75651112, 2460655.52641069, 2460660.70135433, 2460661.40220755, 2460662.60622113, 2460664.37622922, 2460668.51057862, 2460669.68613749, 2460671.45617304, 2460675.61895236, 2460678.53622205, 2460685.61636154, 2460687.38638525, 2460689.37164048, 2460694.46663084, 2460696.36820109, 2460696.53960185, 2460700.49804566, 2460701.54694326, 2460703.51874817, 2460717.47787696, 2460724.55833696, 2460740.48937609, 2460967.70462446, 2460990.59432317, 2460993.62706139, 2460997.55831547, 2460997.74725534, 2461000.70222389, 2461002.69436977, 2461004.72444563, 2461007.77663565, 2461009.54514917, 2461016.61869727, 2461017.75930142, 2461023.69163359, 2461027.53424627, 2461030.76406431, 2461032.53209175, 2461034.62863165, 2461039.60408032, 2461040.60018642, 2461041.72227452, 2461046.67590502, 2461047.73605076, 2461048.44386296, 2461053.75080061, 2461055.52067728, 2461059.4739618, 2461062.60021582, 2461064.37008889, 2461066.58244909, 2461067.71028716, 2461069.67986061, 2461071.44975777, 2461073.69090592, 2461078.52953285, 2461083.55538439, 2461085.60940105, 2461090.56892333, 2461094.45939901, 2461098.57023976, 2461101.53945068, 2461117.48658961, 2461124.54997667, 2461126.55780477, 2461140.48057853, 2461338.75668205, 2461341.74814776, 2461369.74309721, 2461384.76611572, 2461400.73521593, 2461402.75308049, 2461416.60085515, 2461419.75209284, 2461423.67349643, 2461427.60851045, 2461430.74571792, 2461432.51373798, 2461432.67025991, 2461434.74575373, 2461439.58562102, 2461439.76426519, 2461446.65741786, 2461448.42637981, 2461450.41102132, 2461453.73576052, 2461455.50555008, 2461457.51963033, 2461462.58482754, 2461464.62827932, 2461469.5404256, 2461471.43407223, 2461478.51357694, 2461485.59317193, 2461486.49695201, 2461489.50853349, 2461494.44275671, 2461496.61705207, 2461501.52252455, 2461513.51857191, 2461519.51557166, 2461520.47641152, 2461524.53219028, 2461761.74166575, 2461766.7961766, 2461771.66740907, 2461777.66519191, 2461778.63576997, 2461784.74109902, 2461798.75687942, 2461800.65917291, 2461804.6749675, 2461807.73275459, 2461821.70186791, 2461823.64631885, 2461830.71839296, 2461832.48638671, 2461839.55825788, 2461846.63398826, 2461848.43779875, 2461853.71300982, 2461855.54648406, 2461862.65523248, 2461864.61303724, 2461878.49029551, 2461885.56970607, 2461887.53586878, 2461901.49862844, 2461924.50751251, ] const margin = 5; // minutes const h_to_min = 24*60; function getDateHM() { return core.getDate('local').replace('T', ' ').slice(0, -3); } var lbl = LabelMgr.labelObject('', 'Jupiter', true, 36, '#ffffff', 'N', 250); core.setGuiVisible(false); core.setMountMode('equatorial'); core.setTimeRate(0.0); core.selectObjectByName('Jupiter', true); core.setSelectedObjectInfo('None'); StelMovementMgr.setAutoMoveDuration(0.0); StelMovementMgr.setFlagTracking(true); StelMovementMgr.zoomTo(60/3600, 0.0); SolarSystem.setFlagPointer(false); SolarSystem.setFlagOrbits(false); core.setJDay(jdi[0] - margin/h_to_min); LabelMgr.setLabelText(lbl, getDateHM()); function display_event(i) { core.setJDay(jdi[i] - margin/h_to_min); const end = jdf[i] + margin/h_to_min; core.setTimeRate(3000); while (core.getJDay() <= end) { LabelMgr.setLabelText(lbl, getDateHM()); core.wait(0.1); } core.setTimeRate(0.0); } num_events = jdi.length; for (var i = 0; i < num_events; i++) { display_event(i); core.wait(1); } LabelMgr.deleteAllLabels(); core.setGuiVisible(true);