data endpoint for entity 90008 (aka. a website)
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

use only one decimal place in constellation svg to save even more space

dawn 0382557c eaae230b

+2 -2
+2 -2
eunomia/src/lib/constellation.ts
··· 1201 1201 1202 1202 const projected: Record<string, ProjectedTrans> = {}; 1203 1203 1204 - const fmt = (n: number) => n.toFixed(2); // Round to 2 decimal places 1204 + const fmt = (n: number) => n.toFixed(1); // round to 1 decimal place, so we save more space 1205 1205 1206 1206 // 0. Universe Noise / Heatmap (Background Nebulae) 1207 1207 let nebulaIndex = 0; ··· 1334 1334 } 1335 1335 1336 1336 const delay = rng.float(0, 10); 1337 - const style = animClass ? `style="animation-duration: ${duration.toFixed(2)}s; animation-delay: -${delay.toFixed(2)}s"` : ''; 1337 + const style = animClass ? `style="animation-duration: ${fmt(duration)}s; animation-delay: -${fmt(delay)}s"` : ''; 1338 1338 const cls = animClass ? `class="${animClass}"` : ''; 1339 1339 1340 1340 svgBody += `<rect ${cls} ${style} x="${fmt(p.x - radius / 2)}" y="${fmt(p.y - radius / 2)}" width="${fmt(radius)}" height="${fmt(radius)}" fill="#EEEEEE" fill-opacity="${fmt(opacity)}" stroke="#FFFFFF" stroke-opacity="${fmt(haloOpacity)}" stroke-width="${fmt(strokeWidth)}" paint-order="stroke fill" />`;