Logo
Anshul Kanodia
Back to Portfolio

Open Source Contributor – GeoCraft | tenali.fun

Interactive Geometry Workspace under Visual Learning Universe by Vicharanashala Lab, IIT Ropar.

Project Banner

Project Overview

GeoCraft is an interactive geometry workspace integrated into the Tenali Platform's Visual Learning Universe. The module transforms abstract geometry concepts into hands-on visual learning using an SVG-based drawing canvas, real-time coordinate snapping, and mathematical validation algorithms.

Problem Statement

This feature addresses common challenges in learning geometry:

  • Spatial-Abstract Disconnect: Difficulty in understanding abstract mathematical statements without interactive representation.
  • Text Reliance: Traditional learning relies heavily on static text-based explanations and illustrations.
  • Delayed Feedback: Students often experience a lack of immediate verification while executing drawing/solving exercises.

Curriculum Architecture

The module currently supports the following structured learning chapters:

Chapter Topic Learning Focus
1 Points Coordinate mapping and precise point placement
2 Lines Infinite lines and slope alignment
3 Line Segments Fixed-length connectors
4 Rays Directional vectors
5 Angles Measuring and classifying angles
6 Polygons Closed geometric shapes
7 Triangles Triangle construction and classification
8 Quadrilaterals Rectangle, square, and quadrilateral properties

Mathematical Validation

Implemented deterministic geometry validation algorithms to verify user input in real-time, including:

  • Point Proximity Detection: Handles drawing tolerances using distance thresholds.
  • Non-Collinearity Validation: Ensures lines and shapes form correct dimensions.
  • Slope & Parallelism Checks: Verifies parallel/perpendicular lines via coordinate vectors.
  • Angle Measurement: Computes exact dot-product angles based on vector mathematics.
  • Polygon Closure Verification: Confirms boundary integration and intersection loops.

Platform Integration

Routing & Protection

Added the dedicated /geocraft route inside the dashboard. Protected components dynamically using the platform's custom AuthGate middleware.

State & Persistence

Configured progress tracking utilizing localStorage with unique keys (tenali-geometry-completed). Saved user state immediately to persist scores across sessions.

User Experience

  • Particle Animations: Displays rewarding celebration effects immediately upon successful challenge completion.
  • Instant Validation Feedback: Highlights coordinate paths dynamically to guide user activities.

Future Roadmap

Planned enhancements and content catalog expansions include:

  • Story-based interactive challenges
  • Custom drawing tool tutorials
  • Badges & unlocking achievements
  • Circles & radius validations
  • Symmetry & mirroring tools
  • Coordinate Geometry operations