← All projects
Project record1 mention
Originally shared on Hacker News

Floppy Face

An app that transforms any selfie photo into a 3D head you can pull and stretch like the opening of Mario 64. It runs on Three.js and WebGL in a browser or phone, uses MediaPipe to detect facial landmarks mapped onto a 468-point face template with estimated depth, procedurally constructs the back of the head with 3D-modeled ears and a Mario-inspired cap, and deforms the face with a custom soft brush and spring effect.

Last shared
01 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Floppy Face

    An app that transforms any selfie photo into a 3D head you can pull and stretch like the opening of Mario 64. It runs on Three.js and WebGL in a browser or phone, uses MediaPipe to detect facial landmarks mapped onto a 468-point face template with estimated depth, procedurally constructs the back of the head with 3D-modeled ears and a Mario-inspired cap, and deforms the face with a custom soft brush and spring effect.

    Posted by @DJSnackySnack · Original source ↗

    Source text · @DJSnackySnack · · Source ↗

    Floppy Face is an app I built that transforms any selfie photo into a 3D head you can pull and stretch like the opening of Mario 64.

    Submitted URL · @DJSnackySnack · · Source ↗

    https://itsbenlong.com/floppyface/

    Source text · @DJSnackySnack · · Source ↗

    The app runs on Three.js and WebGL, so it performs smoothly on a browser or phone. When a photo is uploaded, Floppy Face uses MediaPipe to detect facial landmarks and map them onto a 468-point face template with estimated depth.

    Source text · @DJSnackySnack · · Source ↗

    When a user pulls on the photo, a custom soft brush moves nearby vertices to deform the face in a smooth, predictable way. When you release, a custom spring effect creates a satisfying rubbery bounce.