An artistic drawing experience that uses face detection and a chaotic pen algorithm to create continuous-stroke portraits.
- Upload a portrait - Start by loading any portrait image
- Face detection - The system automatically detects the face using MediaPipe Face Mesh
- Edge isolation - Adjust edge details and erase areas you don't want drawn
- Watch it draw - A single chaotic pen traces the edges, filling in shadows with looping strokes
- Face-aware drawing that prioritizes facial features
- Chaotic force-based pen movement for organic, hand-drawn aesthetics
- Real-time parameter adjustment via the dev panel
- Export finished artwork as PNG
Open index.html in a modern browser. The app uses:
- MediaPipe Face Mesh for face detection
- Canvas API for rendering
Deploy to GitHub Pages by enabling it in repository settings. The site will be available at https://triggeredcode.github.io/chaoticPen/