Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

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

blank: flip lid y so at 180° it extends downward like base

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+5 -5
+5 -5
system/public/aesthetic.computer/disks/blank.mjs
··· 144 144 145 145 const cosH = cos(hingeAngle), sinH = sin(hingeAngle); 146 146 147 - // Lid in local space: extends DOWN from y=0, same as base 148 - // y: 0 to lidThick, z: gap to 2*hd (gap keeps hinge edges from touching) 149 - // At 180°: y flips → extends UP (flush with base top), z flips → extends behind 147 + // Lid in local space: extends UP from y=0 (negative y) 148 + // At 180° (cos=-1): y flips sign → extends DOWN (positive y, same as base) 149 + // Both halves flat and co-planar, both extending downward from y=0 150 150 const lidLocal = [ 151 151 [-hw, 0, gap], [hw, 0, gap], 152 - [hw, lidThick, gap], [-hw, lidThick, gap], 152 + [hw, -lidThick, gap], [-hw, -lidThick, gap], 153 153 [-hw, 0, 2 * hd], [hw, 0, 2 * hd], 154 - [hw, lidThick, 2 * hd], [-hw, lidThick, 2 * hd], 154 + [hw, -lidThick, 2 * hd], [-hw, -lidThick, 2 * hd], 155 155 ]; 156 156 157 157 // Rotate lid around pivot (y=0, z=0 in local = pivot point)