Khoa Nguyen

All rights reserved © yunkhngn · v1.6.6

Work

Prismo Booth

Prismo Booth is a fun, client-side online photobooth application featuring a playful "Claymorphism" design style. Capture moments, apply filters, choose frames, and download your photo strips instantly!

Prismo Booth

Role

Solo — design & engineering

Year

2025

Stack

Next.jsTailwind CSSshadcn/uiZustandFabric.js
Source Live demo

Case study

Project Overview: Prismo Booth 📸

Prismo Booth is an engaging, client-side online photobooth application designed to capture fun moments with a unique, playful "Claymorphism" design aesthetic. It offers users the ability to take photos using their webcam, apply various filters, choose stylish frames, and instantly download their personalized photo strips, all without any images ever leaving their browser.

The primary motivation behind Prismo Booth is to provide a private, accessible, and enjoyable photobooth experience directly from a web browser. By keeping all image processing local, it ensures user privacy and offers a quick, seamless workflow from capture to download.

Key Features

  • Client-Side Privacy: All photo processing occurs directly in the user's browser, guaranteeing that no images are uploaded to external servers.

  • Live Camera Capture: Utilizes the user's webcam for capturing photos, complete with a countdown timer for a traditional photobooth feel.

  • Flexible Capture Modes: Supports both manual, one-by-one photo taking and an automated sequence mode to guide users through the process.

  • Artistic Filters: Users can enhance their photos with a selection of fun color filters, including Black & White, Sepia, Warm, Cool, and Vintage.

  • Frame Customization: Offers a variety of pre-built frames (Cute, Cool, Vintage) and the ability for users to upload their own custom frame overlays for personalized photo strips.

  • High-Quality Export: Final photo strips are exported as high-resolution PNG images, ready for sharing or printing.

  • Responsive Design: Ensures a consistent and enjoyable experience across both desktop and mobile devices.

Main Technologies and Their Role

Prismo Booth leverages a modern and robust set of technologies to deliver its unique experience:

  • Next.js 16 (App Router): Chosen as the primary React framework for building a performant and scalable web application, utilizing the latest App Router paradigm for efficient routing and server components (where applicable for structure).

  • Tailwind CSS v4: Provides a utility-first CSS framework for rapid and consistent styling, enabling the development of the distinct "Claymorphism" design with precision and responsiveness.

  • shadcn/ui + Custom Claymorphism Components: A combination of pre-built, accessible UI components from shadcn/ui for foundational elements, augmented by custom-designed components to achieve the unique Claymorphism aesthetic.

  • Zustand: Employed for lightweight and flexible state management, ensuring a smooth user experience by efficiently handling application-wide state, such as camera status, filter selections, and frame choices.

  • Fabric.js: This powerful JavaScript canvas library is fundamental to Prismo Booth, enabling all client-side image manipulation. It facilitates live camera stream rendering, applying filters, overlaying frames, composing multiple photos into a single strip, and exporting the final high-resolution PNG.

  • Lucide React: Used for crisp, customizable vector icons throughout the application, enhancing the overall UI.

Technical Challenges and Solutions

Developing Prismo Booth involved overcoming several interesting technical hurdles to ensure a smooth, private, and high-quality user experience:

  • Client-Side Image Processing: The core challenge was performing complex image manipulations (filters, overlays, composition) entirely within the browser without server-side assistance. This was effectively tackled using Fabric.js, which provided robust canvas capabilities to handle image loading, manipulation, and high-resolution export.

  • Real-time Camera Stream Management: Integrating and managing the user's webcam feed in real-time, handling permissions, and capturing individual frames accurately required careful use of browser MediaDevices API and efficient rendering to the Fabric.js canvas.

  • Achieving Claymorphism Design: Implementing the unique "Claymorphism" visual style involved meticulous use of Tailwind CSS for custom shadows, borders, and gradients to create the distinct convex/concave UI elements, often requiring custom component development beyond standard libraries.

  • High-Quality Export: Ensuring that the final photo strip, composed of multiple images, filters, and frames, could be exported as a high-resolution PNG without loss of quality or performance issues was a significant aspect, optimized through Fabric.js's export capabilities.

  • Responsive Canvas Interaction: Making the photobooth interface, particularly the canvas element where images are processed, responsive and interactive across various screen sizes (desktop and mobile) required careful layout design and event handling.

What I Learned

Working on Prismo Booth provided invaluable insights and learning experiences:

  • Advanced Client-Side Image Manipulation: Gained deep proficiency in using Fabric.js for complex canvas operations, including layering images, applying custom filters, handling image transformations, and optimizing for performance.

  • Building Privacy-First Applications: Reinforced the importance and techniques for designing applications where user data (especially sensitive media like photos) remains entirely client-side, enhancing trust and security.

  • Mastering Modern Frontend Stacks: Solidified understanding and practical application of the latest Next.js App Router features, efficient state management with Zustand, and highly customizable styling with Tailwind CSS and shadcn/ui.

  • Custom UI Development & Theming: Developed skills in translating a specific, artistic design language like "Claymorphism" into reusable React components and a cohesive theme.

  • Optimizing for Web Performance: Learned to balance rich features with performance considerations, particularly when dealing with media streams and heavy canvas rendering to ensure a smooth user experience.

Complexity: Intermediate/Advanced

Prismo Booth is classified as Intermediate/Advanced. The project goes beyond typical CRUD applications by incorporating real-time media processing, complex client-side canvas manipulation with Fabric.js for image composition and filtering, and a unique custom UI design. Handling camera streams, ensuring high-quality image export, and maintaining a purely client-side architecture for privacy adds significant layers of technical depth and challenge, requiring a solid grasp of modern JavaScript, React, and browser APIs.

Keep exploring

Related work

2026

PixShade

Protect your images from AI training — A browser-based tool using Multi-Scale DCT perturbation and metadata obfuscation.

2025

Online Guestbook

A modern online guestbook re-implemented with Next.js 16 (App Router) and a 'Liquid Glass' UI. Features Dark Mode, secure email sending via Emailjs, and highly customizable content.

From the journal

2026-11-15

Beautiful on the Surface, Engineered Underneath - My Legacy Website

Building a Personal Website into a Microservice Platform. An engineering retrospective on building a design-driven personal website backed by a microservice architecture, computer vision experiments, automated Docker builds, and production infrastructure."

2026-11-16

Engineering Lawise: Building an AI-Powered LegalTech Platform

From legal documents to actionable intelligence — exploring the engineering behind an AI-powered legal platform built with Next.js, polyglot microservices, PostgreSQL, pgvector, and OpenAI.

2026-11-15

AI Kitchen

Explore the building process of 'AI Kitchen' - a space where I turn raw ideas into complete products by optimizing my AI workflow.

Next project

Hanoi Rock City (HRC) - Event Ticketing System →