Hamster Vision: Which Hamster Are You Today?

Hamster Vision: Which Hamster Are You Today?

Hamster Vision: Which Hamster Are You Today?

A playful web app that uses real-time facial emotion detection to match users with hamster memes.

Role

UI/UX Design, Frontend Developer

Industry

Entertainment; Pop Culture-Themed Website

Duration

2 months

Context

2 months

Overview

Hamster Vision is an interactive web application that leverages real-time emotion detection to map user facial expressions to corresponding hamster memes. Built as a Winter 2026 WIC project, the app utilizes MediaPipe’s FaceLandmarker API for browser-based facial analysis. As the Frontend Developer, I was responsible for the project’s visual personality and technical consistency, implementing a dynamic theme system that ensures a seamless experience across Day, Night, and Pink modes while maintaining responsive UI integrity.

Technical Implementation: The Theme System

My primary technical contribution was the architecture of the "Hamster Vision" theme engine. I developed a toggle-based theme selector that allows users to switch between three distinct visual aesthetics—Day, Night, and Pink—while integrating localStorage to ensure user preferences persist across sessions. To enhance the initial user experience, I implemented automatic system-level theme detection, ensuring the app aligns with the user's OS preference upon the first load. This project marked my transition into "Vibe Coding," where I leveraged HTML and CSS mastery to bridge the gap between AI-generated concepts and a production-ready frontend.

Development Workflow & GitHub Mastery

  • Version Control Evolution: I mastered the Git workflow, transitioning from frequent, fragmented pull requests to a structured branch management strategy, ensuring that the main codebase remained stable during rapid feature iterations.

  • Component-Based Styling: I utilized a modular CSS approach to handle the pixel-art aesthetic, ensuring that animated backgrounds and theme-specific assets remained performant while running real-time webcam processes in the browser.

  • Cross-Platform Optimization: I conducted rigorous testing to address rendering discrepancies between Windows and macOS, specifically focusing on how CSS flexbox and absolute positioning affected the alignment of interactive UI elements like the theme toggle.

a cellphone leaning against a wall
a cell phone on a rock
a cell phone on a rock

The "Last Mile" of UI: The Toggle Challenge

One of the most challenging aspects of this project was a subtle but frustrating UI alignment issue. I spent significant time trying to center the white toggle circle perfectly under the theme icons. Despite multiple attempts using AI tools and various CSS properties, the rendering remained inconsistent on my screen. This technical hurdle became the catalyst for a major breakthrough in my professional growth: I realized that fine-tuning UI for diverse environments often requires "fresh eyes" and collaborative debugging, leading me to reach out to my teammates to investigate potential OS-specific rendering behaviors.

Collaboration & Communication

  • Overcoming the "Help Seekers" Paradox: I learned that seeking help is not a sign of weakness but an essential tool for project efficiency; by communicating my struggles with the theme slider to my lead, we were able to resolve technical debt faster.

  • Transparent Debugging: I adopted a transparent communication style—sharing screenshots and specific code snippets of my failed attempts—which allowed my teammates to understand my logic and provide targeted solutions rather than generic advice.

  • Team Synergy: By bridging the gap between my initial fear of the team lead and active participation, I contributed to a healthier development cycle where feedback was exchanged freely, resulting in a more polished final product.

a cell phone on a bench

Reflections

Hamster Vision was a transformative project where I matured from a student learning HTML into a UX Engineer who understands the weight of collaborative development. The most important lesson I learned wasn't about CSS positioning or GitHub commands, but about the human element of engineering. I realized that early and honest communication, especially when things aren't "working", is the key to a successful launch. Mastering the technical structure of a project is only half the battle; the other half is being a teammate who knows how to ask the right questions at the right time. This project proved that even a "fun" hamster app requires professional rigor and a humble approach to problem-solving.

Other projects

Interested in connecting?

Let’s talk projects, collaborations, or anything design!

Interested in connecting?

Let’s talk projects, collaborations, or anything design!

Interested in connecting?

Let’s talk projects, collaborations, or anything design!

Copyright 2026 by Wenrui Zhang

Copyright 2026 by Wenrui Zhang

Copyright 2026 by Wenrui Zhang

Create a free website with Framer, the website builder loved by startups, designers and agencies.