Cell Portraits an interactive 3D WebGL app I built as a teacher to help students visualize 5 human cell types (Cone Photoreceptor, Melanocyte, Purkinje Neuron, Osteocyte, Cardiomyocyte) up close, with annotated anatomy panels, particle-based shader animation, and bilingual EN/ID support.

By (@sasam) · · Websites

I'm a teacher, and one thing I've always struggled to convey is what a cell actually looks like in 3D textbook diagrams are flat, and most students never get to "see" the structures they're memorizing. So I built Cell Portraits: an interactive WebGL app where students can rotate, zoom, and morph between 5 real human cell types, click into annotated anatomy mode to see each organelle labeled and explained, and switch between English and Indonesian depending on what's easier for them to follow.

What started as a single 3-cell particle morph experiment grew into a full 5-cell visualization built from scratch procedural particle geometry, custom GLSL shaders, and anatomy callouts referenced from real biology sources (histology diagrams, confocal microscopy reconstructions). I hit real engineering walls along the way GPU vertex attribute limits forced a rethink of how cell data gets stored for the later additions and iterated on visual clarity multiple times based on legibility, since the whole point is for students to actually understand what they're looking at, not just be dazzled by it.

Built entirely through iterative back-and-forth with Claude: sketching each cell in isolation first, testing for correctness, then integrating into the shared shader system one cell at a time with backups at every step. My hope is this makes cell biology click for students the way static diagrams never quite did for me.

Tech stack

  • Claude
  • Vercel

Prompt

Build an interactive 3D WebGL web app called "Cell Portraits" — a bilingual (English/Indonesian) educational visualization that lets students explore and morph between 5 real human cell types, each rendered as custom procedural particle geometry with annotated anatomy.

THE 5 CELLS:

1. CONE PHOTORECEPTOR — a layered visual transduction cell: stacked outer-segment discs, a connecting cilium, a six-strand microtubule helix, mitochondria, nucleus, synaptic pedicle, and vesicles.

2. MELANOCYTE — a dendritic pigment-producing cell: an asymmetric soma, curved primary dendrites, secondary/tertiary branching, terminal arbors, and a melanosome stream carrying pigment packets outward through the branches.

3. PURKINJE NEURON — a large branching neuron: a pear-shaped soma, apical trunk, a seven-bough fan arbor, dendritic spines, a separate axon, and traveling signal packets cascading through the dendrites and axon.

4. OSTEOCYTE — a star-shaped bone cell: a lacunar soma filling the bone cavity, off-center nucleus, a pericellular band against the mineralized lacunar wall, dozens of radiating canalicular processes reaching outward through microscopic bone canals, fine terminal branch network…

Comments (2)

  1. Arinzaay ·

    Samsam onit again💯💯💯💯💯💯

  2. Zaineee ·

    can i steal it<div><br></div>

14 likes · 2 comments · 22 views

Explore more on Prompted