From 892f9ebffc79d348e70820f6fe98a72b73025fc7 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 29 Mar 2026 13:57:51 -0600 Subject: [PATCH] [gpu] Add loading screen to web demo Co-Authored-By: Claude Opus 4.6 (1M context) --- util/gpu/web/shell.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/util/gpu/web/shell.html b/util/gpu/web/shell.html index 354e0a63d..5afa395cb 100644 --- a/util/gpu/web/shell.html +++ b/util/gpu/web/shell.html @@ -5,7 +5,10 @@ HarfBuzz GPU Demo +
loading
@@ -140,6 +144,8 @@ space: animate · b: dark mode · g: gamma · r: reset · =/-: zoom var Module = { canvas: canvas, onRuntimeInitialized: function () { + document.getElementById('loading').style.display = 'none'; + document.body.style.background = '#222'; console.log('HarfBuzz GPU Demo loaded'); /* Font file input */