From 93ef63110f70f747a840f355d4cea6a78289d0cd Mon Sep 17 00:00:00 2001 From: zzstoatzz Date: Sun, 20 Sep 2026 02:21:10 -0500 Subject: [PATCH] site: extend glass beyond viewport and blend browser edges --- deploy/site/ambient.js | 8 ++++++++ deploy/site/index.html | 26 ++++++++++++++------------ tests/homepage-layout.html | 8 ++++++++ 3 files changed, 30 insertions(+), 12 deletions(-) diff --git a/deploy/site/ambient.js b/deploy/site/ambient.js index e4f6613..e5ce6f0 100644 --- a/deploy/site/ambient.js +++ b/deploy/site/ambient.js @@ -131,6 +131,14 @@ const t = reduced.matches ? 1 : progress(current, now); const surface = texture(); context.clearRect(0, 0, width, height); + context.fillStyle = '#111f2a'; + context.fillRect(0, 0, width, height); + const water = context.createLinearGradient(0, height, width, 0); + water.addColorStop(0, 'rgba(30,65,64,.32)'); + water.addColorStop(.48, 'rgba(44,56,80,.28)'); + water.addColorStop(1, 'rgba(62,72,86,.32)'); + context.fillStyle = water; + context.fillRect(0, 0, width, height); for (const shard of current.shards) { const points = shard.points.map(([x, y]) => [x * width, y * height]); const light = lightAt(shard, t); diff --git a/deploy/site/index.html b/deploy/site/index.html index 6671193..2b6fd40 100644 --- a/deploy/site/index.html +++ b/deploy/site/index.html @@ -2,10 +2,10 @@ - + stream - + {{$s := httpInclude "/status"}}{{$seq := regexFind "[0-9,]+" (regexFind "upstream seq[^\n]+" $s)}}{{$segs := regexFind "[0-9,]+" (regexFind "sealed segs[^\n]+" $s)}}{{$desc := "jetstream v2 firehose + full-network atproto archive"}}{{if $seq}}{{$desc = printf "%s · network seq %s · %s sealed segments" $desc $seq $segs}}{{end}} @@ -16,19 +16,20 @@ - +
~  s t r e a m  ~ @@ -81,15 +83,15 @@ footer .icon{width:11px;height:11px;vertical-align:-1px;margin-right:.6ch} source
- +