Skip to content
Chemlab

Chemlab

understand chemistry experiments 100x better

Created on 1st February 2026

•

Chemlab

Chemlab

understand chemistry experiments 100x better

The problem Chemlab solves

🧪 The Problem it Solves
For decades, chemistry education in schools and universities—especially for competitive exams like JEE and NEET—has suffered from a major disconnect: Students are forced to memorize reactions they never get to see.

Chemistry is often reduced to "rote learning" abstract equations from textbooks. Students memorize that Phenolphthalein turns pink in a base, but they rarely get the chance to pour the chemicals and witness the transformation themselves due to safety concerns, lack of lab equipment, or limited school resources.  

🚀 How We Change the Game
Our project bridges the gap between Abstract Theory and Practical Application by providing an infinite, AI-powered virtual playground.

🚫 Eliminates Rote Memorization: Instead of memorizing HCl + NaOH -> NaCl + H2O, students can physically mix the flasks in a 3D environment. They see the color change, watch the bubbles form, and read the AI-generated explanation instantly. This builds visual memory, which is far superior to text memorization.

⚗️ Safety Without Limits: "What happens if I mix Potassium with Water?" In a physical lab, this is dangerous and forbidden. In our simulation, students can safely experiment with volatile, expensive, or rare chemicals without any risk of explosion, injury, or waste.  

🧠 "Infinite" Scenarios via AI: Traditional educational software only supports a few hard-coded reactions. Because we use Generative AI (Gemma), our lab is "infinite." Students can try weird, unexpected, or complex combinations that the developers never explicitly programmed, and the AI will deduce the scientific outcome dynamically.

💰 Democratizing Access: High-end chemistry labs are expensive. This tool brings a university-grade experimental experience to any student with a laptop, making high-quality STEM education accessible to everyone, regardless of their institution's funding.

Challenges we ran into

🚧 Challenges We Ran Into

  1. The "GTA 6" Liquid Physics (Godot Shaders)
    The biggest hurdle was creating a realistic, viscous liquid that sloshes inside the flask. We didn't want a static color; we wanted the liquid to wobble and settle like real water.

The Problem: Godot's shading language is powerful but complex. We had to calculate Vertex Displacement to simulate the "wave" motion without altering the actual mesh geometry. We also needed a way to render the "top" surface of the liquid dynamically, even though the mesh is hollow.

The Solution: We used a Backface Rendering trick. By disabling face culling, we programmed the shader to render the inside of the flask as the flat "surface" of the liquid using smoothstep math. We used Google Gemini to help derive the matrix rotation formulas (rotate_x, rotate_z) for the wobble effect, saving us hours of linear algebra debugging.

  1. "Speedrunning" 3D Modeling (Blender)
    We realized early on that generic assets wouldn't fit our custom chemistry glassware.

The Problem: We had zero prior experience with 3D modeling.

The Solution: We had to learn Blender from scratch in the middle of the hackathon. We watched tutorials at 2x speed to learn UV unwrapping and mesh beveling, creating custom Erlenmeyer flasks that perfectly matched our shader's requirements.

  1. The Integration Nightmare
    Connecting a local AI (Ollama), a custom SQL database, and a high-fidelity 3D engine in under 24 hours was intense.

The Problem: Latency. The AI was smart but slow (2-3 seconds per reaction).

The Solution: We built a Hybrid Caching System. We implemented a local SQLite database that "memorizes" every AI output. Now, the first time you mix chemicals, it takes 2 seconds; the second time, it's instant (0ms). This turned a sluggish simulation into a snappy, responsive game.

Tracks Applied (3)

Open Track

Fresher's Track

I'm fresher hehe

Agentic AI / ML

🤖 AI/ML Implementation For the AI/ML Track, we built a dynamic, infinite chemistry engine that moves beyond hardcoded g...Read More

Discussion

Builders also viewed

See more projects on Devfolio