The Interactive Periodic Table Viewer is a Python application that provides a fun and educational experience for users to explore the periodic table. It is designed to help students, educators, and anyone interested in chemistry to learn about the elements interactively. The application presents a colorful, properly arranged periodic table and dynamically visualizes the atomic structure of each element.
- Interactive Table: Click on any element to view its detailed properties.
- Electron Configuration Visualization: Display the atom's nucleus and shells with revolving electrons.
- Color-Coded Categories: Elements are categorized and color-coded for easy identification (e.g., noble gases, transition metals).
- Educational Tooltips: Learn about elements' atomic number, category, and electron configuration.
- Programming Language: Python
- GUI Framework: Tkinter
- Math Library: For rendering electron orbits around the nucleus.
- Python 3.6 or later installed.
- Basic knowledge of running Python scripts.
- Clone this repository to your local machine:
git clone https://github.com/codingwithnsh/InteractivePeriodicTable.git cd main - Install dependencies:
pip install tkinter
Follow these steps to use the Interactive Periodic Table Viewer:
-
Run the Application:
- Execute the Python script to open the interactive periodic table:
python maine.py
- Execute the Python script to open the interactive periodic table:
-
Explore the Periodic Table:
- A colorful periodic table will appear on the screen.
- Click on any element to reveal its details, including:
- Name and symbol
- Atomic number
- Element category (e.g., noble gas, alkali metal)
- Electron configuration
-
Visualize Atomic Structure:
- When clicking on an element, a visualization of its nucleus and electron shells will appear on the right side of the window.
- The electrons revolve dynamically around the nucleus.
-
Learn Through Categories:
- Elements are color-coded based on their categories:
- Nonmetals: Light Blue
- Noble Gases: Gold
- Alkali Metals: Orange
- Alkaline Earth Metals: Lime Green
- Transition Metals: Tomato Red
- Lanthanides and Actinides: Pink and Brown
- Metalloids and Post-Transition Metals: Purple and Sky Blue
- Elements are color-coded based on their categories:
-
Close the Application:
- When you're done exploring, simply close the application window.
- Fork this repository.
- Create a new branch with your feature or bug fix:
git checkout -b feature-name
- Commit your changes and push them to your forked repository.
- Submit a pull request to the main branch.
This project is licensed under the MIT License. See the LICENSE file for more details.