Project done by Prodhosh VS
๐ Interactive CGPA calculator for IIT Madras students with real-time analytics & modern animations
|
โ Challenge
|
โ Solution
|
๐ข Mathematical Formula
// IITM Official Formula
Assignment_Score = (ฮฃ assignments / 10) ร 0.1
Method_1 = (Final ร 0.6) + (max(Quiz1,Quiz2) ร 0.2)
Method_2 = (Final ร 0.4) + (Quiz1 ร 0.2) + (Quiz2 ร 0.3)
Total = Assignment_Score + max(Method_1, Method_2)
CGPA = ฮฃ(Grade_Points ร Credits) / ฮฃ(Credits)๐๏ธ Grade Scale
| ๐ Score | ๐ Grade | ๐ Points | ๐ Score | ๐ Grade | ๐ Points |
|---|---|---|---|---|---|
| 90-100 | S | 10 | 50-59 | D | 6 |
| 80-89 | A | 9 | 40-49 | E | 5 |
| 70-79 | B | 8 | 0-39 | F | 0 |
| 60-69 | C | 7 |
๐ Floating particle animations ๐ฑ Mobile-first responsive design
๐ฏ Real-time grade calculations ๐จ Gradient backgrounds & glassmorphism
โก Smooth micro-interactions ๐ Color-coded grade system
๐ Interactive progress bars ๐ Loading animations & transitions
๐ช Hover effects & transforms ๐ซ CSS Grid & Flexbox layouts
๐ง Dynamic weightage selection ๐๏ธ Performance-optimized algorithms
๐ก๏ธ Input validation & sanitization ๐ญ Event-driven architecture
๐ Real-time analytics dashboard ๐ง Modular JavaScript ES6+
โฟ WCAG 2.1 accessibility ๐พ Memory-efficient data structures
๐ฏ Cross-browser compatibility ๐ Mathematical precision algorithms
๐ช Modern CSS (Grid/Flexbox) ๐จ Hardware-accelerated animations
๐ Async/await operations ๐ฏ Debounced input handling
๐ฆ Component-based structure ๐ Optimized rendering pipeline
๐งฉ Factory & Observer patterns โก Lazy loading implementations
# ๐ฅ One-click setup
git clone https://github.com/PRODHOSH/iitm-cgpa-calculator.git
cd iitm-cgpa-calculator && open index.html
# ๐ Local server (recommended)
python -m http.server 8000 # ๐ Python
npx http-server # ๐ฆ Node.js
php -S localhost:8000 # ๐ PHP// ๐ Add course with assignments
Course: "Mathematics I" | Credits: 4
Assignments: [85,90,78,92,88,85,90,87,89,91]
Quiz1: 85 | Quiz2: 90 | Final: 88
Result: Grade A (9 points) โจ| ๐ฏ Metric | ๐ Value | ๐ Browser | โ Status |
|---|---|---|---|
| โก Load Time | < 2s | ๐ข Chrome 90+ | โ Full |
| ๐งฎ Calc Speed | < 50ms | ๐ Firefox 88+ | โ Full |
| ๐ฆ Bundle Size | ~15KB | ๐ต Safari 14+ | โ Full |
| ๐พ Memory | < 10MB | ๐ฃ Edge 90+ | โ Full |
|
|
git checkout -b feature/โจNewFeature
git commit -m "โจ Add: NewFeature"
git push origin feature/โจNewFeature