Skip to content

Motion-Core/experiment-001

Repository files navigation

Experiment 001

Svelte TypeScript pnpm Three.js MediaPipe

Experiment 001 is a minimal browser-based face tracking experiment built with Svelte 5, MediaPipe, Threlte, Three.js, and Tweakpane.

It captures webcam input, tracks facial landmarks in real time, and renders a configurable metallic face mesh over the detected face.


Features

  • Realtime face tracking with MediaPipe Face Landmarker.
  • Procedural mask rendering with MeshPhysicalMaterial.
  • Minimal control surface powered by Tweakpane.
  • Svelte 5 native application structure.
  • pnpm-based workflow.

Usage

Install

pnpm install

Develop

pnpm run dev

Open http://localhost:5173.

Check

pnpm run check

Build

pnpm run build

Cloudflare Workers

Run a local Worker preview:

pnpm run cf:dev

Check the deploy bundle without publishing:

pnpm run deploy:dry-run

Deploy to Cloudflare Workers:

pnpm run deploy

License

This project is licensed under the MIT License.

See the LICENSE file for details.