Show HN: Turn any selfie into a 3D head you can stretch like Mario 64
https://itsbenlong.com/floppyface/
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.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. The mesh is then subdivided for smoother stretching.
The app procedurally constructs the back of the head and uses sampled skin and hair colors to help blend it smoothly. The app then adds 3d-modeled ears and a Mario-inspired cap to complete the effect.
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.
(
no comments
| on HN
)
There are no comments yet.