Heart Nose Drawing
by Akshat π₯
Check out "Heart Nose Drawing" by Akshat π₯ - featuring Canvas API, Sprite Manager, Sprite Store and more. 132.6k views. Try this Snapchat Lens on Easy Lens.
132.6k views
Features
- Canvas API: Procedurally renders the live nose-drawing trail as extra-large heart stamps at 4Γ the base scale on a transparent full-screen canvas, plus a smaller compact left-side toolbar overlay with crisp, uniform white vector borders around every control. Hearts start white with a strong black outline, and the text-free clear control remains available.
- Sprite Manager: Displays and manages the eight palette swatches, drawing toggle, and clear control as a reduced-size compact vertical toolbar on the left side, centered vertically and layered above the heart trail. Every button keeps a clean, clearly visible white outline.
- Sprite Store: Provides textures for the eight reduced-size color swatches, including pink, and the drawing toggle states. The assets use bold, even white borders so their edges remain crisp in the compact left-side toolbar.
- FaceLandmarks: Tracks the userβs nose position in 2D to place enlarged white heart stamps with black outlines along the drawing path, while keeping the left-side toolbar area clear.
- Touch Events: Captures touches for the grouped left-side eight-color palette, draw toggle, and text-free clear button without displaying system hint text.