All Projects
Mid-Core / System Productivity

G-Calc

Web Utility

01 — Project Overview

G-Calc is a sleek, modern calculator web app that combines striking visual design with flawless arithmetic evaluation.

Frontend Engineer

Stack

ViteTypeScriptReactCSS

02 — The Problem

Goal

To build a web-based calculator that feels exactly like a premium native mobile application.

User Issue

Most web calculators suffer from poor mobile responsiveness, awkward tap targets, and clunky aesthetics.

03 — The Process

01

Mobile-First Layout

Implemented dynamic CSS transforms and viewport units to perfectly scale across all device sizes.

02

Glassmorphism UI

Utilized backdrop-filter blurring and semi-transparent layers for a deeply modern aesthetic.

Key Challenge

Handling complex edge cases in continuous mathematical operations (e.g., chained operators, floating point precision).

snippet
const evaluateExpression = (expr: string): number => { /* Safe parsing logic */ };

04 — The Solution

Developed a robust state machine to manage inputs, combined with a sanitized evaluation engine to process mathematical strings securely.

G-Calc Mobile Interface showing glassmorphism

05 — Results & Learnings

Impact

Delivered a highly polished, interactive utility that perfectly scales from ultra-wide monitors down to the smallest smartphone screens.

Learnings

CSS scale transforms are highly effective for maintaining strict aspect ratios across wildly differing viewports.

What I'd do differently

Integrate scientific functions and a history log.