A simple 3D Atom visualization built with Three.js using pure HTML & JavaScript — no Node.js, no build tools, no frameworks.
This project is beginner‑friendly and runs directly in the browser.
Video.12-18-2025.18.40.40.mp4
- You can name the image
preview.pngoratom.gif - Place the image in the same folder as
Atom.html
Open the Atom.html file in your browser to see:
- A central nucleus
- Orbiting electrons
- Multiple orbital planes
- Semi-transparent atom membrane
- Mouse-drag camera rotation
- HTML5
- JavaScript (ES6)
- Three.js (CDN)
- Download or clone the project
- Open Atom.html
- That’s it 🎉
You can simply double‑click the file or right‑click → Open with Browser.
- Mouse Drag → Rotate the camera around the atom
- Resize Window → Scene adjusts automatically
- Central nucleus (protons / neutrons)
- Orbiting electrons with animation
- Three orbital planes (X, Y, Z)
- Semi‑transparent atom shell
- Real‑time 3D rendering
- Manual camera orbit logic
<script src="https://cdn.jsdelivr.net/npm/three@0.150.1/build/three.min.js"></script>This project is designed to help learn:
- Three.js basics
- Scene, camera & renderer
- Geometry & materials
- Animation loop
- 3D math (sin / cos)
- Mouse interaction
- Add
OrbitControls - Add glow / bloom effects
- More realistic electron shells
- Labels for particles
- UI controls (speed, colors)
Oz Web Developer & Mobile App Student
This project is open‑source and free to use for learning purposes.
⭐ If you like this project, give it a star on GitHub!