Skip to main content
Back to Projects

Web Development

DoodleTrace

Trace Your Way to Amazing!

DoodleTrace screenshot

Overview

A fun, interactive tracing app designed for kids to practice writing letters and numbers. Trace over dashed guides with your finger or mouse to build handwriting skills.

Key Features

  • High-fidelity HTML5 Canvas drawing with Device Pixel Ratio handling for crisp strokes on all screens
  • Comprehensive mobile-first responsive design with three distinct layouts for portrait, landscape, and desktop
  • Intuitive looping navigation across three practice modes (ABC, abc, 123) with automatic mode switching
  • Child-friendly visual design with Comic Neue font, vibrant accessible colors, and SVG dashed letter guides
  • Robust error handling with React ErrorBoundary for graceful failure recovery

Challenges & Solutions

The project addressed several technical challenges including canvas coordinate mapping across different device pixel ratios with dual-coordinate systems, preserving canvas content during responsive resizing using data URL serialization, unified touch and mouse event handling with polymorphic detection, landscape mode layout adaptation for limited vertical space, maintaining 1:1 aspect ratio for canvas while remaining responsive, implementing imperative canvas operations (clear, save) within React's declarative model using useImperativeHandle, and preventing unwanted scroll behavior on touch devices with touch-action CSS and preventDefault.

Tech Stack

React 19TypeScriptViteLucide ReactFirebaseESLint

Project Type

Web Development