返回资讯中心
外部精选
软件工程
#开发者实时流

A 3D Science Simulator with Molecules, a Periodic Table, and a Solar System

',"molecule-studio":'',"lab-chemistry":'',"periodic-table":'',"solar-system":'',"world-news":'',"live-volcanoes":'',"chord-progression":'',"knowledge-map":''},l={"history-globe":1,"molecule-studio":1,"periodic-table":1,…

Hacker News 最新julian-vix2026/11/5 · 今天9 分钟阅读

以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。

',"molecule-studio":'',"lab-chemistry":'',"periodic-table":'',"solar-system":'',"world-news":'',"live-volcanoes":'',"chord-progression":'',"knowledge-map":''},l={"history-globe":1,"molecule-studio":1,"periodic-table":1,"solar-system":1,"chord-progression":1,"world-news":1,"lab-chemistry":1},i={"history-globe":"#e0b050","molecule-studio":"#8fe84a","lab-chemistry":"#5ee0a0","periodic-table":"#ffb347","solar-system":"#5db4ff","world-news":"#5db4ff","live-volcanoes":"#ff6a3c","chord-progression":"#c07bff","knowledge-map":"#43b8ff"},c=a.map(function(t){return{startLat:n[t[0]].lat,startLng:n[t[0]].lng,endLat:n[t[1]].lat,endLng:n[t[1]].lng}}),s=Globe({animateIn:!0})(e).globeImageUrl(window.VV_TEX?VV_TEX.earth:t+"earth-blue-marble.jpg").backgroundImageUrl(window.VV_TEX?VV_TEX.sky:t+"night-sky.png").showAtmosphere(!0).atmosphereColor("#a78bfa").atmosphereAltitude(.18).pointOfView({lat:22,lng:12,altitude:window.innerWidth>1e3?2:1.55}).pointsData(n).pointLat(function(t){return t.lat}).pointLng(function(t){return t.lng}).pointColor(function(){return"#d4a853"}).pointAltitude(.01).pointRadius(.4).ringsData(n).ringLat(function(t){return t.lat}).ringLng(function(t){return t.lng}).ringColor(function(){return function(t){return"rgba(212,168,83,"+.85*(1-t)+")"}}).ringMaxRadius(3.2).ringPropagationSpeed(1.3).ringRepeatPeriod(1600).htmlElementsData([].concat(r.map(function(t){return t.type="world",t}))).htmlLat(function(t){return t.lat}).htmlLng(function(t){return t.lng}).htmlAltitude(function(t){return"world"===t.type?.03:.02}).htmlElement(function(t){var e=document.createElement("div");return"hq"===t.type?(e.style.transform="translate(-108%,-50%)",e.innerHTML='◈

VisionVixHQ

'):(e.className="wnode",e.dataset.id=t.id,e.style.setProperty("--t",l[t.id]?"#3bff5a":"#ff9a2e"),e.innerHTML=''+(o[t.id]||"")+''+t.name+"",function(t,e){var n=new Image;n.onload=function(){var n=t.querySelector(".wpic");n.style.backgroundImage="url(images/"+e+".webp)",t.classList.add("hasimg")},n.src="images/"+e+".webp"}(e,t.id),e.style.pointerEvents="auto",e.addEventListener("mouseenter",function(){window.__G&&(__G.controls().autoRotate=!1)}),e.addEventListener("mouseleave",function(){window.__G&&(__G.controls().autoRotate=!0)}),e.addEventListener("click",function(e){e.stopPropagation(),VVgo("worlds.html?fx=1#"+t.id,e)}),t.__el=e),e}).arcsData(c.concat(r.map(function(t){return{startLat:51.5,startLng:-.1,endLat:t.lat,endLng:t.lng,world:!0}}))).arcStartLat(function(t){return t.startLat}).arcStartLng(function(t){return t.startLng}).arcEndLat(function(t){return t.endLat}).arcEndLng(function(t){return t.endLng}).arcColor(function(t){return t.world?["rgba(126,232,26,0.12)","rgba(184,232,48,1)"]:["rgba(212,168,83,0.05)","rgba(212,168,83,0.9)"]}).arcAltitude(function(t){return t.world?.34:.28}).arcStroke(function(t){return t.world?.55:.4}).arcDashLength(.35).arcDashGap(.12).arcDashAnimateTime(2200);function d(){s.width(e.clientWidth).height(e.clientHeight)}window.__G=s,s.controls().autoRotate=!0,s.controls().autoRotateSpeed=.35,s.controls().enableZoom=!0,s.controls().minDistance=180,s.controls().maxDistance=380,s.controls().enableDamping=!0,s.controls().dampingFactor=.08,window.addEventListener("resize",d),setTimeout(d,120),function t(){try{var e=s.camera().position.clone().normalize();r.forEach(function(t){if(t.__el){var n=s.getCoords(t.lat,t.lng,.03),a=new THREE.Vector3(n.x,n.y,n.z).normalize(),r=a.dot(e)>.22;t.__el.style.opacity=r?1:0,t.__el.style.pointerEvents=r?"auto":"none"}})}catch(t){}requestAnimationFrame(t)}()})},{timeout:2500})});

×

Coming soon 3D Space is on its way

Soon you will walk around a futuristic space station and find every simulator in 3D, on a computer or in VR. Until then, all the simulators are ready to open right now.

正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。

打开原文
去社区讨论 →