Swing Lab setup

The site's key isn't set up yet. Best fix: add it once in Vercel (project swinglab-dashboard → Settings → Environment Variables → SUPABASE_PUBLISHABLE_KEY) and redeploy. Or paste it here for this browser only: in Supabase, open the SwingLab project, then Project Settings → API Keys, and copy the publishable key (starts with sb_publishable_). Never use the secret key.

Swing Lab

Sign in to see Elliott's swings.

Change the saved key

Swing Lab

The big picture

Every part of the swing

What a good swing looks like

    Swings
    -
    Avg hand speed
    -
    Kinect mph (compare with itself, not radar)
    Best hand speed
    -
    Avg swing score
    -
    Good swings
    -
    nothing to fix on the rep
    Avg head drift
    -
    after foot down; cue fires above 4 in

    Swing score

    0-100, each swing. Green band = 80 or more (great). Tap a dot to see the swing.

    Hand speed by day

    Average and best peak hand speed, mph

    AverageBest

    Focus of each swing, by day

    What the app asked him to work on (one focus per swing)

    VR batting (Run the Play)

    Timing, each swing

    Milliseconds from the pitch reaching the plate to the bat meeting it (or, on a miss, its fastest moment). Below 0 = early, above 0 = late. Green band = on time (within 30 ms). Tap a dot to see the swing.

    His swing in VR vs real swings

    Averages over the selected time range. A big difference means the headset changes how he swings.

    Mechanics vs results

    VR swings grouped by timing, then by the app's focus: how often he hit it, how hard, and his swing score.

    VR swings

    Latest 30 swings taken at a VR pitch. Tap one to watch it.

    Sessions by day

    The table view of the charts above

    Recent swings

    Latest 30 in the selected range. Tap a swing to watch it.

    Compare with a pro

    Share a player with another login

    A parent or coach sees only the players you share with them (plus the pro forms), and can't change anything. First create their login in Supabase: Authentication → Users → Add user → Create new user (their email and a password, tick Auto Confirm User). Then share here.

    Logins given full access with SQL (like Elliott's own login) see everything and aren't listed here.

    Numbers vs targets

    Targets are the ones the app coaches to (set for 14U). "His avg" is over the selected time range.