Earthfinder: 3D Model of the Solar System and Milky Way Pulled from NASA Data
Drag to turn. Tap a name to learn more; names with → in front fly you there. Keep zooming out to reach the Milky Way.
以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。
Find
Solar System Nearby stars Neighborhood Milky Way
Date
Play 1 week / sec Today
Real sizes Real speed (light) Real rotation
Drag to turn. Tap a name to learn more; names with → in front fly you there. Keep zooming out to reach the Milky Way.
The closest star, Proxima Centauri, is so far away that its light takes more than 4 years to reach us.
Tap a name to learn more; names with → in front fly you there.
The light from the Pillars of Creation that reaches Earth tonight left them about 5,700 years ago, before anyone had invented writing.
Tap a name to learn more; names with → in front fly you there. Use Find to look anything up.
If the Milky Way were as big as a whole country, our entire solar system would fit inside a coffee cup.
Tap a name to learn more; names with → in front fly you there.
Skip ahead
(function(){ "use strict"; const DEG = Math.PI/180, AU_KM = 149597870.7, C_KMS = 299792.458, DAY = 86400000; const reduceMotion = matchMedia("(prefers-reduced-motion: reduce)").matches; const $ = id => document.getElementById(id);
/* ---------------- Astronomy ---------------- Planet orbits: JPL "Approximate Positions of the Planets" (Standish), J2000 elements + rates per century. el = [a (AU), e, I (deg), L mean longitude (deg), long. of perihelion (deg), long. of ascending node (deg)] / const PLANETS = [ {key:"mercury", name:"Mercury", color:"#b9b2a8", size:.24, year:88, el:[0.38709927,0.20563593,7.00497902,252.25032350,77.45779628,48.33076593], rt:[0.00000037,0.00001906,-0.00594749,149472.67411175,0.16047689,-0.12534081], fact:"The smallest planet, and the fastest. It zooms around the Sun in just 88 days."}, {key:"venus", name:"Venus", color:"#e8cf94", size:.34, year:225, el:[0.72333566,0.00677672,3.39467605,181.97909950,131.60246718,76.67984255], rt:[0.00000390,-0.00004107,-0.00078890,58517.81538729,0.00268329,-0.27769418], fact:"The hottest planet, hotter than a pizza oven. Its thick clouds trap the Sun's heat."}, {key:"earth", name:"Earth", color:"#5cc8ff", size:.36, year:365.25, el:[1.00000261,0.01671123,-0.00001531,100.46457166,102.93768193,0], rt:[0.00000562,-0.00004392,-0.01294668,35999.37244981,0.32327364,0], fact:"Our home, and the only place we know of with life."}, {key:"mars", name:"Mars", color:"#d9774a", size:.27, year:687, el:[1.52371034,0.09339410,1.84969142,-4.55343205,-23.94362959,49.55953891], rt:[0.00001847,0.00007882,-0.00813131,19140.30268499,0.44441088,-0.29257343], fact:"The red planet. Its color comes from rusty dust that covers the ground."}, {key:"jupiter", name:"Jupiter", color:"#d8b48c", size:1.0, year:4333, el:[5.20288700,0.04838624,1.30439695,34.39644051,14.72847983,100.47390909], rt:[-0.00011607,-0.00013253,-0.00183714,3034.74612775,0.21252668,0.20469106], fact:"The biggest planet. More than 1,300 Earths could fit inside it."}, {key:"saturn", name:"Saturn", color:"#e6d19c", size:.85, year:10759, el:[9.53667594,0.05386179,2.48599187,49.95424423,92.59887831,113.66242448], rt:[-0.00125060,-0.00050991,0.00193609,1222.49362201,-0.41897216,-0.28867794], fact:"Its rings are made of billions of chunks of ice and rock, some as small as sand."}, {key:"uranus", name:"Uranus", color:"#a6e4ea", size:.55, year:30687, el:[19.18916464,0.04725744,0.77263783,313.23810451,170.95427630,74.01692503], rt:[-0.00196176,-0.00004397,-0.00242939,428.48202785,0.40805281,0.04240589], fact:"It spins on its side, like a ball rolling around the Sun."}, {key:"neptune", name:"Neptune", color:"#5b7cf0", size:.53, year:60190, el:[30.06992276,0.00859048,1.77004347,-55.12002969,44.96476227,131.78422574], rt:[0.00026291,0.00005105,0.00035372,218.45945325,-0.32241464,-0.00508664], fact:"The windiest planet. Its storms blow faster than a jet plane."} ]; / Dwarf planets: elements from their perihelion dates (good to a few degrees over this app's date range) / function dwarf(key,name,color,size,a,e,i,node,argp,tp,fact){ const P=Math.pow(a,1.5), wp=node+argp, M0=360(2451545-tp)/(P365.25); return {key,name,color,size,dwarf:true,year:P365.25,el:[a,e,i,wp+M0,wp,node],rt:[0,0,0,36000/P,0,0],fact}; } const jdUTC=(y,m,d)=>Date.UTC(y,m-1,d)/DAY+2440587.5; PLANETS.push( dwarf("ceres","Ceres","#a9a6a0",.17,2.7675,.0785,10.59,80.27,73.60,jdUTC(2022,12,7),"The biggest thing in the asteroid belt, between Mars and Jupiter. It may have salty water hiding underground."), dwarf("pluto","Pluto","#d9c2a0",.19,39.48,.2488,17.16,110.30,113.76,jdUTC(1989,9,5),"It was called the ninth planet until 2006. It has a giant heart-shaped plain of ice."), dwarf("haumea","Haumea","#e8e8ee",.17,43.12,.1958,28.21,121.8,240.6,jdUTC(2133,5,1),"It spins so fast, once every 4 hours, that it is stretched into an egg shape. It even has a ring."), dwarf("makemake","Makemake","#c98f6c",.17,45.43,.1610,28.98,79.62,297.0,jdUTC(1880,1,1),"Named after a creator god from Easter Island. It is so cold that its ground is frozen methane."), dwarf("eris","Eris","#eceae6",.19,67.86,.4361,44.04,35.95,151.64,jdUTC(2257,2,1),"Almost the same size as Pluto, but much farther away. Finding it is why astronomers created the name dwarf planet.") ); const byKey = Object.fromEntries(PLANETS.map(p=>[p.key,p])); // Known moons, as of March 2026 (Minor Planet Center). Big ones are named; the rest are drawn as specks. const MOON_COUNT={mercury:0,venus:0,earth:1,mars:2,jupiter:101,saturn:285,uranus:29,neptune:16,ceres:0,pluto:5,haumea:2,makemake:1,eris:1}; const PLANET_R={mars:3390,jupiter:71492,saturn:60268,uranus:25559,neptune:24764,pluto:1188,eris:1163,haumea:800,makemake:715}; const MOONS=[ // [parent, name, distance km, days per trip (negative = goes backward), radius km, fact] ["mars","Phobos",9376,.3189,11,"It is slowly spiraling toward Mars. In about 50 million years it will break apart and may become a ring."], ["mars","Deimos",23463,1.2624,6,"So small and light that you could almost jump off it into space."], ["jupiter","Io",421700,1.769,1822,"The most volcanic place in the solar system, with hundreds of erupting volcanoes."], ["jupiter","Europa",671034,3.551,1561,"Under its icy shell is a hidden ocean with more water than all of Earth's oceans."], ["jupiter","Ganymede",1070412,7.155,2634,"The biggest moon in the solar system. It is even bigger than the planet Mercury."], ["jupiter","Callisto",1882709,16.689,2410,"Covered in more craters than almost anywhere else we know."], ["saturn","Mimas",185539,.942,198,"One giant crater makes it look like the Death Star from Star Wars."], ["saturn","Enceladus",237948,1.370,252,"It shoots fountains of water ice into space from cracks near its south pole."], ["saturn","Tethys",294619,1.888,531,"Made almost entirely of water ice."], ["saturn","Dione",377396,2.737,561,"It has long, bright cliffs of ice."], ["saturn","Rhea",527108,4.518,764,"Saturn's second biggest moon, icy and covered in craters."], ["saturn","Titan",1221870,15.945,2575,"The only moon with a thick atmosphere. It has lakes and rivers of liquid methane."], ["saturn","Iapetus",3560820,79.32,735,"One side is dark like coal and the other is bright like snow."], ["uranus","Miranda",129390,1.413,236,"It has a cliff about 20 km tall, the tallest known in the solar system."], ["uranus","Ariel",191020,2.520,579,"The brightest of Uranus's big moons. Uranus's moons are named after characters from Shakespeare and Pope."], ["uranus","Umbriel",266000,4.144,585,"The darkest of Uranus's big moons."], ["uranus","Titania",435910,8.706,789,"Uranus's biggest moon, named after the fairy queen in A Midsummer Night's Dream."], ["uranus","Oberon",583520,13.463,761,"The farthest out of Uranus's big moons, named after the fairy king."], ["neptune","Triton",354759,-5.877,1353,"It goes around Neptune backward, and it has geysers that shoot out nitrogen."], ["neptune","Proteus",117647,1.122,210,"One of the darkest objects in the solar system, shaped a bit like a box."], ["neptune","Nereid",5513818,360.1,170,"Its orbit is so stretched that its distance from Neptune changes a lot."], ["pluto","Charon",19591,6.387,606,"So big compared to Pluto that the two swing around a point in space between them."], ["eris","Dysnomia",37300,15.79,350,"Named after the daughter of Eris in Greek myths."], ["haumea","Hi'iaka",49880,49.12,160,"Named after a Hawaiian goddess, a daughter of Haumea."] ];
const jdOf = ms => ms/DAY + 2440587.5; const centOf = ms => (jdOf(ms) - 2451545)/36525; function elements(p,T){ const e=p.el, r=p.rt; return {a:e[0]+r[0]T, e:e[1]+r[1]T, I:(e[2]+r[2]T)DEG, L:e[3]+r[3]T, wp:e[4]+r[4]T, N:e[5]+r[5]T}; } function orbitPoint(o,E){ const xp=o.a(Math.cos(E)-o.e), yp=o.aMath.sqrt(1-o.eo.e)Math.sin(E); const w=(o.wp-o.N)DEG, N=o.NDEG; const cw=Math.cos(w), sw=Math.sin(w), cN=Math.cos(N), sN=Math.sin(N), cI=Math.cos(o.I), sI=Math.sin(o.I); return { x:(cwcN - swsNcI)xp + (-swcN - cwsNcI)yp, y:(cwsN + swcNcI)xp + (-swsN + cwcNcI)yp, z:(swsI)xp + (cwsI)yp }; } function helio(p,T){ const o=elements(p,T); let M=((o.L-o.wp)%360+360)%360; if(M>180) M-=360; M=DEG; let E=M+o.eMath.sin(M); for(let i=0;i ((d%360)+360)%360; function sunLonDeg(earth){ return norm360(Math.atan2(earth.y,earth.x)/DEG + 180); } function moonPhase(ms, earth){ const elong = norm360(moonGeo(ms).lon/DEG - sunLonDeg(earth)); const names=["New Moon","Waxing crescent","First quarter","Waxing gibbous","Full Moon","Waning gibbous","Last quarter","Waning crescent"]; return {name:names[Math.floor(norm360(elong+22.5)/45)%8], lit:Math.round((1-Math.cos(elongDEG))/2100)}; } function season(earth){ const s=sunLonDeg(earth); if(s 29.78Math.sqrt(2/r - 1/a); const yearCache = {}; function perihelionAphelion(year){ if(yearCache[year]) return yearCache[year]; let minR=9, maxR=0, minD, maxD; for(let d=0; dmaxR){maxR=r;maxD=ms} } return yearCache[year]={peri:minD, aph:maxD}; }
/* ---------------- Formatting ---------------- */ function fmtKm(km){ if(km>=1e9) return (km/1e9).toFixed(2)+" billion km"; if(km>=1e6) return (km/1e6).toFixed(1)+" million km"; return Math.round(km).toLocaleString()+" km"; } function fmtLight(km){ const s=km/C_KMS; if(s d new Date(ms).toLocaleDateString(undefined,{month:"long",day:"numeric",timeZone:"UTC"}); const MONTHS=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];
/* ---------------- Noise + textures ---------------- / function hash(x,y,z){const h=Math.sin(x127.1+y311.7+z74.7)43758.5453;return h-Math.floor(h);} function vnoise(x,y,z){ const xi=Math.floor(x), yi=Math.floor(y), zi=Math.floor(z); let xf=x-xi, yf=y-yi, zf=z-zi; const u=xfxf*(3-2xf), v=yfyf*(3-2yf), w=zfzf*(3-2zf); const L=(a,b,t)=>a+(b-a)t; return L(L(L(hash(xi,yi,zi),hash(xi+1,yi,zi),u),L(hash(xi,yi+1,zi),hash(xi+1,yi+1,zi),u),v), L(L(hash(xi,yi,zi+1),hash(xi+1,yi,zi+1),u),L(hash(xi,yi+1,zi+1),hash(xi+1,yi+1,zi+1),u),v),w); } function fbm(x,y,z){let s=0,a=.5,f=1;for(let o=0;o [parseInt(h.slice(1,3),16),parseInt(h.slice(3,5),16),parseInt(h.slice(5,7),16)]; const mix = (a,b,t) => [a[0]+(b[0]-a[0])t, a[1]+(b[1]-a[1])t, a[2]+(b[2]-a[2])t]; function makeTex(shade,w=256,h=128){ const c=document.createElement("canvas"); c.width=w; c.height=h; const ctx=c.getContext("2d"), img=ctx.createImageData(w,h); let i=0; for(let y=0;y{const n=fbm(xfreq+seed,yfreq,zfreq); return mix(B,A,Math.min(1,Math.max(0,(n-.25)1.8)));}; } function bands(cols, seed, turb){ const P=cols.map(hex); return (x,y,z)=>{ const t=fbm(x2.5+seed,y2.5,z2.5); const v=(y*.5+.5)P.length1.6 + (t-.5)turb; const i=Math.floor(v), f=v-i, k=((i%P.length)+P.length)%P.length; return mix(P[k],P[(k+1)%P.length],ff*(3-2f)); }; } function earthShade(x,y,z,lat){ if(Math.abs(lat)>68DEG + (fbm(x4,y4,z4)-.5).2) return [236,242,248]; const n=fbm(x1.7+3.1,y1.7+1.3,z1.7+.7); if(n>.56){ const d=fbm(x6,y6,z6), dry=Math.abs(lat).5; return dry ? mix([196,170,112],[160,130,80],d) : mix
正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。