MatterPlay — Experiment. Observe. Understand.

Inspiration

I started MatterPlay with a thought that kept coming back to me: what happens when students learn science without really getting to experience it?

As a student in Nigeria, I've become familiar with the routine. You sit in class, copy notes from the board, learn definitions, solve equations and prepare for examinations. You might understand how to answer a question on paper, but that doesn't always mean you understand what's actually happening in the world around you.

I've seen how subjects like Physics can become intimidating, especially when students struggle to connect the formulas they're taught with things they can observe and experiment with. I also know that access to practical learning opportunities is not the same for every student.

I kept thinking about my classmates, younger students and children who are naturally curious but might never get the opportunity to explore science beyond a textbook.

I didn't want to build another website that simply gives students more notes to read. I wanted to build something that makes them want to ask questions.

That's how MatterPlay began.

What is MatterPlay?

MatterPlay is an interactive science playground designed to help students explore scientific concepts through experiments, simulations and conversation.

It currently features three interactive learning environments:

  • Force Lab: Explore forces, motion and collisions by changing variables and observing what happens.
  • Energy Lab: Interact with experiments that make energy concepts easier to explore and understand.
  • Circuit Lab: Discover electrical concepts through interactive circuit activities.

It also includes a Science Tutor, an AI-powered conversational assistant that helps students ask questions, understand scientific concepts and connect explanations to what they're doing in the labs.

I want students to feel comfortable experimenting, making mistakes, trying again and asking questions. Learning shouldn't end when someone gets an answer wrong. Sometimes, that's where the most interesting part begins.

How I built it

I built MatterPlay as a browser-based web application using HTML, CSS and JavaScript. I developed the interactive learning environments and their simulations directly into the application.

For the Science Tutor, I integrated Google's Gemini AI through a Cloudflare Worker. The Worker acts as the connection between the application and the AI service, keeping the API key on the server side rather than exposing it in the website's code.

I wanted the project to be accessible through an ordinary web browser, without requiring students to install complicated software.

Building MatterPlay also meant thinking beyond whether the code worked. I had to consider how a student would navigate the labs, understand an experiment, interact with the controls and receive explanations without feeling overwhelmed.

What I learned

MatterPlay taught me that building an educational tool is about more than making something technically functional.

I learned more about web development, JavaScript, interactive simulations, API integration, server-side secrets and connecting an AI service to a frontend application.

More importantly, I began thinking differently about how people learn. An explanation can be correct and still fail to help someone understand. Sometimes a student needs to see something happen, change a variable, make a prediction or ask the same question in a different way.

I also learned how important it is to test an application in the environment where people will actually use it, rather than assuming that something working in development means it will work everywhere.

Challenges

One of my biggest challenges was bringing the different parts of MatterPlay together into one coherent experience. The experiments needed to be interactive and understandable, while the Science Tutor needed to respond in a way that was relevant to the student's activity.

Connecting Gemini to the application through Cloudflare Workers also required troubleshooting the communication between the frontend and the backend, handling API requests and ensuring that the tutor could respond correctly.

Testing the application introduced another challenge: something that worked in a normal browser did not always behave the same way in an embedded preview environment. I had to investigate the difference rather than assume the application itself was broken.

There is still plenty I want to improve, but working through these challenges taught me to approach problems patiently, test carefully and keep building.

What's next?

MatterPlay is a starting point, not a finished answer to the challenges facing science education.

I want to keep improving its experiments, introduce more scientific concepts, make the learning experience even more engaging and explore ways to make it useful to students with different levels of understanding.

My bigger ambition is to take MatterPlay beyond the people immediately around me and eventually make it available to children in classrooms and communities across Nigeria.

I'm building this because I believe children deserve the opportunity to be curious, to experiment and to discover that science can be genuinely exciting.

I may be one student, but I can start by building something that helps the students around me.

Science shouldn't just be memorised. It should be experienced.

MatterPlay — Experiment. Observe. Understand

Built With

  • ai
  • cloudflare-workers
  • css3
  • edtech
  • educational-technology
  • gemini-ai
  • google-ai
  • html5
  • interactive-learning
  • javascript
  • physics
  • science-education
  • simulation
  • stem-education
  • web-development
Share this project:

Updates

Submission history