---
title: "Specimen Stack"
url: "https://sanyam.sh/lab/specimen-stack"
date: "2026-11-08"
---

# Specimen Stack

Drag or use the arrows. Press the front card to inspect.

a fan of mineral specimen cards: drag, scroll sideways or use the arrows to browse, and press the card in front to lift it out and turn it over to its data sheet.

key insight: every card's pose is a function of one position, the index under the centre, so a drag, a throw, a key and a press all move one number and the fan follows it on a spring.

the card in front leans toward the pointer with a glare that follows it, and the card is drawn once at a fixed size and scaled, so its back never reflows.

- Source: https://github.com/SanyamPunia/www/blob/main/components/labs/specimen-stack/index.tsx
