# Building a Browser-Based 3D Tooth Simulator

> ***Key Highlights:*** *The free 3D Tooth Simulator turns abstract dental advice into concrete visual experience. Watch a cavity eat through enamel in seconds, see why a toothache throbs, and understand what a root canal actually does. No app download, no login, runs in your browser on any device. Built for students, teachers, parents, and anyone who has ever wondered what sugar really does to teeth.*

Most people know sugar damages teeth. Almost nobody has watched it happen. That gap is what drove me to build the 3D Tooth Simulator: a browser-based tool where you cut a tooth open, drag decay from a surface cavity all the way to an abscess, then treat it with a filling or root canal. It runs for free at [VisionVix World](https://visionvix.world/), no sign-up required.

![Laptop displaying VisionVox dental simulator with 3D cross-section of tooth showing decay progression and nerve exposure](https://cdn.hashnode.com/uploads/covers/6a249f3d85227ad88016110a/dc555a37-c2c8-4de6-95a5-f0f55e5eb650.png align="center")

This article walks through what the simulator is, how to use every part of it, the technical details behind it, and what it deliberately leaves out. I built this tool, so this is written by the person who made it. That is also why I say plainly where it simplifies reality.

## **What the 3D Tooth Simulator Is**

The VisionVix World 3D Tooth Simulator is a free interactive model I built as part of the 3D Cell Lab, a collection of nine biology simulators that includes DNA, viruses, blood clotting, skin, bone, nerves, fertilisation and white blood cells.

The tooth simulator sits alongside the [3D Bone Simulator](https://visionvix.com/3d-bone-simulator/), where you can explore fracture healing and osteoporosis.

![Side-by-side comparison of 3D tooth cross-sections showing healthy tooth versus tooth with toothache and decay spreading to pulp](https://cdn.hashnode.com/uploads/covers/6a249f3d85227ad88016110a/bff092fb-9ca8-4d48-b9d2-1cc24d250bce.png align="center")

The core idea: show why a small hole in a tooth matters before it becomes a dental emergency. Enamel is the hardest material in the human body, but it has no living cells. Once decay punches through it, the enamel cannot grow back, and the softer dentine underneath deteriorates much faster.

> *Tooth decay affects about 2 billion people in their permanent teeth, according to the World Health Organization's fact sheet on sugars and dental caries.*

### **Traditional Diagram vs Interactive 3D Model**

| Element | Static Diagram | 3D Simulator |
| :-- | :-- | :-- |
| **Anatomy** | Labels on a flat drawing | Enamel, dentine, pulp, nerve, gum and bone you can rotate and isolate |
| **Decay progression** | One snapshot of a hole | Five stages on one slider: healthy, enamel cavity, into the dentine, toothache, abscess |
| **Treatment** | A paragraph of explanation | A filling and a root canal applied to the same tooth in real time |
| **Daily habits** | Not shown | Sugar every day vs brushing with fluoride, animated over three simulated years |
| **Pain mechanism** | Not shown | Why cold hurts and why a toothache throbs, explained with animation |

## **How to Use the 3D Tooth Simulator: 10-Step Walkthrough**

### **1\. Open the VisionVix World Platform and Choose Your Simulator**

![Futuristic space station interior with large Earth globe on pedestal, curved windows showing snowy mountains, and holographic displays](https://cdn.hashnode.com/uploads/covers/6a249f3d85227ad88016110a/7aef53a6-6187-4cd8-b45f-b4c622534ea4.png align="center")

Go to visionvix.world and press **Open Simulators**, or scroll down to **Choose Your 3D World**. That page lists every simulator that is ready, each with an **Enter Simulator** button. The platform hosts nine biology simulators, and the tooth is one of the most requested since launch.

![Educational science simulator interface showing 3D anatomical models including cell biology, human body, lion, dinosaur, plant, insect, Earth globe, and molecule in futuristic laboratory setting](https://cdn.hashnode.com/uploads/covers/6a249f3d85227ad88016110a/351ac6f9-f96e-43a5-8e7f-7b0f5d206d49.png align="center")

![DNA helix, pink virus particle, and cross-section of a tooth showing internal layers displayed in a futuristic laboratory setting](https://cdn.hashnode.com/uploads/covers/6a249f3d85227ad88016110a/3c553749-6809-4942-ab5f-5552d5b6ec3b.png align="center")

### **2\. Enter the 3D Cell Lab and Select Tooth**

The Cell Lab page shows all nine simulators. Press **Open simulator** on Open [the tooth simulator](https://visionvix.world/worlds/tooth/). Once inside, the bar at the top lets you jump to any other Cell Lab simulator without going back to the homepage. This matters if you are teaching a lesson that spans multiple systems, like tooth decay and then bone healing.

![Grid of six 3D biological simulators in a futuristic blue laboratory, showing DNA helix, virus, blood cells, skin layers, tooth cross-section, and bone interior](https://cdn.hashnode.com/uploads/covers/6a249f3d85227ad88016110a/921b9017-0383-41c0-9789-5e19478e7598.png align="center")

### **3\. Explore a Healthy Tooth**

You start with a tooth cut open in the jaw. The white enamel caps the crown. The yellow dentine makes up the bulk of the structure. The soft pink pulp in the middle holds the nerve and blood vessels. Around the root sit the gum, the periodontal ligament and the jaw bone.

Under **Find a Part**, tap a name to highlight it in the 3D model. Under **Show**, toggle the enamel, gum or bone on and off to see the layers underneath. Drag anywhere to rotate the view. Scroll or pinch to zoom in and out.

![Cross-section of a tooth showing decay progression through white enamel, yellow dentine, and red pulp chamber with nerve tissue](https://cdn.hashnode.com/uploads/covers/6a249f3d85227ad88016110a/460cabe8-1126-4f84-a9b4-3a1ae4ccf60d.png align="center")

### **4\. Slide the Decay Through the Enamel and Into the Dentine**

Drag the **Decay** slider or tap a stage under **How Decay Grows**. In **Enamel cavity**, bacteria turn sugar into acid that dissolves the enamel: no pain yet, and an easy filling. In **Into the dentine**, the softer layer lets decay spread faster, and hot, cold and sweet start to hurt.

![Side-by-side comparison showing interactive 3D tooth cross-section model in light and dark modes with decay progression controls](https://cdn.hashnode.com/uploads/covers/6a249f3d85227ad88016110a/368aa944-641b-488a-a23c-c4f4c8aaa957.png align="center")

### **5\. Watch the Decay Reach the Nerve and Form an Abscess**

At the **Toothache** stage, bacteria reach the pulp. The pulp swells from infection, but it sits inside a hard shell of dentine and enamel with nowhere to expand. That pressure makes the nerve fire constantly, which is why a toothache is a steady, throbbing pain rather than a sharp jab.

*A toothache is caused by pulp swelling inside a rigid tooth structure with no room to expand, forcing the nerve to fire continuously.*

Move the slider to **Abscess**, and the pulp has died. The infection pushes out through the root tip into the jaw bone, forming a pocket of pus. The tooth is now a source of infection, and without treatment the abscess can spread to surrounding tissues.

![Side-by-side screenshots of interactive 3D tooth cross-section showing decay progression with dental anatomy labels and navigation menus](https://cdn.hashnode.com/uploads/covers/6a249f3d85227ad88016110a/0378a324-bf68-48fc-a481-c164ef95a2c8.png align="center")

### **6\. Apply the Treatment That Matches the Stage**

Under **Decay and Treatment**, the blue button changes label depending on the stage. For a cavity in the enamel or dentine, it says **Fill the cavity**. Click it, and the simulator shows the decay being drilled out and the hole filled with a white composite material. The tooth stays alive.

Once the pulp is infected, the button says **Do a root canal**. The simulator removes the pulp, cleans the canal, seals it and places a crown. The tooth survives without its nerve. It can still crack, so it needs careful monitoring, but it stays in the jaw and functions normally.

![Split-screen comparison of an interactive 3D tooth cross-section simulator showing decay progression with educational sidebar menus](https://cdn.hashnode.com/uploads/covers/6a249f3d85227ad88016110a/6043ca78-3f9d-413e-afe2-1900ebadb05d.png align="center")

### **7\. Try Sugar Every Day and Brushing With Fluoride**

Open **More to Try** (on a phone, tap **More** in the bottom bar). **Sugar every day** plays three years in a few seconds: plaque builds up, its acid eats the tooth and the decay grows from week 1 to year 3. **Brush with fluoride** shows plaque building up and a brush clearing it before it can make a hole. **Get a filling** plays a small cavity being filled.

![Side-by-side comparison of 3D tooth cross-sections showing decay progression and treatment options with fluoride brushing](https://cdn.hashnode.com/uploads/covers/6a249f3d85227ad88016110a/08125162-a9df-4c14-8666-b3b5688c373b.png align="center")

### **8\. Feel the Cold and See Gum Disease**

**Sensitive to cold** shows why an ice-cold drink hurts a worn tooth. The enamel has thinned or the gum has receded, exposing dentine. Cold travels down the fluid-filled tubes in the dentine to the nerve, which registers it as sharp pain. This is different from cavity pain, which aches rather than stabs.

**Gum disease** shows plaque sitting at the gum line. The gum turns red and swollen. The ligament starts to detach from the tooth. If left untreated, the bone recedes and the tooth loosens. This is periodontitis, the leading cause of adult tooth loss.

![Side-by-side comparison showing cross-section of tooth with cavity decay progression and gum disease effects in 3D simulator interface](https://cdn.hashnode.com/uploads/covers/6a249f3d85227ad88016110a/a4662c3c-adbc-4541-b755-64fbde6c6581.png align="center")

### **9\. Take the Guided Tour and the Quiz**

- Guided Tour: Automatically shows the full process, from a healthy tooth to an abscess and treatment, pausing at each stage with short explanations. It's ideal for classroom presentations and beginners.
- Quiz Me: Tests your knowledge with three questions about tooth anatomy, toothaches, and root canals. After each answer, it highlights the relevant part and explains the correct answer.

![Split-screen comparison showing an interactive 3D tooth cross-section model with decay progression and educational sidebar menus](https://cdn.hashnode.com/uploads/covers/6a249f3d85227ad88016110a/7551dd7d-c1c2-4ecd-82d4-fe2386c5c8ef.png align="center")

### **10\. Switch Between Dark and White Display Modes**

The button at the top right switches between a dark background and a bright white one. The dark mode suits individual study and reduces eye strain during long sessions. The white mode suits classrooms with projectors, where a bright background improves visibility from the back of the room.

![Cross-section of tooth showing layers of enamel, dentine, pulp with nerve, and gum tissue with bacteria particles in bone structure](https://cdn.hashnode.com/uploads/covers/6a249f3d85227ad88016110a/0ba4e48c-8117-4adf-a5dd-6f6335944d34.png align="center")

## **Who the 3D Tooth Simulator Is For**

- Students: Review tooth anatomy and test their knowledge before exams.
- Teachers: Demonstrate how sugar causes decay and why brushing matters.
- Parents: Help children understand dental procedures and feel less nervous.
- Patients: Learn how fillings and root canals work.
- Curious learners: Explore how sugar damages enamel and causes tooth decay.

The simulator is an educational tool, not a replacement for dental advice. It helps people understand tooth problems through interactive 3D visuals rather than text alone.

## **How the Simulator Is Built**

### **Technical Stack and 3D Rendering**

The simulator uses Three.js and WebGL to display 3D models in a browser. Models were created in Blender, while JavaScript controls animations and interactions.

### **Why a Browser-Based Simulator?**

It works without an app download and can be updated quickly. It is also designed to run smoothly on older phones.

### **Simplifications and Limitations**

The simulator uses a simplified single-rooted tooth to make learning easier. It shows common decay stages but excludes complex cases like cracked teeth, secondary decay, and gum-line cavities.

> *The tooth is approximately 21 mm long with enamel up to 2.5 mm thick, shown in the readouts at the bottom of the screen.*

## **Try the Simulator Now**

The **3D Tooth Simulator** is available at visionvix.world. You can explore it on your phone, tablet, or computer by rotating the tooth, testing decay stages, and watching filling, root canal, and brushing animations.

It is useful for students, teachers, and anyone curious about dental health. You can also explore eight other simulators in the 3D Cell Lab, covering DNA, viruses, blood clotting, skin, bones, nerves, fertilisation, and white blood cells.

The simulator is educational, not medical advice, and does not replace a dentist visit. Its goal is to help you understand what happens inside the body through interactive 3D models.

If you want to show it on [my YouTube channel](https://www.youtube.com/@julianneaguprojects), I post walkthroughs and updates there, so subscribe if you are interested in how I built it and what comes next.
