Content Updates with projects and experience

This commit is contained in:
Greg Kilmer
2026-07-04 18:03:38 -04:00
parent 1e8f5f1f01
commit 35d561525f
29 changed files with 347 additions and 148 deletions
+4 -5
View File
@@ -92,12 +92,11 @@ export default function ConstellationField({
const cx = width;
const cy = 0;
const maxR = Math.sqrt(cx * cx + height * height) + 40;
// Denser field for richer constellations. One star per ~4500 px^2, scaled
// ~3x density for a richly star-packed sky. One star per ~1500 px^2,
// scaled by density; ~15% anchors for a dense constellation backbone.
// Ultra-dense: ~5x. One star per ~300 px^2, scaled by density; ~17%
// anchors for a very dense constellation backbone.
const count = Math.min(
900,
Math.floor(((Math.PI * maxR * maxR) / 1500) * density),
3000,
Math.floor(((Math.PI * maxR * maxR) / 300) * density),
);
stars = Array.from({ length: count }, (_, i) => {
const anchor = i % 7 === 0;