I'm a dermatologist. A year ago I posted a skin cancer quiz I vibe coded with Gemini 2.5 Pro. A top comment said that was the limit of vibe coding.
This year I tried something more ambitious: SkinLab, a biophysical model of human skin that runs in the browser using WebGL. You can cut it or wound it and it heals realistically to form a scar. Then you can treat the scar with laser and watch the healing process.
- 1.2 million voxels (0.25 mm resolution) for epidermis, dermis and fat. - Spring lattice with a J-shaped collagen fibre law and tension along the skin's lines - Healing as coupled ODEs (TGF-beta, myofibroblasts, collagen, contraction) - One static HTML file, WebGL, three.js, no backend
By accurate I mean the constants come from published papers and it reproduces biophysical behaviour, such as incisions opening more when made more across the skin's tension lines and off preventing raised scars. It is not validated against patient outcomes, so it's for research and teaching, and a small step towards my lab's long term goal of an accurate cellular-resolution model of human skin.
Built with Claude Code over five days. I guided the anatomy and biology through many rounds of feedback and iteration but I believe that in the future agentic models will be able to iteratively build and improve integrative models based upon analysis of published literature.
The tour (top right) takes a minute and runs in real time in your browser. Feedback welcome.
Comments URL: [https://news.ycombinator.com/item?id=49881201](https://news.ycombinator.com/item?id=49881201)
Points: 1