1. Project goal
Build an original 3D browser makeup game in which the player does a complete face of makeup on a 3D head. A guest arrives with a request, the player works through base, brows, eyes, lashes, cheeks, contour, highlight and lips with real-feeling tools, then checks the result in a mirror and compares it with the face before makeup. In one sentence: a calm, detailed full-face makeup session on a 3D head you can turn and zoom.
2. Visual style
Soft, clean salon feel: a flat warm beige background, a stylised but detailed 3D head with skin pores, individual brow hairs and lashes, glossy eyes with highlights. Makeup reads as paint on the skin with different finishes: dewy, matte, satin and gloss. UI is off-white panels, dark grey text and a thin orange underline for the active tab.
Reference: author video 00:00 three-quarter head with blemishes, 00:07 base tab with colour wheel, 00:15 brow macro with tweezers, 00:30 satin lipstick, 00:38 eyelash curler, 00:45 false lashes, 01:00 finished lower face.
3. World and scene
One makeup station. The head sits in the centre with view presets (front, left, right, eyes, mouth) and a rotate mode. A guest card shows who is in the chair and what they want. A bottom panel holds category tabs, preset or manual mode, the tool row, swatches and intensity, plus undo, redo, close eyes, before makeup and finish. After finishing, a mirror view and a share image.
4. Asset list
Each item is a separate replaceable model in a named slot.
- head_base: neutral head mesh with UVs suited to painting, separate eyes, teeth and closable eyelids; several guest variants with different face shapes, eye shapes, skin tones and hairstyles.
- brow_hair and lash_strands: strand meshes that can be removed or added one by one.
- false_lash_set: natural, clustered, thin, long and very long lash strips or clusters.
- accessory_set: piercings, coloured contact lens textures, hair pieces.
- tool_icons or tool models: brush, puff, tweezers, razor, curler, mascara wand, lipstick, gloss.
Keep procedural: makeup layers, finishes, colours, before and after, UI.
5. Gameplay and feedback
Painting: drag on the face to apply the selected product; intensity and brush size are adjustable; finishes change gloss and roughness. Base products hide blemishes. Brows: brow pencil, tweezers that pluck one hair with hold and pull, razor, scissors, comb and wax with a live hair count and a regrow option. Lashes: curler drag from root to tip, lower lashes, mascara, clustered false lashes placed by drag and drop and removable one by one. Lips: lipstick, tint, liner, gloss and remove. Preset looks for quick play. Close eyes to work on lids, before makeup to compare, finish for the mirror and share.
6. Technical implementation
Use three.js with a single WebGL canvas and an HTML panel. Paint makeup into per-layer canvas textures in UV space by raycasting the pointer onto the head; combine layers in the material with a roughness and clearcoat map per finish. Render brow hairs and lashes as instanced strands that can be toggled individually. Support one-finger paint, a rotate toggle, two-finger pan and pinch zoom. Save looks locally and export a share image.
7. Completion criteria
Must work: guest intro, rotatable and zoomable head with view presets, at least base, brows, lashes and lips with several tools each, intensity and finishes, plucking single hairs, placing and removing false lashes, undo and redo, close eyes, before and after, mirror result, save and share image, touch and mouse. Match the reference views listed above. Deliver editable source and a list of all replaceable model slots.