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 app icon's mark centred by where its light sits

Yifeng "Evan" Wang58b57b810ab5
diff --git a/site/brand/app-icon.svg b/site/brand/app-icon.svg
index 4761407..847bc4b 100644
--- a/site/brand/app-icon.svg
+++ b/site/brand/app-icon.svg
@@ -6,7 +6,11 @@
</defs>
<rect width="512" height="512" rx="114" fill="url(#bg)"/>
<rect x="1.5" y="1.5" width="509" height="509" rx="112.5" fill="none" stroke="#fff" stroke-opacity=".08" stroke-width="3"/>
- <g transform="translate(96 96) scale(5)">
+ <!-- The mark, placed by where its light sits, not by its box. The triangle is tilted, so the box of the 64-unit
+ drawing is centred while the triangle is not: at translate(96 96) its centroid, and the luminance-weighted
+ centre of the lit drawing, sat 22 px up and to the left of the plate's centre. Here that centre is the plate's
+ (256, 256) to within a pixel, and the three corners are the same distance from it. -->
+ <g transform="translate(117.9 117.4) scale(5)">
<path d="M11.59 32 L32 12.36 L38.81 39.86 Z" fill="none" stroke="#FFAD4E" stroke-width="6" 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="3" stroke-linejoin="round"/>
<path d="M11.59 32 L32 12.36 L38.81 39.86 Z" fill="url(#ray)" fill-opacity=".16" stroke="url(#ray)" stroke-width="3" stroke-linejoin="round"/>