Skip to content

feat(site): three.js, down to the metal - #307

Merged
doodlewind merged 3 commits into
meshy-dev:mainfrom
doodlewind:docs/positioning-native-runtime
Dec 3, 2026
Merged

doodlewind merged 3 commits into
meshy-dev:mainfrom
doodlewind:docs/positioning-native-runtime

Conversation

@doodlewind

Copy link
Copy Markdown
Collaborator

ThreeRT's site and README now say what ThreeRT is: the native runtime for three.js — "three.js, down to the metal." — and what that gets you, with the measurements behind each claim. A new blog opens with the PS3 port.

The landing page (site/index.html)

  • Hero: "three.js, down to the metal." and "ThreeRT is a native runtime for three.js: no browser between your scene and the GPU.", the buttons, and three cards: 45× smaller (webgpu: 9.9 MB installed vs 445 MB Electron), On a Sony PS3 (three.js scenes on PlayStation 3 hardware from 2006), Ray-traced, 60 fps (on GPUs with ray-tracing hardware).
  • One section per card: webgpu (the Omarchy wallpaper, installed size, CPU against Chromium 155, 0 % CPU while covered), the Sony PS3 (experimental; what it can't do yet; 16–30 fps; links the blog post), path (the one comparison with three.js at full power). Then threert.app's apps and the end.
  • Removed from this page: the reel, Hello world, the camera move, the close-ups, the 3D device shelf, OpenStrikeRT's section, the publish steps, "Just light." The media stays in the repository (site/README.md lists it).
  • Background: site/js/glass.js, a sheet of glass triangles over a flowing light: one WebGL2 fragment shader on a fixed canvas, at most 30 fps, below screen resolution, paused while hidden, a still frame under reduced motion. Without WebGL2 the CSS light stays.
  • Metadata and share card match the new hero.

The blog (site/blog/)

  • blog/ (index) and blog/ps3/: three.js on a Sony PS3 — a WebGL developer's tour of the RSX. What was not possible before and what is new; the premise (keep three.js's scene graph, replace the renderer); the PS3 seen from WebGL; one triangle in five stages, WebGL beside PS3; the bridge from three.js to the RSX; the shaders; five bugs; the four demos' measurements; what it means for ThreeRT. Four figures drawn in HTML/SVG.
  • The nav has Blog in place of Apps on every page; the footer keeps Apps and adds Blog. serve.ts and tools/build.ts know the new pages.

Brand: README, share images, metadata

  • README.md: "three.js, down to the metal." and "ThreeRT is a native runtime for three.js: no browser between your scene and the GPU." at the top; a picture of the new hero (docs/images/hero.webp); Down to the metal with the three things it gets you and their numbers; the renderer table; the path tracer's comparison with three.js; Get started for webgpu, the Sony PS3 and path. The hello-world section goes; the layout lists runtime/ and webgpu/; the docs list the blog; the clients badge names Steam Deck and Android.
  • Share images: site/brand/card.jpg (Open Graph) re-taken from the new hero; the same screenshot as GitHub's social preview, docs/images/social-preview.jpg (1280 × 640: upload it in Settings → Social preview; the API cannot set it). The download, docs and privacy pages now share with the brand card; the blog post shares with a frame from the PS3 (site/media/ps3/og.jpg).
  • Repository metadata, set with gh repo edit after merge: the description "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." and the topics javascript-runtime, electron-alternative, vulkan.

Docs

  • README.md: a table of what each way of running keeps of three.js and what it replaces.
  • docs/RENDERING-METHODS.md: a section on native scene-graph renderers (the PS3), its limits and measurements, and why it is not a --renderer here.

Checks

  • node --test site/*.test.ts: 2 pass, 0 fail
  • bun site/tools/build.ts: builds out/site including blog/ (warnings only for the release and play directories, which are not on this machine)
  • Pages load with no console errors with WebGL on and off; checked at 1440 px and 390 px wide

Not in this PR

  • Deploy: bun site/tools/deploy.ts (needs wrangler login and site/releases/ from the client release script).
  • PocketJS: the PS3 three.js code the post and RENDERING-METHODS.md describe (platforms/ps3/three-rsx-renderer.ts, rsx3d.c, apps/ps3-three-showcase/) is not merged into pocket-nexus/pocketjs yet.

🤖 Generated with Claude Code

doodlewind and others added 3 commits December 3, 2026 15:01
…aph renderers

README: "The native runtime for three.js. three.js, down to the metal.", with
what each way of running keeps of three.js and what it replaces (path, webgpu,
and the Sony PS3, where a native renderer draws three.js's scene graph).

docs/RENDERING-METHODS.md: a section on native scene-graph renderers: how the
PS3 renderer draws three.js r187's scene graph on the RSX, what it supports and
what it does not, the four demos' measurements, and why it is not a --renderer
of this repository.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The landing page says what ThreeRT is and what it gets you on the first screen:
"three.js, down to the metal.", "ThreeRT is a native runtime for three.js: no
browser between your scene and the GPU.", and three cards: 45x smaller (webgpu),
on a Sony PS3, ray-traced at 60 fps on GPUs with ray-tracing hardware. A section
proves each card; the path tracer keeps one comparison with three.js.

Behind the page, js/glass.js draws a sheet of glass triangles over a flowing
light (one WebGL2 fragment shader on a fixed canvas, 30 fps at most, a still
frame under reduced motion); without WebGL2 the CSS light stays.

The nav has Blog in place of Apps (the footer keeps Apps). blog/ is an index
and the first post, "three.js on a Sony PS3": a WebGL developer's tour of the
RSX, with figures drawn in HTML and SVG. serve.ts and build.ts know the new
pages; site/README.md describes the page, the light and the blog. The share
card is a screenshot of the new hero.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…wn to the metal"

README: the line and what ThreeRT is at the top, a picture of the new hero
(docs/images/hero.webp), "Down to the metal" with the three things it gets
you and their numbers, the renderer table, the path tracer's comparison with
three.js, and Get started for webgpu, the Sony PS3 and path. The hello-world
section goes; the layout lists runtime/ and webgpu/; the docs list the blog;
the clients badge names Steam Deck and Android.

The share card is re-taken with the line under the headline and without the
footnote marks; the same screenshot at 1280 x 640 is GitHub's social preview
(docs/images/social-preview.jpg, uploaded in the repository's settings). The
download, docs and privacy pages share with the brand card.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@doodlewind
doodlewind merged commit 2b82e43 into meshy-dev:main Dec 3, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant