Skip to content
Visual Tutor

Visual Tutor

Visual Tutor – Because learning should never feel impossible.

Created on 27th April 2025

•

Visual Tutor

Visual Tutor

Visual Tutor – Because learning should never feel impossible.

The problem Visual Tutor solves

Most students start learning with confusing textbooks, abstract jargon, and teachers who can't adapt.
They quickly feel overwhelmed and give up, not from lack of potential—but from lack of the right tools.

🎯 What It's For

Visual Tutor helps students truly understand by offering:

  • 🧠 Mind Maps to visualize concepts and their connections.
  • 💬 Tanya, an AI tutor who explains and answers like a real mentor.
  • 🔄 Interactive Visualizations to explore and interact with abstract ideas.

💡 Why It’s Better

  • Cuts confusion with visual, structured learning
  • Adapts to students with real-time, personalized help
  • Every revisit shows a new visualization—fresh, dynamic learning every time

Challenges we ran into

  • API Integration & Async Handling: Managing multiple asynchronous API calls (Groq, Gemini), handling loading states and preventing duplicate requests while loading. Securely managing API keys using environment variables.
  • State Management Complexity: Passing state and callbacks between parent and child components effectively. Ensuring component re-renders happen correctly when needed (e.g., after API calls, theme changes).
  • Cross-Component Interaction: Coordinating actions like clicking a mind map node to visualization generation, and disabling the mind map simultaneously.
  • External Library Integration: Learning and configuring React Flow, Marked, (especially troubleshooting loading and rendering timing), and Framer Motion. Debugging issues that might originate within these libraries.
  • Iframe Challenges: Working with iframe, srcDoc, understanding sandbox security attributes, and implementing workarounds like CSS injection for styling/layout control of the generated content.
  • Prompt Engineering: Crafting precise system prompts for LLMs to ensure desired output formats (structured JSON for maps, self-contained HTML for visualizations, specific tone/formatting for chat) and adapting them based on results.
  • CSS & Styling: Implementing the dual-theming system using CSS variables, achieving the glassmorphism effect, ensuring layout consistency (like matching card heights), and handling responsive design potentially.
  • Session Management: Using sessionStorage correctly with React Router to enforce the landing page flow on initial visits per session.
  • Integrating the Groq chatbot: Chatbot required resolving conflicts between Markdown parsing and rendering while managing dynamic activation and SDK initialization within the React component lifecycle.

Tracks Applied (1)

Groq track

Project Fit for Groq Track: This project centrally leverages the Groq API and its underlying LPU Inference Engine to po...Read More
Groq

Groq

Discussion

Builders also viewed

See more projects on Devfolio