Analysis updated 2026-05-18
Study the single HTML file to learn how to animate a 3D model with Three.js.
Fork it as a starting point for another sci fi style browser demo.
Record the built in demo as a short video clip to share on social media.
Use it as a portfolio piece showing browser based audio and graphics work.
| carolinacherry/cardia-survey | chingjh/ghost | irenerachel/a4cv | |
|---|---|---|---|
| Stars | 13 | 13 | 13 |
| Language | HTML | HTML | HTML |
| Setup difficulty | easy | easy | easy |
| Complexity | 2/5 | 1/5 | 1/5 |
| Audience | vibe coder | general | general |
Figures from each repo's GitHub metadata at analysis time.
Must be served over HTTP with a simple local server, opening the file directly does not work.
This project is a small, self contained web page that shows a beating, photoreal human heart floating in a studio, being scanned region by region like a sci fi medical device. Everything happens in the browser: there is no game engine and no build step. It is one HTML file that pulls in the Three.js graphics library from a CDN and uses the browser's built in Web Audio API for sound. On screen you get a heart that pulses at roughly 68 beats per minute, complete with a subtle brightness flash and a small thump each beat. Next to it runs a live scrolling heartbeat line, the kind you would see on a hospital monitor, timed to match the same beat. A glowing scan line sweeps across the heart's surface and locks onto specific spots, each lock triggering an expanding ring effect. A second camera shows a zoomed in, magnified view of whatever area is currently being scanned. All the sound, including an ambient hum, scanning ticks, lock chimes, and a heartbeat thump, is generated live rather than played from recorded audio clips. There is also a record button that captures the whole scene plus its audio straight to a video file, along with a replay button to reset the scene for another take. Because it uses ES modules and loads a 3D model file, it will not work if you just double click the HTML file. Instead you need to serve it through a simple local web server, using a one line command with Python, Node, or PHP, then open it in your browser and click once to turn on the sound. The project is built with plain HTML, CSS, and JavaScript plus Three.js and the Web Audio API, all inside a single index.html file. It is inspired by an earlier viral "floating rock" demo and reinterprets that idea as a human heart. The code is released under the MIT license, though the bundled 3D heart model and font keep their own separate terms.
A single browser page with a beating, animated 3D human heart that gets scanned like a sci fi medical device, with sound and no install required.
Mainly HTML. The stack also includes HTML, CSS, JavaScript.
Use freely for any purpose, including commercial use, as long as you keep the copyright notice, the bundled heart model and font have their own separate terms.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly vibe coder.
This repo across BitVibe Labs
Verify against the repo before relying on details.