anyaachan / Math-Functions-Identification

AI-powered web educational game about mathematical funcitons

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SketchMath ✏️

SketchMath is an AI-powered educational game that helps players learn to draw and understand mathematical functions. It uses neural networks to evaluate drawings and provide real-time feedback, making math learning interactive and fun!

Features 🌟

  • Interactivity: Draw the function and get instant feedback right in the game. The application accepts both touch and mouse events.
  • Game Modes: Eternal, Arcade, and Mentor modes for different learning experiences.
  • Educational Resources: Links to study materials to enhance understanding.
  • Responsive Design: Works smoothly on both desktop and mobile.

Tech Stack 🛠️

  • Frontend: HTML, CSS, JavaScript
  • Backend: Python with Flask
  • AI Model: MobileNet with TensorFlow
  • Data Handling and Generation: Python libraries like Numpy, Matplotlib

Data 📊

The effectiveness of SketchMath's AI model relies on a dataset containing:

  • Generated and Augmented Data: Using Matplotlib, the images of mathematical functions were automatically generated. These images are then augmented through various transformations such as scaling and translating to mimic real-world variations and inaccuracies. Gaussian Filter was used to simulate hand-drawn appearance.

  • Hand-Drawn Data: Hand-drawn drawing images were collected with the help of the game's drawing interface to enhance the model's accuracy.

Screenshots

Title Screen

image

Gameplay Tutorial

image

Choose Gamemode

image

Gameplay (Arcade)

image

About

AI-powered web educational game about mathematical funcitons

License:MIT License


Languages

Language:Jupyter Notebook 82.6%Language:CSS 7.8%Language:JavaScript 5.1%Language:HTML 3.6%Language:Python 1.0%