Skip to content

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.

Brand: the profile picture (X, Discord): the mark on black, drawn for a round crop

Yifeng "Evan" Wang2a69fb50f1e9
diff --git a/site/README.md b/site/README.md
index bdbee52..10e06ae 100644
--- a/site/README.md
+++ b/site/README.md
@@ -120,7 +120,7 @@ links from where they are served (`js/site.js` `packageLinks`):
| `js/threert.js` | The wipe comparison (and the clip that can play over its two stills), the reel behind the landing page's headline, the synced camera-move player, the code highlighter. A divider follows a finger only once it moves sideways, so scrolling past one does not move it |
| `js/site.js` | What the pages share: the visitor's platform, the release and the packages on this host, their links, QR codes |
| `js/devices.js` | The 3D device rows (three.js), with a still fallback when WebGL is off |
-| `brand/` | The mark ("Three bounces": the three.js triangle, tilted as three.js draws it, and the closed light path inside it, which is three.js's own inner triangle) and its variants. `js/mark.js` draws it live in the lockup and on the landing page, and turns the path on hover |
+| `brand/` | The mark ("Three bounces": the three.js triangle, tilted as three.js draws it, and the closed light path inside it, which is three.js's own inner triangle) and its variants. `js/mark.js` draws it live in the lockup and on the landing page, and turns the path on hover. `avatar.svg` is the profile picture (X, Discord): the mark on black for a round crop, its triangle concentric with the circle, heavier strokes (4.2 against 3.2) so it holds at 32 px |
| `media/` | The renders, WebP, and the clips (the reel, the Bistro comparison), H.264. Generated; never retouched |
| `serve.ts`, `tools/` | Local server, static build, deploy, media and device-still generators; `tools/vendor.ts` names the npm files the pages import (three.js, qrcode-generator) |
| `worker.ts`, `wrangler.jsonc` | The Cloudflare Worker (www redirect, disk images from R2, byte ranges for the clips, static assets) and its config (threert.dev) |
diff --git a/site/brand/avatar.svg b/site/brand/avatar.svg
new file mode 100644
index 0000000..916e3d9
--- /dev/null
+++ b/site/brand/avatar.svg
@@ -0,0 +1,14 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" role="img" aria-label="ThreeRT">
+ <!-- ThreeRT for a profile picture (X, Discord): the mark on black, drawn for a round crop. The triangle's centroid is
+ the centre of the square, so its three corners sit equally far from the rim of the circle the platforms cut. -->
+ <defs>
+ <linearGradient id="ray" x1="11.59" y1="32" x2="32" y2="12.36" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#FF6A13"/><stop offset=".5" stop-color="#FFB454"/><stop offset="1" stop-color="#FFEBC4"/></linearGradient>
+ <filter id="glow" x="-25%" y="-25%" width="150%" height="150%"><feGaussianBlur stdDeviation="1.8"/></filter>
+ </defs>
+ <rect width="1024" height="1024" fill="#000"/>
+ <g transform="translate(211.13 204.49) scale(10.9552)">
+ <path d="M11.59 32 L32 12.36 L38.81 39.86 Z" fill="none" stroke="#FFAD4E" stroke-width="8.0" stroke-linejoin="round" opacity=".5" filter="url(#glow)"/>
+ <path d="M18.39 59.5 L4.78 4.5 L59.22 20.21 Z" fill="none" stroke="#ECE8E1" stroke-width="4.2" stroke-linejoin="round"/>
+ <path d="M11.59 32 L32 12.36 L38.81 39.86 Z" fill="url(#ray)" fill-opacity="0.2" stroke="url(#ray)" stroke-width="4.2" stroke-linejoin="round"/>
+ </g>
+</svg>