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 @@
- +