Skip to main content
100%

Fork of 3D Cube of Spheres

✓ Published0🌍 Public
NNita
Last edited Mar 29, 2025
Created on Mar 29, 2025
Forked from 3D Cube of Spheres

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 description

3D 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

  1. Left Ventricle

    • Main pumping chamber
    • Pumps oxygenated blood to the body
  2. Right Ventricle

    • Pumps blood to the lungs
    • Lower pressure than left ventricle
  3. Left Atrium

    • Receives oxygenated blood from lungs
    • Upper left chamber
  4. Right Atrium

    • Receives deoxygenated blood
    • Upper right chamber
  5. Aorta

    • Main artery
    • Distributes oxygenated blood
  6. 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

Similar vizzes