undef-dice 2026-01-30
Chamber wireframe migrated to drei's Line component; Die torque made deterministic via seeded props
7 files · 328+ · 187-

Chamber wireframe migration

1 file changed
  • Chamber.tsx Migrated wireframe rendering from raw <line> to drei's <Line> component
  • Migrated Chamber.tsx wireframe rendering (rings, spokes, hex outline) from raw <line> with BufferGeometry.setFromPoints to drei’s <Line> component with tuple-based point arrays remediate internal
    1 file
    • Chamber.tsx

Deterministic Die torque

2 files changed
  • Die.tsx Torque now accepted as prop for deterministic throws; physics parameters tuned
  • DiceScene.tsx Updated to pass seeded torque values to dice
  • Made Die.tsx torque deterministic by accepting a torque prop from the parent instead of using Math.random() internally remediate behavioral
    1 file
    • Die.tsx
  • Tuned Die.tsx physics: adjusted damping, restitution, friction, added ball colliders and CCD remediate behavioral
    1 file
    • Die.tsx
  • Updated DiceScene.tsx to pass seeded torque values to dice remediate internal
    1 file
    • DiceScene.tsx

Configuration updates

3 files changed
  • dice-configs.ts New dice config entries
  • main.ts Updated initialization
  • index.html Additional configuration options
  • Added seeded torque generation in the dice rolling flow for reproducible roll animations remediate behavioral
    1 file
    • DiceScene.tsx
  • Updated index.html with additional configuration options remediate internal
    1 file
    • index.html
  • Added new dice config entries in src/config/dice-configs.ts baseline internal
    1 file
    • dice-configs.ts