Inspiration

The inspiration behind Motion Magic stemmed from the challenge of making classical physics more approachable and engaging for students. Often, students struggle with understanding the setup of physics problems and how to solve them efficiently. Our goal was to build an AI-driven tool that not only helps students visualize complex physics problems but also assists in solving them step-by-step. By combining an AI-powered scene generator with an agentic problem solver, we aimed to create a seamless experience where users can input a problem and get both the visual representation and the solution in real-time.

What it does

Motion Magic is an AI-powered physics simulator and problem solver by byteMancer. It has two core components:

  1. Scene Generator AI: Users can input physics problems in text form, and the scene generator creates a 2D visual representation of the problem. The generated scene includes all necessary objects like projectiles, inclined planes, and forces, all placed in the correct positions.

  2. Problem Solver AI: Once the scene is set up, the problem solver AI takes over, providing step-by-step solutions to the problem, helping students understand the process rather than just the answer.

The entire process is powered by agentic AI, which means that the AI autonomously handles both the visual setup and the analytical solution, acting as a tutor that adapts to the needs of the student.

How we built it

We built Motion Magic using a combination of cutting-edge tools and platforms:

  • AI Models: We used Google’s Gemini models for both the scene generator and problem solver, leveraging their large context windows for processing complex prompts.
  • Angular Framework: The front-end was developed using Angular, providing a smooth and responsive user experience.
  • Firebase: For real-time data storage and hosting, we utilized Firebase, ensuring scalability and fast response times for the AI models.
  • Rapier 2D: We integrated Rapier 2D for the physics simulation engine, ensuring accurate real-time rendering of the physics problems.
  • Fabric.js: Used for rendering and manipulating scene objects in the simulator, allowing for interactive adjustments and real-time feedback.

Accomplishments that we're proud of

We’re particularly proud of:

  • Seamless Integration of AI: Successfully combining both the scene generator and problem solver AIs into a single workflow where users can input a problem and get both a visual setup and the solution.
  • Real-time Processing: Motion Magic can generate scenes and solve physics problems in real-time, making it a powerful tool for students who need quick assistance.
  • User Empowerment: With this tool, students can gain a deeper understanding of physics concepts by interacting with the AI, visually seeing problems unfold, and learning how to approach solutions step-by-step.

What's next for Motion Magic: Agentic AI Physics Solver

Moving forward, we plan to:

  1. Expand to More Complex Problems: Currently, Motion Magic handles classical mechanics problems, but we plan to extend support to electromagnetism, fluid dynamics, and other branches of physics.

  2. Collaborative Features: We are working on adding collaborative features where multiple users can work together on a physics problem in real-time, similar to Google Docs but for physics simulations.

  3. Enhanced AI Models: We aim to optimize our use of AI to provide more detailed explanations and solutions, potentially integrating voice-based assistants to guide students through problems.

  4. Mobile Support: Although Motion Magic currently works on desktop and tablets, we aim to bring full mobile support to make the tool more accessible to students on the go.

Built With

Share this project:

Updates