LIVE · Product

Smallball

2.5D baseball with Spoon Theory UX
LIVE arcade React 18PGLiteMarkov Chains

What it is

Local-first baseball simulation with PGLite database for franchise persistence. 2.5D baseball with Spoon Theory UX is a core component of the P31 Labs sovereign cognitive infrastructure stack — built to run offline, deployed to the edge, and designed without dark patterns.

PGLite runs PostgreSQL in browser via WebAssembly. Markov chains model pitch sequences. Three.js handles 2.5D perspective. Graphics system supports 8 rendering tiers from mobile to desktop.

Core features

Local-first baseball simulation with PGLite database for franchise persistence

Markov chain-driven pitching AI with realistic pitch selection logic

Spoon-based energy system — low spoons reduces pitch precision and batting power

AAA Graphics Core: WebGL particles, volumetric lighting, post-processing effects

Iron Mike training game — practice batting against legendary pitching machine

How to use

1Select your spoon level from the selector — determines UI complexity and game pacing
2Create a franchise — owner pubkey secures your team data locally
3Play games or enter Iron Mike mode for training

Architecture

PGLite runs PostgreSQL in browser via WebAssembly. Markov chains model pitch sequences. Three.js handles 2.5D perspective. Graphics system supports 8 rendering tiers from mobile to desktop.
P31 Labs, Inc. (Georgia nonprofit, EIN 42-1888158) builds open tools for cognitive sovereignty, communication clarity, and family coordination. This page is technical documentation, not medical or legal advice. Mission and support: phosphorus31.org.
⬡ Launch Smallball ← Back to Hub