AK51 commited on
Commit
a07febe
·
verified ·
1 Parent(s): 48319af

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +116 -114
README.md CHANGED
@@ -1,114 +1,116 @@
1
- ---
2
- title: Electron Cloud Visualizer
3
- emoji: ⚛️
4
- colorFrom: blue
5
- colorTo: purple
6
- sdk: static
7
- pinned: false
8
- license: mit
9
- ---
10
-
11
- # Electron Cloud Visualizer
12
-
13
- An interactive 3D visualization tool for exploring atomic electron orbitals and electron clouds using quantum mechanics principles.
14
-
15
- ![Electron Cloud Visualizer](main.png)
16
-
17
- ## Features
18
-
19
- - **Interactive 3D Visualization**: Explore electron orbitals in real-time with mouse controls
20
- - **All Elements**: Visualize electron configurations for all 118 elements
21
- - **Individual Orbital Control**: Toggle visibility and customize colors for each orbital (s, p, d, f)
22
- - **Quantum Mechanics Accurate**: Uses real wave functions and CDF sampling for accurate probability distributions
23
- - **Progressive Loading**: Smooth rendering with progressive particle generation
24
- - **Advanced Controls**:
25
- - Particle count adjustment (5,000 - 1,000,000 particles)
26
- - Particle size and opacity controls
27
- - Atom scaling
28
- - Animation with adjustable speed
29
- - Color hue gradient with adjustable intensity
30
- - Multi-axis clipping planes for cross-sectional views
31
- - Coordinate axes display
32
- - Auto-rotation with axis selection
33
- - Individual orbital color customization
34
-
35
- ## Demo
36
-
37
- Open `index.html` in a modern web browser to start exploring electron orbitals.
38
-
39
- ## Usage
40
-
41
- 1. **Select an Element**: Use the "Atomic Number" slider and click "Update Element"
42
- 2. **Choose Orbitals**: Expand orbital shells in the "Orbital Selection" panel to show/hide specific orbitals
43
- 3. **Customize Colors**: Click on color folders to customize individual orbital colors
44
- 4. **Adjust Display**: Modify particle count, size, opacity, and scale in "Display Options"
45
- 5. **Camera Controls**:
46
- - Left mouse: Rotate view
47
- - Right mouse: Pan
48
- - Scroll: Zoom
49
- - Use "Auto Rotate" for automatic rotation
50
-
51
- ## Technical Details
52
-
53
- ### Quantum Mechanics Implementation
54
-
55
- - Uses hydrogen-like wave functions with Z=1 for accurate orbital shapes
56
- - Implements real spherical harmonics for proper orbital orientation
57
- - CDF (Cumulative Distribution Function) sampling for probability-based particle distribution
58
- - Radial probability function: × |R(n,l,r)|²
59
-
60
- ### Technology Stack
61
-
62
- - **Three.js r128**: 3D rendering and visualization
63
- - **lil-gui**: User interface controls
64
- - **Vanilla JavaScript**: No build tools required
65
- - **WebGL**: Hardware-accelerated graphics
66
-
67
- ### Project Structure
68
-
69
- ```
70
- electron-cloud-visualizer/
71
- ├── index.html # Main HTML file
72
- ├── styles.css # Styling
73
- ├── js/
74
- ├── constants.js # Physical and mathematical constants
75
- ├── math-utils.js # Mathematical utilities and spherical harmonics
76
- │ ├── quantum-mechanics.js # Wave function calculations
77
- │ ├── particle-sampler.js # CDF-based particle generation
78
- │ ├── electron-configuration.js # Electron configuration system
79
- │ ├── visualization-renderer.js # Three.js rendering
80
- │ ├── gui-controller.js # User interface controls
81
- │ ├── app-controller.js # Application coordination
82
- ── main.js # Entry point
83
- ── README.md
84
- ```
85
-
86
- ## Browser Compatibility
87
-
88
- Requires a modern browser with WebGL support:
89
- - Chrome 90+
90
- - Firefox 88+
91
- - Safari 14+
92
- - Edge 90+
93
-
94
- ## Performance
95
-
96
- - Default particle count: 100,000
97
- - Maximum particle count: 1,000,000
98
- - GPU acceleration via WebGL
99
- - Progressive loading for smooth user experience
100
- - Optimized for high atomic numbers
101
-
102
- ## Credits
103
-
104
- Created by **Andy Kong**
105
-
106
- ## License
107
-
108
- MIT License - See LICENSE file for details
109
-
110
- ## Acknowledgments
111
-
112
- - Inspired by [Kavan Ghaderpour's Atom Visualizer](https://www.kavang.com/atom)
113
- - Quantum mechanics principles from standard atomic physics textbooks
114
- - Three.js community for excellent 3D rendering library
 
 
 
1
+ ---
2
+ title: Electron Cloud Visualizer
3
+ emoji: ⚛️
4
+ colorFrom: blue
5
+ colorTo: purple
6
+ sdk: static
7
+ pinned: false
8
+ license: mit
9
+ ---
10
+
11
+ # Electron Cloud Visualizer
12
+
13
+ An interactive 3D visualization tool for exploring atomic electron orbitals and electron clouds using quantum mechanics principles.
14
+
15
+ Introduction Video: https://youtu.be/lwqq6FTS6bQ
16
+
17
+ ![Electron Cloud Visualizer](main.png)
18
+
19
+ ## Features
20
+
21
+ - **Interactive 3D Visualization**: Explore electron orbitals in real-time with mouse controls
22
+ - **All Elements**: Visualize electron configurations for all 118 elements
23
+ - **Individual Orbital Control**: Toggle visibility and customize colors for each orbital (s, p, d, f)
24
+ - **Quantum Mechanics Accurate**: Uses real wave functions and CDF sampling for accurate probability distributions
25
+ - **Progressive Loading**: Smooth rendering with progressive particle generation
26
+ - **Advanced Controls**:
27
+ - Particle count adjustment (5,000 - 1,000,000 particles)
28
+ - Particle size and opacity controls
29
+ - Atom scaling
30
+ - Animation with adjustable speed
31
+ - Color hue gradient with adjustable intensity
32
+ - Multi-axis clipping planes for cross-sectional views
33
+ - Coordinate axes display
34
+ - Auto-rotation with axis selection
35
+ - Individual orbital color customization
36
+
37
+ ## Demo
38
+
39
+ Open `index.html` in a modern web browser to start exploring electron orbitals.
40
+
41
+ ## Usage
42
+
43
+ 1. **Select an Element**: Use the "Atomic Number" slider and click "Update Element"
44
+ 2. **Choose Orbitals**: Expand orbital shells in the "Orbital Selection" panel to show/hide specific orbitals
45
+ 3. **Customize Colors**: Click on color folders to customize individual orbital colors
46
+ 4. **Adjust Display**: Modify particle count, size, opacity, and scale in "Display Options"
47
+ 5. **Camera Controls**:
48
+ - Left mouse: Rotate view
49
+ - Right mouse: Pan
50
+ - Scroll: Zoom
51
+ - Use "Auto Rotate" for automatic rotation
52
+
53
+ ## Technical Details
54
+
55
+ ### Quantum Mechanics Implementation
56
+
57
+ - Uses hydrogen-like wave functions with Z=1 for accurate orbital shapes
58
+ - Implements real spherical harmonics for proper orbital orientation
59
+ - CDF (Cumulative Distribution Function) sampling for probability-based particle distribution
60
+ - Radial probability function: r² × |R(n,l,r)|²
61
+
62
+ ### Technology Stack
63
+
64
+ - **Three.js r128**: 3D rendering and visualization
65
+ - **lil-gui**: User interface controls
66
+ - **Vanilla JavaScript**: No build tools required
67
+ - **WebGL**: Hardware-accelerated graphics
68
+
69
+ ### Project Structure
70
+
71
+ ```
72
+ electron-cloud-visualizer/
73
+ ├── index.html # Main HTML file
74
+ ├── styles.css # Styling
75
+ ├── js/
76
+ │ ├── constants.js # Physical and mathematical constants
77
+ │ ├── math-utils.js # Mathematical utilities and spherical harmonics
78
+ │ ├── quantum-mechanics.js # Wave function calculations
79
+ │ ├── particle-sampler.js # CDF-based particle generation
80
+ │ ├── electron-configuration.js # Electron configuration system
81
+ │ ├── visualization-renderer.js # Three.js rendering
82
+ ── gui-controller.js # User interface controls
83
+ │ ├── app-controller.js # Application coordination
84
+ │ └── main.js # Entry point
85
+ └── README.md
86
+ ```
87
+
88
+ ## Browser Compatibility
89
+
90
+ Requires a modern browser with WebGL support:
91
+ - Chrome 90+
92
+ - Firefox 88+
93
+ - Safari 14+
94
+ - Edge 90+
95
+
96
+ ## Performance
97
+
98
+ - Default particle count: 100,000
99
+ - Maximum particle count: 1,000,000
100
+ - GPU acceleration via WebGL
101
+ - Progressive loading for smooth user experience
102
+ - Optimized for high atomic numbers
103
+
104
+ ## Credits
105
+
106
+ Created by **Andy Kong**
107
+
108
+ ## License
109
+
110
+ MIT License - See LICENSE file for details
111
+
112
+ ## Acknowledgments
113
+
114
+ - Inspired by [Kavan Ghaderpour's Atom Visualizer](https://www.kavang.com/atom)
115
+ - Quantum mechanics principles from standard atomic physics textbooks
116
+ - Three.js community for excellent 3D rendering library