GSTUDIO-001 // 2D+3D WEBGL2 + APR1 STUDIO

Declarative Dual-Pane Game Studio

Design 2D & 3D WebGL2 worlds live in pure Rust+WASM, swap SHA-256 .apr PolicyMlp brains, train Evolution Strategies or Imitation SGD, break invariants on demand, and export pv validate contracts.

Live WebGL2 Viewport & Contract Verifier

Declarative Dual-Pane Game Studio preview

Steps: 0

Invariant: OK (5/5 PASS)

Telemetry: score=0 hp=3 charge=0/3 v=0.00

Seed: 202691

WASD / Arrows Move · Space Beam · P Pause · R Reset · M AI/Human · Esc Blur · Drag/Wheel Orbit

6 Primitive-Gated Contracts & Break-It Mutants

ContractStatusLive CheckMutant
studio-bounds-v1
Bounded / [0, L) Torus
PASSOK
studio-pillar-v1
Circle-Pillar Exclusion
PASSOK
studio-swept-v1
Swept-AABB TOI
N/AN/A (non-elastic)
studio-speed-v1
Velocity Norm Bound
PASSOK
studio-relic-v1
Relic Conservation
PASSOK
studio-los-v1
Ray-Cylinder LOS
PASSOK

Exported Spec / pv validate YAML Preview

metadata:
  version: "1.0.0"
  kind: simulation
  description: "Declarative Game Studio 2D+3D WebGL2 & .apr PolicyMlp contract"
equations:
  studio_bounds: "Finite [0, L) torus wrap or [-R+r, R-r] clamp"
  studio_pillar: "min_i(dist_xz(ent, pillar_i) - (r_ent + r_i)) >= -1e-5"
  studio_swept: "substep_travel < 0.5 * min_dim && !tunneled"
  studio_speed: "||v|| bounded by elastic v0 or kinematic v_max"
  studio_relic: "relics_active + relics_collected == relics_per_phase"
  studio_los: "beam_hit <=> (t_target <= max_range && t_target < t_pillar)"
falsification_tests:
  - id: FALSIFY-STUDIO-001
    rule: "6 primitive-gated contracts + 6 matching Break-It mutants"

Verification Equation & Contract Schema

Unified WebGL2 projection + SE(2) flat-torus & swept-AABB invariant law:

wk+1=wk+αKσ∑j=1KϵjRj,x↦xmodL∈[0,L)

Contract source: contracts/game-studio-v1.yaml