Inspiration

Physics is one of the most important gateways into STEM careers, yet many students find it inaccessible because they struggle to connect word problems to mathematical models and then to visual intuition. We wanted to break this barrier by creating a tool that can take a plain-language physics problem, solve it step-by-step, and show the result in motion. The vision is to make learning physics as easy as asking a question and watching the answer unfold visually.


What We Built

Algophys is a Python-based interactive physics solver and visualizer that:

  1. Understands physics questions written in natural language.
  2. Extracts parameters and equations from the text using an NLP model.
  3. Solves them with SymPy for symbolic math and NumPy/SciPy for numerical computation.
  4. Animates the scenario using Matplotlib or Pygame to make the motion tangible.

It currently handles:

  • Projectile motion (with or without drag)
  • Inclined planes with friction
  • Uniform circular motion
  • Basic Newtonian multi-body systems

How We Built It

  • Natural Language Processing: spaCy + transformer-based model for entity and unit extraction.
  • Equation Solving: SymPy for algebraic manipulation, NumPy/SciPy for simulations.
  • Visualization: Matplotlib (2D) and optional PyOpenGL for interactive 3D.
  • Backend Logic: Modular Python classes for problem parsing, solving, and rendering.

What We Learned

  • Integrating NLP with symbolic math pipelines.
  • Designing animations that enhance conceptual understanding.
  • Managing floating-point precision in physics simulations.
  • Making a technical STEM tool accessible for beginners.

Challenges We Faced

  • Parsing vague or incomplete natural language and inferring missing parameters.
  • Ensuring simulations run in real time without stuttering.
  • Keeping educational clarity while supporting varied problem types.
  • Handling units and conversions seamlessly across different systems.

Algophys directly supports the "Education for All" and "Mental Health & Wellness" pillars of Social Good. By making physics accessible and engaging for diverse learners, it helps bridge educational gaps and reduce anxiety around STEM subjects. The instant visual feedback and stepwise explanations empower students from all backgrounds to build intuition and confidence, promoting equity in science education and fostering a more hopeful, connected learning environment.

Built With

Share this project:

Updates