The native runtime for three.js: three.js, down to the metal. 45× smaller than Electron, on a Sony PS3, and path-traced at 60 fps on ray-tracing GPUs.
Rust electron-alternativegame-engineglobal-illuminationgraphicsjavascript-runtimemetalpath-tracingray-tracingreal-time-renderingrenderingrustthreejstypescriptvoxelvulkanwebgpuwgpu
{
"id": "moon-phases",
"industry": "Education",
"title": "Moon Phases",
"caption": "One Sun, one light: phases and eclipses, traced",
"blurb": "An orrery of the Sun, the Earth and the Moon (not to scale) with the Sun as its only light. The Moon’s lit half, the phase seen from the ground, the Moon’s shadow crossing the Earth and the Earth’s shadow putting the Moon out are not scripted: they fall out of where the three bodies are.",
"controls": [
{
"input": "P",
"does": "jumps to the next phase: new, half, full, half"
},
{
"input": "E",
"does": "plays a solar eclipse, then a lunar one"
},
{
"input": "V, or click the Earth or the Moon",
"does": "stands on the Earth and looks up, and back"
},
{
"input": "Space",
"does": "pauses the month"
},
{
"input": "F, S",
"does": "faster, slower"
}
],
"credits": [
{
"what": "Earth colour map (Blue Marble Next Generation, December 2004, with topography and bathymetry; scaled down, sea brightened) and the roughness map derived from it",
"by": "NASA Earth Observatory (Reto Stöckli)",
"licence": "Public domain (NASA)",
"url": "https://assets.science.nasa.gov/content/dam/science/esd/eo/images/bmng/bmng-topography-bathymetry/december/world.topo.bathy.200412.3x5400x2700.jpg"
},
{
"what": "Moon colour map (CGI Moon Kit, LROC colour mosaic, 2k)",
"by": "NASA's Scientific Visualization Studio",
"licence": "Public domain (NASA)",
"url": "https://svs.gsfc.nasa.gov/4720/"
}
]
}