Upload 2 files
Browse files- README.md +61 -9
- index.html +0 -0
README.md
CHANGED
|
@@ -1,13 +1,65 @@
|
|
| 1 |
---
|
| 2 |
-
title: Periodic Table
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
-
sdk:
|
| 7 |
-
sdk_version: 6.30.0
|
| 8 |
-
python_version: '3.12'
|
| 9 |
-
app_file: app.py
|
| 10 |
pinned: false
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Periodic Table Spectrum Viewer
|
| 3 |
+
emoji: 🔬
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: purple
|
| 6 |
+
sdk: static
|
|
|
|
|
|
|
|
|
|
| 7 |
pinned: false
|
| 8 |
+
license: mit
|
| 9 |
---
|
| 10 |
|
| 11 |
+
# Periodic Table Spectrum Viewer
|
| 12 |
+
|
| 13 |
+
An interactive 3D periodic table for school students (Grades 6–10) with student-friendly facts, bonding diagrams and emission spectra for all 118 elements.
|
| 14 |
+
|
| 15 |
+
## Features
|
| 16 |
+
|
| 17 |
+
- **Clickable categories**: click a colour in the legend to show only that family of elements
|
| 18 |
+
- **Student-friendly sidebar**: atomic number, mass number, protons/neutrons/electrons, electron shells, melting and boiling points, radioactivity, uses, common chemicals, interesting facts
|
| 19 |
+
- **Bond diagrams**: ionic, covalent and coordinate covalent bond examples for each element
|
| 20 |
+
|
| 21 |
+
- **3D Interactive Periodic Table**: Explore all 118 elements in a beautiful 3D layout using Three.js
|
| 22 |
+
- **Emission Spectra**: View accurate emission spectra for each element
|
| 23 |
+
- **Detailed Spectrum Viewer**: Click on any spectrum to see an expanded view with:
|
| 24 |
+
- Visible spectrum (380-750nm) with continuous color gradient
|
| 25 |
+
- UV and IR regions for elements with lines outside visible range
|
| 26 |
+
- Electron transition information
|
| 27 |
+
- Wavelength labels and intensity data
|
| 28 |
+
- **Element Information**:
|
| 29 |
+
- Cosmic origin (how the element was created in the universe)
|
| 30 |
+
- Chemistry properties and uses
|
| 31 |
+
- Physics data (electron configuration, isotopes)
|
| 32 |
+
- **Color-Coded Categories**: Elements colored by type (metals, nonmetals, noble gases, etc.)
|
| 33 |
+
- **Hover Effects**: Elements pop forward when you hover over them
|
| 34 |
+
- **Collapsible Info Panel**: Full-height panel with collapsible sections
|
| 35 |
+
|
| 36 |
+
## How to Use
|
| 37 |
+
|
| 38 |
+
1. **Rotate**: Click and drag to rotate the periodic table
|
| 39 |
+
2. **Zoom**: Scroll to zoom in/out
|
| 40 |
+
3. **Select Element**: Click on any element to view its details
|
| 41 |
+
4. **View Detailed Spectrum**: Click on the emission spectrum graph to open a full-width detailed view
|
| 42 |
+
5. **Deselect**: Press ESC or click away to deselect
|
| 43 |
+
|
| 44 |
+
## Data Sources
|
| 45 |
+
|
| 46 |
+
- Spectral data from [NIST Atomic Spectra Database](https://www.nist.gov/pml/atomic-spectra-database)
|
| 47 |
+
- Cosmic origin information based on astrophysics research
|
| 48 |
+
- Chemistry and physics data from scientific databases
|
| 49 |
+
|
| 50 |
+
## Technology
|
| 51 |
+
|
| 52 |
+
- **Three.js**: 3D visualization
|
| 53 |
+
- **Vanilla JavaScript**: No framework dependencies
|
| 54 |
+
- **Canvas API**: Spectrum rendering
|
| 55 |
+
- **CSS3**: Modern styling and animations
|
| 56 |
+
|
| 57 |
+
## Credits
|
| 58 |
+
|
| 59 |
+
Student edition by Nithyasri K (Student).
|
| 60 |
+
|
| 61 |
+
Original Periodic Table Spectrum Viewer created by Andy Kong (MIT License).
|
| 62 |
+
|
| 63 |
+
## License
|
| 64 |
+
|
| 65 |
+
MIT License - Feel free to use and modify for your own projects!
|
index.html
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|