BT

Playground

Beta

Configure a BodyTracker instance below and watch the initialization code update live. This is a configuration builder, not a live execution sandbox — there's no real camera or tracker running here, only real, correct code generated from your selections that you can copy straight into your project.

Activity types

Leave all selected to omit activityTypes and track every activity.

Environment

Smoothing

Language

Generated code

tracker.tsTypeScript
1import { BodyTracker, type BodyTrackerConfig } from "@bodytracker/sdk";2 3const config: BodyTrackerConfig = {4  apiKey: "bt_live_...redacted",5  environment: "production",6  activityTypes: ["walking", "running"],7  smoothing: { enabled: true, windowSize: 5 },8};9 10const tracker = new BodyTracker(config);11 12await tracker.init();13console.log(tracker.getStatus()); // "ready"