An interactive Flask web application that displays 3D animated molecular structures of organic compounds from the CBSE Class 12 chemistry syllabus.
- Interactive 3D Visualization: View molecules in 3D with realistic bond angles and lengths
- Animation Controls: Start/stop rotation, zoom, pan, and reset views
- Multiple Display Styles: Stick model, ball & stick, and space-filling representations
- Comprehensive Database: All important organic compounds from CBSE Class 12 syllabus
- Responsive Design: Works on desktop, tablet, and mobile devices
- Educational Information: Molecular formulas, categories, and descriptions
- Methanol, Ethanol, Propanol, Isopropanol, Butanol, Phenol
- Formaldehyde, Acetaldehyde, Benzaldehyde
- Acetone, Butanone (MEK)
- Formic Acid, Acetic Acid, Benzoic Acid
- Methyl Acetate, Ethyl Acetate
- Methylamine, Dimethylamine, Aniline
- Alkanes: Methane, Ethane, Propane, Butane
- Alkenes: Ethene, Propene
- Alkynes: Ethyne
- Aromatic: Benzene, Toluene, Naphthalene
- Diethyl Ether
- Chloromethane, Chloroform
-
Clone or download the application:
cd organic_chemistry_app -
Install Python dependencies:
pip install -r requirements.txt
-
Run the application:
python app.py
-
Open your browser and navigate to:
http://localhost:5000
- Browse Compounds: The home page displays all compounds organized by category
- View 3D Structure: Click on any compound to see its 3D molecular structure
- Interact with Molecules:
- Rotate: Click and drag with mouse
- Zoom: Use mouse wheel
- Pan: Right-click and drag
- Control Animation: Use the control panel to start/stop rotation
- Change Display Style: Switch between stick, ball & stick, and space-filling models
- Toggle Labels: Show/hide atom labels for better understanding
- Flask: Web framework
- RDKit: Molecular structure generation and manipulation
- Python 3.9+: Required for RDKit compatibility
- 3Dmol.js: 3D molecular visualization library
- Bootstrap 5: Responsive UI framework
- JavaScript: Interactive controls and animations
- SMILES Notation: Used to represent molecular structures
- 3D Coordinates: Generated using RDKit's embedding algorithms
- Force Field Optimization: MMFF (Merck Molecular Force Field) for realistic geometries
- Visual Learning: See molecular shapes and bond arrangements in 3D
- Interactive Exploration: Rotate and examine molecules from all angles
- Comparative Study: Compare different functional groups and their structures
- CBSE Aligned: Covers all organic compounds in the Class 12 syllabus
- Chrome 60+
- Firefox 55+
- Safari 12+
- Edge 79+
-
RDKit Installation Error:
- Ensure you have Python 3.9 or higher
- Try:
conda install -c conda-forge rdkitif using Anaconda
-
3D Viewer Not Loading:
- Check browser console for JavaScript errors
- Ensure internet connection for 3Dmol.js CDN
-
Slow Performance:
- Close other browser tabs
- Try a different browser
- Reduce animation speed in controls
Feel free to contribute by:
- Adding more compounds
- Improving the UI/UX
- Adding educational content
- Fixing bugs or performance issues
This project is created for educational purposes and is free to use for CBSE Class 12 chemistry education.
- RDKit: Open-source cheminformatics toolkit
- 3Dmol.js: WebGL-based 3D molecular visualization
- Bootstrap: Frontend framework
- CBSE: Curriculum reference for compound selection