Barbie Nose Doodle
by Christopher Penn
Check out "Barbie Nose Doodle" by Christopher Penn - featuring Sparkles, Face Events, Post Process - Adjust and more. 7.64m views. Try this Snapchat Lens on Easy Lens.
7.64m views
Features
- Sparkles: Smile celebration sparkles
- Face Events: Smile detection trigger
- Post Process - Adjust: Drawing pop color filter
- Canvas API: Procedurally renders the live nose-drawing strokes onto a full-screen 2D on-screen canvas texture (the drawing surface).
- Sprite Manager: Displays and manages 2D UI sprites (palette swatches and draw toggle) and performs hit testing for taps on those UI elements. Also used to convert touch unit coords to pixel coords for Clear All hit testing.
- Sprite Store: Provides the textures for the UI: 7 color swatches and draw toggle states.
- Text On Screen: Tap-to-cycle mode label
- Text On Screen: Save instructions text
- UI Button: Undo button
- UI Button: Save button
- Touch Events: Captures screen touches to select colors, toggle drawing mode, and tap the Clear All button.
- FaceLandmarks: Tracks the user’s nose position in 2D each frame to drive the brush position for drawing.
- Text On Screen: Small on-screen helper text showing current mode (DRAW / PAUSED) plus brief hints (tap color, toggle, clear).