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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ThreeRT — The native runtime for three.js</title>
<meta name="description" content="ThreeRT is the native runtime for three.js: three.js, down to the metal. It ships 45 times smaller than Electron, runs on a Sony PlayStation 3, and path-traces at 60 fps on ray-tracing GPUs. Open source, MIT.">
<link rel="canonical" href="https://threert.dev/">
<meta name="theme-color" content="#060709">
<meta property="og:site_name" content="ThreeRT">
<meta property="og:type" content="website">
<meta property="og:title" content="ThreeRT — The native runtime for three.js">
<meta property="og:description" content="three.js, down to the metal: a native runtime for three.js. 45 times smaller than Electron, on a Sony PS3, and ray-traced at 60 fps where the GPU can. Open source.">
<meta property="og:url" content="https://threert.dev/">
<meta property="og:image" content="https://threert.dev/brand/card.jpg">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:alt" content="ThreeRT: three.js, down to the metal.">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@ThreeRT3D">
<link rel="icon" href="brand/favicon.svg" type="image/svg+xml">
<script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"WebSite","name":"ThreeRT","url":"https://threert.dev/","description":"The native runtime for three.js: three.js, down to the metal. Apps and games made with it are published at threert.app.","publisher":{"@type":"Organization","name":"MeshyAI","url":"https://meshy.ai/"}},{"@type":"SoftwareSourceCode","name":"ThreeRT","description":"The native runtime for three.js: a JavaScript runtime with window, input, networking and UI; a Rust and wgpu path tracer behind a three.js-style scene API; a WebGPU renderer that runs three.js's own WebGPURenderer natively; TypeScript scene and gameplay packages.","url":"https://threert.dev/","codeRepository":"https://github.com/meshy-dev/ThreeRT","license":"https://opensource.org/licenses/MIT","programmingLanguage":["Rust","TypeScript"]},{"@type":"SoftwareApplication","name":"ThreeRT","description":"The free clients that open ThreeRT apps and games and path-trace them on the device's own GPU.","url":"https://threert.dev/download/","applicationCategory":"GameApplication","operatingSystem":"macOS 14, iOS 17, SteamOS 3 and Linux x86_64, Android 10","offers":{"@type":"Offer","price":"0","priceCurrency":"USD"}}]}</script>
<link rel="stylesheet" href="css/threert.css">
<noscript><style>.rv { opacity: 1; transform: none; }</style></noscript>
<style>
section { padding: 128px 0; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 48px; }
.sec-head .lede { justify-self: end; }
.scene-tabs { display: flex; gap: 28px; margin-bottom: 18px; }
.scene-tabs button { appearance: none; border: 0; background: none; padding: 0 0 10px; cursor: pointer; font: 600 22px var(--font-sans); letter-spacing: -.02em; color: var(--mute); border-bottom: 2px solid transparent; }
.scene-tabs button[aria-pressed="true"] { color: var(--bone); border-bottom-color: var(--tungsten); }
#main .lab.a { display: none; }
.pick { position: absolute; z-index: 6; top: 14px; left: 14px; display: flex; gap: 2px; padding: 4px; border-radius: 10px; background: rgba(8, 9, 11, 0.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pick button { appearance: none; border: 0; background: none; color: #bdb8af; font: 500 12.5px/1 var(--font-sans); padding: 8px 11px; border-radius: 7px; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; }
.pick button::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #8b919b; opacity: .5; }
.pick button[aria-pressed="true"] { background: rgba(236, 232, 225, .14); color: #ece8e1; }
.pick button[aria-pressed="true"]::before { opacity: 1; }
.pick button[data-v="ref"]::before { background: #ece8e1; }
.tricks { text-align: center; padding: 160px 0; position: relative; overflow: hidden; }
.tricks .yes { margin-top: 26px; font: 640 clamp(56px, 8vw, 116px)/1 var(--font-sans); letter-spacing: -.055em; }
.tricks svg.mark { width: 150px; height: 150px; margin: 0 auto 40px; display: block; overflow: visible; }
@media (prefers-reduced-motion: reduce) { .tricks svg.mark .pulse { display: none; } }
.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.app { display: flex; flex-direction: column; min-width: 0; border-radius: var(--r-2); overflow: hidden; border: 1px solid var(--line); background: var(--ink-1); text-decoration: none; transition: border-color 0.2s; }
.app:hover { border-color: var(--line-2); }
.app .pic { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.app .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.app:hover .pic img { transform: scale(1.04); }
.app .t { display: block; padding: 15px 16px 16px; min-width: 0; }
.app .t small { display: block; font: 500 11.5px/1 var(--font-mono); color: var(--mute); margin-bottom: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app .t b { display: block; font: 600 18px/1.2 var(--font-sans); letter-spacing: -0.025em; color: var(--bone); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app .t > span { margin-top: 5px; font-size: 13.5px; line-height: 1.45; min-height: 2.9em; color: var(--bone-2); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.app .t em { display: block; margin-top: 12px; font: 400 11.5px/1 var(--font-mono); font-style: normal; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.2s; }
.app:hover .t em { color: var(--bone-2); }
.app .now { position: absolute; top: 10px; left: 10px; padding: 5px 9px; border-radius: 7px; background: rgba(8, 9, 11, 0.66); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font: 500 11.5px/1 var(--font-mono); font-style: normal; color: var(--bone); }
.app.yours { justify-content: flex-end; background: transparent; border: 1px dashed var(--line-2); }
.app.yours:hover { border-color: var(--bone-2); }
.app.yours .t small { color: var(--bone-2); }
.app.yours .pic { background: none; display: grid; place-items: center; font: 500 12.5px/1 var(--font-mono); color: var(--mute); border-bottom: 1px dashed var(--line); transition: color 0.2s; }
.app.yours:hover .pic { color: var(--bone); }
.more { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.more .txt { color: var(--bone-2); font-size: 15px; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.more .txt:hover { color: var(--bone); }
:root { --c-ps: #7aa2f7; }
.tricks .cta { display: flex; justify-content: center; gap: 12px; margin-top: 44px; }
.kick { display: inline-flex; align-items: center; gap: 9px; font: 500 12.5px var(--font-mono); color: var(--bone-2); }
.kick i { width: 7px; height: 7px; border-radius: 50%; background: var(--acc, var(--tungsten)); box-shadow: 0 0 8px var(--acc, var(--tungsten)); }
/* ---- Hero: the premise, and the three things it gets you, on the first screen ---- */
.hx { padding: 104px 0 40px; }
.hx h1 { font-size: clamp(56px, 7.4vw, 112px); }
.hx h1 .l2 { display: block; }
.hx-sub { margin-top: 24px; font: 500 clamp(19px, 1.75vw, 25px)/1.4 var(--font-sans); letter-spacing: -.015em; color: var(--bone-2); max-width: 52ch; }
.hx .cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.x3 { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.xc { --acc: var(--tungsten); position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; padding: 22px 24px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #000; color: inherit; text-decoration: none; isolation: isolate; }
.xc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.xc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6,7,9,.94) 0%, rgba(6,7,9,.6) 34%, rgba(6,7,9,0) 66%); }
.xc:hover img { transform: scale(1.04); }
.xc b { font: 640 clamp(28px, 2.6vw, 38px)/1.05 var(--font-sans); letter-spacing: -.04em; color: var(--bone); }
.xc b::before { content: ""; display: block; width: 24px; height: 2px; margin-bottom: 14px; background: var(--acc); box-shadow: 0 0 10px var(--acc); }
.xc span { margin-top: 8px; color: var(--bone-2); font-size: 15px; }
/* ---- The three sections: words on one side, the proof on the other ---- */
.ft { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.ft.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.ft.flip > .tx { order: 2; }
.ft .tx h2 { margin-top: 18px; }
.ft .tx h2, .wide-head h2 { font-size: clamp(38px, 3.7vw, 56px); }
.ft .tx p { margin-top: 20px; color: var(--bone-2); font-size: 17px; max-width: 46ch; }
.ft .tx .go { display: inline-block; margin-top: 18px; font: 500 13px var(--font-mono); color: var(--bone); text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.ft .tx .go:hover { border-color: var(--bone); }
.st3 { margin-top: 30px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); }
.st3 b { display: block; font: 640 30px/1 var(--font-sans); letter-spacing: -.04em; color: var(--bone); }
.st3 span { display: block; margin-top: 8px; font: 500 11.5px/1.45 var(--font-mono); color: var(--mute); }
.pic1 { margin: 0; }
.pic1 img, .pic2 img { display: block; width: 100%; height: auto; border-radius: var(--r-2); border: 1px solid var(--line); background: #000; }
.pic2 { display: grid; gap: 12px; }
.wide-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: end; margin-bottom: 40px; }
.wide-head p { color: var(--bone-2); font-size: 17px; max-width: 50ch; justify-self: end; }
.cmp-note { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 28px; font: 500 12.5px var(--font-mono); color: var(--mute); }
.cmp-note b { color: var(--bone); font-weight: 600; }
.close .fine { margin-top: 18px; font: 500 13px var(--font-mono); color: var(--bone-2); }
.close .fine a { color: var(--bone-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.close .fine a:hover { color: var(--bone); }
@media (max-width: 1100px) {
.x3 { grid-template-columns: 1fr; } .xc { min-height: 220px; }
.ft, .ft.flip, .wide-head { grid-template-columns: minmax(0, 1fr); gap: 32px; } .ft.flip > .tx { order: 0; } .wide-head p { justify-self: start; }
.apps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
.st3 { grid-template-columns: 1fr; } .pick { max-width: calc(100% - 28px); overflow-x: auto; scrollbar-width: none; }
.apps { gap: 10px; } .app .t { padding: 12px 12px 13px; } .app .t > span { display: none; } .btn .w { display: none; }
}
/* ---- Light: the page is unlit ink, and light pools where something is shown, like metal under a lamp.
Warm light is tungsten (traced light, the brand's one accent); each answer adds its own colour. ---- */
.hx, #light, #far, #traced, #apps { position: relative; isolation: isolate; }
html:not(.glass-on) .hx::before { content: ""; position: absolute; inset: -12% -6% -4%; z-index: -2; pointer-events: none;
background:
radial-gradient(40% 52% at 18% 10%, rgba(255, 140, 50, .22), transparent 70%),
radial-gradient(26% 34% at 44% 0%, rgba(255, 235, 196, .08), transparent 70%),
radial-gradient(34% 46% at 92% 20%, rgba(122, 162, 247, .12), transparent 72%),
radial-gradient(64% 32% at 50% 100%, rgba(255, 180, 84, .08), transparent 72%);
animation: drift 26s ease-in-out infinite alternate; }
/* What the light falls on: a die-like grid and grain, seen only where it is lit. These two layers are the light
without WebGL2; with it, js/glass.js draws the sheet of glass behind the page instead. */
html:not(.glass-on) .hx::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
background-image: linear-gradient(rgba(236, 232, 225, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(236, 232, 225, .05) 1px, transparent 1px), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
background-size: 56px 56px, 56px 56px, 180px 180px; background-position: -1px -1px, -1px -1px, 0 0;
-webkit-mask-image: radial-gradient(ellipse 68% 78% at 24% 12%, #000 0%, rgba(0, 0, 0, .5) 42%, transparent 80%), linear-gradient(180deg, transparent 0, #000 120px);
-webkit-mask-composite: source-in;
mask-image: radial-gradient(ellipse 68% 78% at 24% 12%, #000 0%, rgba(0, 0, 0, .5) 42%, transparent 80%), linear-gradient(180deg, transparent 0, #000 120px);
mask-composite: intersect; }
@keyframes drift { from { transform: translate3d(-1.5%, -1%, 0); } to { transform: translate3d(1.5%, 1.5%, 0); } }
/* A highlight runs across the metal now and then. */
.hx h1 .ray-text { background: linear-gradient(100deg, transparent 42%, rgba(255, 249, 236, .92) 50%, transparent 58%) no-repeat, var(--ray);
background-size: 260% 100%, 100% 100%; background-position: 160% 0, 0 0; -webkit-background-clip: text; background-clip: text;
animation: sheen 9s var(--ease) 1.2s infinite; }
@keyframes sheen { 0% { background-position: 160% 0, 0 0; } 38%, 100% { background-position: -60% 0, 0 0; } }
/* The cards: a specular top edge, and their own light when pointed at. */
.xc { transition: box-shadow .5s var(--ease), border-color .5s var(--ease); }
.xc::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; padding: 1px; pointer-events: none;
background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 30%);
-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.xc:hover { border-color: color-mix(in srgb, var(--acc) 50%, transparent); box-shadow: 0 44px 100px -44px color-mix(in srgb, var(--acc) 60%, transparent); }
/* Each answer, lit in its own colour behind what it shows. */
#light::before, #far::before, #traced::before, #apps::before, .tricks.close::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
#light::before { background: radial-gradient(34% 56% at 76% 52%, rgba(154, 166, 184, .13), transparent 70%), radial-gradient(22% 38% at 72% 42%, rgba(122, 162, 247, .09), transparent 70%); }
#far::before { background: radial-gradient(38% 60% at 26% 50%, rgba(122, 162, 247, .14), transparent 70%); }
#traced::before { background: radial-gradient(54% 40% at 50% 36%, rgba(255, 140, 50, .12), transparent 70%), radial-gradient(28% 22% at 50% 12%, rgba(255, 235, 196, .05), transparent 70%); }
#apps::before { background: radial-gradient(50% 40% at 50% 62%, rgba(255, 180, 84, .05), transparent 70%); }
.tricks.close::before { background: radial-gradient(32% 44% at 50% 34%, rgba(255, 140, 50, .17), transparent 70%), radial-gradient(60% 28% at 50% 100%, rgba(255, 180, 84, .05), transparent 70%); }
.pic1 img, .pic2 img { box-shadow: 0 50px 120px -56px color-mix(in srgb, var(--acc, #7aa2f7) 70%, transparent); }
#light .pic1 { --acc: #9aa6b8; } #far .pic2 { --acc: var(--c-ps); }
#traced .cmp { box-shadow: 0 60px 150px -70px rgba(255, 140, 50, .55); }
/* The sheet of glass (js/glass.js): fixed behind everything, under each section's own light. */
.glass { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .hx::before, .hx h1 .ray-text { animation: none; } }
</style>
</head>
<body>
<canvas class="glass" id="glass" aria-hidden="true"></canvas>
<nav class="nav" aria-label="Site">
<div class="wrap">
<a class="logo" href="./" aria-label="ThreeRT home"><img src="brand/mark.svg" alt=""><span>Three<span class="rt">RT</span></span></a>
<div class="links"><a href="blog/">Blog</a><a href="download/">Download</a><a href="docs/">Docs</a><a class="star" href="https://github.com/meshy-dev/ThreeRT" rel="noopener" aria-label="Star ThreeRT on GitHub" title="Star ThreeRT on GitHub"><svg class="si" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M8 .2a8 8 0 0 0-2.53 15.59c.4.07.55-.17.55-.38v-1.34c-2.23.48-2.7-1.07-2.7-1.07-.36-.93-.89-1.17-.89-1.17-.73-.5.05-.49.05-.49.8.06 1.23.83 1.23.83.72 1.22 1.88.87 2.33.66.07-.52.28-.87.5-1.07-1.77-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82a7.6 7.6 0 0 1 4 0c1.53-1.03 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.28.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48v2.2c0 .21.15.46.55.38A8 8 0 0 0 8 .2Z"/></svg><span>Star</span><b data-stars hidden></b></a><a class="ic" href="https://discord.gg/n7vsVmAKCK" rel="noopener" aria-label="ThreeRT on Discord" title="Discord"><svg class="si" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z"/></svg></a><a class="ic" href="https://x.com/ThreeRT3D" rel="noopener" aria-label="ThreeRT on X" title="X"><svg class="si" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z"/></svg></a></div>
</div>
</nav>
<header class="hx">
<div class="wrap">
<h1 class="h-display">three.js,<span class="l2 ray-text">down to the metal.</span></h1>
<p class="hx-sub">ThreeRT is a native runtime for three.js: no browser between your scene and the GPU.</p>
<div class="cta"><a class="btn primary" href="https://threert.app/" rel="noopener"><span>Explore apps</span></a><a class="btn ghost star" href="https://github.com/meshy-dev/ThreeRT" rel="noopener" aria-label="Star ThreeRT on GitHub"><svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M8 .2a8 8 0 0 0-2.53 15.59c.4.07.55-.17.55-.38v-1.34c-2.23.48-2.7-1.07-2.7-1.07-.36-.93-.89-1.17-.89-1.17-.73-.5.05-.49.05-.49.8.06 1.23.83 1.23.83.72 1.22 1.88.87 2.33.66.07-.52.28-.87.5-1.07-1.77-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82a7.6 7.6 0 0 1 4 0c1.53-1.03 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.28.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48v2.19c0 .21.15.46.55.38A8 8 0 0 0 8 .2Z"/></svg><span>Star<span class="w"> on GitHub</span></span><b data-stars hidden></b></a></div>
<div class="x3">
<a class="xc" href="#light" style="--acc:#9aa6b8"><img src="media/webgpu/wallpaper-800.webp" alt="A three.js Earth as a desktop wallpaper"><b>45× smaller</b><span>A 9.9 MB desktop app. Electron: 445 MB.<sup>1</sup></span></a>
<a class="xc" href="#far" style="--acc:var(--c-ps)"><img src="media/ps3/showroom-800.webp" alt="three.js objects on a Sony PS3"><b>On a Sony PS3</b><span>three.js scenes on PlayStation 3 hardware from 2006.<sup>2</sup></span></a>
<a class="xc" href="#traced"><img src="media/bistro/live.webp" alt="Bistro at night, path-traced"><b>Ray-traced, 60 fps</b><span>On GPUs with ray-tracing hardware.<sup>3</sup></span></a>
</div>
</div>
</header>
<section id="light">
<div class="wrap ft">
<div class="tx rv">
<span class="kick" style="--acc:#9aa6b8"><i></i><code>webgpu</code> · macOS and Linux</span>
<h2 class="h-1">Ship it like<br><span class="mute">a native app.</span></h2>
<p>three.js r187 and its own <code>WebGPURenderer</code>, unchanged, on wgpu over Metal or Vulkan. The same pixels as Chrome, at a fraction of the weight, and it goes where apps go: down to the desktop wallpaper.</p>
<div class="st3">
<div><b>9.9 MB</b><span>installed<br>Electron: 445 MB<sup>1</sup></span></div>
<div><b>15.6 %</b><span>CPU at 60 fps<br>Chromium: 39.9 %<sup>1</sup></span></div>
<div><b>0 %</b><span>CPU while a window<br>covers it</span></div>
</div>
</div>
<figure class="pic1 rv"><img src="media/webgpu/wallpaper.webp" srcset="media/webgpu/wallpaper-800.webp 800w, media/webgpu/wallpaper.webp 1600w" sizes="(max-width: 1100px) calc(100vw - 40px), 640px" width="1600" height="1000" alt="A three.js Earth with clouds and an atmosphere, the desktop wallpaper on Omarchy" loading="lazy" decoding="async"></figure>
</div>
</section>
<section id="far" style="padding-top:40px">
<div class="wrap ft flip">
<div class="tx rv">
<span class="kick" style="--acc:var(--c-ps)"><i></i>Sony PS3 · experimental</span>
<h2 class="h-1">No WebGPU. No JIT.<br><span class="mute">It still runs.</span></h2>
<p>On a Sony PlayStation 3 from 2006, the scene is still three.js r187. A native renderer draws it on the RSX at 1920 × 1080, with the PocketJS interface in the same frame. Early days: 16 to 30 fps, and no shadows, custom shaders or post-processing yet.<sup>2</sup></p>
<a class="go" href="blog/ps3/">How we ported it</a>
</div>
<div class="pic2 rv">
<img src="media/ps3/showroom.webp" srcset="media/ps3/showroom-800.webp 800w, media/ps3/showroom.webp 1600w" sizes="(max-width: 1100px) calc(100vw - 40px), 640px" width="1600" height="900" alt="A Sony PS3 frame: a gold torus knot and PBR spheres over a mirrored floor" loading="lazy" decoding="async">
<img src="media/ps3/pbr-grid.webp" width="1600" height="900" alt="A Sony PS3 frame: twenty spheres from smooth to rough and from dielectric to metal" loading="lazy" decoding="async">
</div>
</div>
</section>
<section id="traced" style="padding-top:40px">
<div class="wrap">
<div class="wide-head rv">
<div><span class="kick"><i></i><code>path</code> · ray-tracing GPUs</span><h2 class="h-1" style="margin-top:18px">Ray-traced.<br><span class="mute">At 60 fps.</span></h2></div>
<p>On GPUs with ray-tracing hardware, the path renderer traces every light in a three.js-style scene: shadows, bounce light and reflections from one method, nothing baked. Drag to compare it with three.js at full power.</p>
</div>
<div class="scene-tabs rv" id="sceneTabs"><button data-v="bistro">Bistro night</button><button data-v="zero-day">Zero-Day</button></div>
<div class="rv" style="position:relative">
<div class="cmp" id="main" data-x="50"></div>
<div class="pick" id="leftPick" aria-label="Left side"><button data-v="tuned">three.js · WebGL</button><button data-v="strongest">three.js · WebGPU + SSGI</button><button data-v="ref">Path-traced reference</button></div>
</div>
<p class="cmp-note rv"><span>Bistro night, 1280 × 720</span><span><b>ThreeRT</b> 15.5 ms · ΔE 3.4</span><span>three.js, WebGPU + SSGI + SSR + TRAA: 34.7 ms · ΔE 10.1<sup>3</sup></span><span>In ThreeRT for macOS, iPhone, Steam Deck, Android</span></p>
</div>
</section>
<section id="apps" style="padding-top:40px">
<div class="wrap">
<div class="wide-head rv">
<h2 class="h-1">Made with ThreeRT.<br><span class="mute">On threert.app.</span></h2>
<p>Apps and games, each at its own address. Open one in ThreeRT, or publish yours with <code>threert publish</code>.</p>
</div>
<div class="apps rv" id="appGrid">
<!-- apps:begin (site/tools/platform.ts) -->
<a class="app" href="https://daylight-home.threert.app/" rel="noopener" data-name="daylight-home" data-cover="https://daylight-home.threert.app/v/0.2.0+1/cover.jpg"><span class="pic"><img src="media/apps/daylight-home.webp" width="640" height="360" alt="Daylight Home, rendered by ThreeRT" loading="lazy" decoding="async"></span><span class="t"><small>App · architecture real estate</small><b>Daylight Home</b><span>One living room, from morning sun to lamplight</span><em>daylight-home.threert.app</em></span></a>
<a class="app" href="https://museum.threert.app/" rel="noopener" data-name="museum" data-cover="https://museum.threert.app/v/0.2.0+1/cover.jpg"><span class="pic"><img src="media/apps/museum.webp" width="640" height="360" alt="Sculpture Gallery, rendered by ThreeRT" loading="lazy" decoding="async"></span><span class="t"><small>App · culture</small><b>Sculpture Gallery</b><span>A daylit museum room you can walk through</span><em>museum.threert.app</em></span></a>
<a class="app" href="https://jewellery.threert.app/" rel="noopener" data-name="jewellery" data-cover="https://jewellery.threert.app/v/0.2.0+1/cover.jpg"><span class="pic"><img src="media/apps/jewellery.webp" width="640" height="360" alt="Jeweller’s Window, rendered by ThreeRT" loading="lazy" decoding="async"></span><span class="t"><small>App · commerce</small><b>Jeweller’s Window</b><span>Gold, diamonds and pearls, turning under the lights</span><em>jewellery.threert.app</em></span></a>
<a class="app" href="https://colour-lab.threert.app/" rel="noopener" data-name="colour-lab" data-cover="https://colour-lab.threert.app/v/0.2.0+1/cover.jpg"><span class="pic"><img src="media/apps/colour-lab.webp" width="640" height="360" alt="Colour Lab, rendered by ThreeRT" loading="lazy" decoding="async"></span><span class="t"><small>App · education</small><b>Colour Lab</b><span>Red, green and blue lamps; cyan, magenta and yellow shadows</span><em>colour-lab.threert.app</em></span></a>
<a class="app" href="https://refraction.threert.app/" rel="noopener" data-name="refraction" data-cover="https://refraction.threert.app/v/0.2.0+1/cover.jpg"><span class="pic"><img src="media/apps/refraction.webp" width="640" height="360" alt="Refraction Bench, rendered by ThreeRT" loading="lazy" decoding="async"></span><span class="t"><small>App · education</small><b>Refraction Bench</b><span>A straw breaks in water; a glass ball flips the arrows</span><em>refraction.threert.app</em></span></a>
<a class="app" href="https://moon-phases.threert.app/" rel="noopener" data-name="moon-phases" data-cover="https://moon-phases.threert.app/v/0.2.0+1/cover.jpg"><span class="pic"><img src="media/apps/moon-phases.webp" width="640" height="360" alt="Moon Phases, rendered by ThreeRT" loading="lazy" decoding="async"></span><span class="t"><small>App · education</small><b>Moon Phases</b><span>One Sun, one light: phases and eclipses, traced</span><em>moon-phases.threert.app</em></span></a>
<!-- apps:end -->
<a class="app yours" href="https://threert.app/publish" rel="noopener"><span class="pic"><span>$ threert publish</span></span><span class="t"><small>your-app.threert.app</small><b>Yours goes here</b><span>One command publishes a project.</span></span></a>
</div>
<div class="more rv"><a class="btn primary" href="https://threert.app/" rel="noopener"><span>Explore threert.app</span></a></div>
</div>
</section>
<section class="tricks close">
<svg class="mark rv" viewBox="0 0 64 64" aria-hidden="true" data-mark>
<defs><linearGradient id="ry" x1="11.59" y1="32" x2="32" y2="12.36" gradientUnits="userSpaceOnUse"><stop offset="0" style="stop-color:var(--ember)"/><stop offset=".5" style="stop-color:var(--tungsten)"/><stop offset="1" style="stop-color:var(--filament)"/></linearGradient><filter id="gl" x="-25%" y="-25%" width="150%" height="150%"><feGaussianBlur stdDeviation="1.4"/></filter></defs>
<rect width="64" height="64" fill="none" pointer-events="all"/>
<path d="M18.39 59.5 L4.78 4.5 L59.22 20.21 Z" fill="none" style="stroke:var(--bone)" stroke-width="2" stroke-linejoin="round" opacity=".9"/>
<g class="trail"></g>
<path data-ray="main" d="M11.59 32 L32 12.36 L38.81 39.86 Z" fill="url(#ry)" fill-opacity=".1" stroke="url(#ry)" stroke-width="1.8" stroke-linejoin="round" opacity=".45"/>
<path data-ray class="pulse" d="M11.59 32 L32 12.36 L38.81 39.86 Z" fill="none" style="stroke:var(--filament)" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round" pathLength="100" stroke-dasharray="9 91" filter="url(#gl)"><animate attributeName="stroke-dashoffset" from="100" to="0" dur="2.4s" repeatCount="indefinite"/></path>
</svg>
<div class="wrap">
<div class="yes rv">Bring your <span class="ray-text">three.js.</span></div>
<div class="cta rv"><a class="btn primary" href="https://threert.app/" rel="noopener"><span>Explore apps</span></a><a class="btn ghost star" href="https://github.com/meshy-dev/ThreeRT" rel="noopener" aria-label="Star ThreeRT on GitHub"><svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M8 .2a8 8 0 0 0-2.53 15.59c.4.07.55-.17.55-.38v-1.34c-2.23.48-2.7-1.07-2.7-1.07-.36-.93-.89-1.17-.89-1.17-.73-.5.05-.49.05-.49.8.06 1.23.83 1.23.83.72 1.22 1.88.87 2.33.66.07-.52.28-.87.5-1.07-1.77-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82a7.6 7.6 0 0 1 4 0c1.53-1.03 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.28.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48v2.19c0 .21.15.46.55.38A8 8 0 0 0 8 .2Z"/></svg><span>Star<span class="w"> on GitHub</span></span><b data-stars hidden></b></a></div>
<p class="fine rv"><a href="https://github.com/meshy-dev/ThreeRT" rel="noopener">Open source, MIT</a> · <a href="download/" data-dl>Download ThreeRT</a> · <a href="docs/">Docs</a></p>
</div>
</section>
<footer class="foot">
<div class="wrap cols">
<div>
<a class="logo" href="./" aria-label="ThreeRT home"><img src="brand/mark.svg" alt=""><span>Three<span class="rt">RT</span></span></a>
<p style="margin-top:14px">three.js, down to the metal.</p>
<div class="site"><a href="blog/">Blog</a><a href="https://threert.app/" rel="noopener">Apps</a><a href="download/">Download</a><a href="docs/">Docs</a><a class="star" href="https://github.com/meshy-dev/ThreeRT" rel="noopener" aria-label="Star ThreeRT on GitHub" title="Star ThreeRT on GitHub"><svg class="si" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M8 .2a8 8 0 0 0-2.53 15.59c.4.07.55-.17.55-.38v-1.34c-2.23.48-2.7-1.07-2.7-1.07-.36-.93-.89-1.17-.89-1.17-.73-.5.05-.49.05-.49.8.06 1.23.83 1.23.83.72 1.22 1.88.87 2.33.66.07-.52.28-.87.5-1.07-1.77-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82a7.6 7.6 0 0 1 4 0c1.53-1.03 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.28.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48v2.2c0 .21.15.46.55.38A8 8 0 0 0 8 .2Z"/></svg><span>Star</span><b data-stars hidden></b></a><a class="ic" href="https://discord.gg/n7vsVmAKCK" rel="noopener" aria-label="ThreeRT on Discord" title="Discord"><svg class="si" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z"/></svg></a><a class="ic" href="https://x.com/ThreeRT3D" rel="noopener" aria-label="ThreeRT on X" title="X"><svg class="si" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z"/></svg></a></div>
<p class="legal">A research project from <a href="https://meshy.ai/" rel="noopener">MeshyAI</a> · © 2026 MeshyAI · <a href="privacy/">Privacy</a></p>
</div>
<div class="note">
<p><sup>1</sup> The desktop app is Pocket Island on an Apple M5 at 1200 × 800 (2×), in the foreground at 60 fps, the whole process tree, against its Electron build. The wallpaper is <code>webgpu/wallpaper</code> on a ThinkPad X1 Nano (Intel Iris Xe, Vulkan, Hyprland) against Chromium 155 with WebGPU on Vulkan: the same 854 KiB bundle and 4K textures, 2160 × 1350 at 60 fps, process-tree CPU and RSS from <code>/proc</code>. Method and data: <code>docs/RENDERING-METHODS.md</code>, <code>webgpu/wallpaper/REPORT.md</code>. With a window over it, the wallpaper pauses: 0.00 % CPU, the GPU asleep 97 % of the time.</p>
<p><sup>2</sup> A Sony PlayStation 3 (CECH-2500, system software 4.81 with custom firmware, which homebrew needs). three.js 0.187.0 runs on QuickJS on the Cell’s PPU; a native renderer draws its scene graph on the RSX at 1920 × 1080, with a PocketJS overlay in the same frame. The four demos run at 16 to 30 fps: the showroom (25,990 triangles in 26 draws, with a planar mirror) at 20, the material grid (58,886 triangles in 43 draws) at 26, 2,400 point sprites at 30, and 196 instances at 16, drawn one draw each, which costs 28.9 ms of PPU time a frame. Where the rest of a frame goes is not measured yet, and the Cell’s SPUs are not used.</p>
<p><sup>3</sup> To our knowledge. 60 fps measured on an Apple M5 MacBook at 1280 × 720 output with dynamic resolution, along each scene’s own camera path; three.js r187 in Chrome on the same machine. The Bistro and Zero-Day comparisons, and every scene: <code>docs/COMPARE.md</code>.</p>
<p>Amazon Lumberyard Bistro: Amazon Lumberyard (2017). Zero-Day: Mike Winkelmann (Beeple) and Kate Anderson (2019). Both from NVIDIA’s Open Research Content Archive (ORCA), CC BY 4.0, converted from FBX to glTF. The wallpaper’s Earth: NASA Blue Marble and Black Marble. three.js is an independent open-source project; ThreeRT is not affiliated with it.</p>
<p>The pictures of the apps are their covers on <a href="https://threert.app/" rel="noopener">threert.app</a>, where each app’s page credits what it uses.</p>
</div>
</div>
</footer>
<script type="module">
import { $, $$, compare, seg, reveal } from "./js/threert.js";
import { downloadButtons } from "./js/site.js";
import { FEATURED, LIST, TILES, pick, tile } from "./js/platform.js";
// Sections fade in first, so a part that fails below (a failed fetch) never blanks the page.
reveal();
const guard = (name, f) => { try { const r = f(); if (r?.catch) r.catch((e) => console.error(`${name}:`, e)); } catch (e) { console.error(`${name}:`, e); } };
// threert.app's apps, as the platform lists them now. The tiles in the page (baked by site/tools/platform.ts) stand
// until the answer comes and wherever it does not; a tile changes only when its app did, and every tile has the
// same box, so nothing on the page moves.
guard("apps", async () => {
const r = await fetch(LIST, { signal: AbortSignal.timeout(8000) }).catch(() => null); // out of reach: the baked tiles
if (!r?.ok) return;
const items = (await r.json()).items, apps = pick(items);
const slots = $$("#appGrid .app[data-name]"), local = new Map(slots.map((el) => [el.dataset.cover, $("img", el).getAttribute("src")]));
// The featured game says how many are in its rooms, when anyone is.
const playing = items?.find?.((a) => a?.name === FEATURED)?.stats?.playing;
const now = $("#osNow"); if (playing > 0 && now) now.textContent = `${playing} playing now`;
if (apps.length < Math.min(TILES, slots.length)) return; // a thin answer: the baked tiles say more
slots.forEach((el, i) => {
const html = tile(apps[i], local.get(apps[i].cover) ?? apps[i].cover);
const t = document.createElement("template");
t.innerHTML = html;
if (!el.isEqualNode(t.content.firstChild)) el.replaceWith(t.content.firstChild);
});
});
// The download link names the visitor's platform.
guard("download", () => downloadButtons());
// The sheet of glass behind the page; without WebGL2 the CSS light stays.
guard("glass", () => import("./js/glass.js").then(({ glass }) => glass($("#glass"))));
// Against three.js: scene tabs above, the left side picked on the left side.
guard("against three.js", () => {
const main = compare($("#main"));
const st = { scene: "bistro", left: "tuned" };
const names = { tuned: "three.js · WebGL", strongest: "three.js · WebGPU + SSGI", ref: "Path-traced reference" };
const render = () => main.set({ a: `media/${st.scene}/${st.left}.webp`, b: `media/${st.scene}/live.webp`, la: names[st.left], lb: "ThreeRT" });
seg($("#sceneTabs"), (v) => { st.scene = v; render(); }).pick("bistro");
seg($("#leftPick"), (v) => { st.left = v; render(); }).pick("tuned");
$("#leftPick").addEventListener("pointerdown", (e) => e.stopPropagation());
});
</script>
</body>
</html>