Fork of 3D Cube of Spheres
✓ Published0🌍 Public
A 3D interactive model of a human heart built with Three.js and animated via requestAnimationFrame. The model uses color-coded spheres and cylinders to represent anatomical parts, including the left and right ventricles, atria, aorta, and pulmonary artery, each with an associated function. Users can orbit the heart using OrbitControls, and a mousemove event with Raycaster enables hover highlighting and logs part names to the console. The scene includes directional and ambient lighting, with a camera initial position of z=15.
AI-generated description3D Interactive Heart Model
This project creates an interactive 3D model of a human heart using Three.js. The model shows different parts of the heart with their functions:
Heart Parts and Functions
Left Ventricle
- Main pumping chamber
- Pumps oxygenated blood to the body
Right Ventricle
- Pumps blood to the lungs
- Lower pressure than left ventricle
Left Atrium
- Receives oxygenated blood from lungs
- Upper left chamber
Right Atrium
- Receives deoxygenated blood
- Upper right chamber
Aorta
- Main artery
- Distributes oxygenated blood
Pulmonary Artery
- Carries blood to lungs
- For oxygenation
Features
- Interactive 3D rotation
- Hover effects on different parts
- Color-coded chambers and vessels
- Information display on hover
MIT Licensed