undef-dice 2026-02-01
PlaybackDie component added; DiceScene gains simulation mode; dice config and geometry improved
16 files · 1,920+ · 758-

PlaybackDie component

1 file changed
  • PlaybackDie.tsx Renders dice following pre-computed simulation trajectories with interpolation (~346 lines)
  • Created PlaybackDie.tsx (~346 lines) for rendering dice that follow pre-computed simulation trajectories with interpolation instantiate behavioral
    1 file
    • PlaybackDie.tsx
  • Added FEATURE_COMPARISON.md documenting feature parity between vanilla and React implementations specify internal
    1 file
    • FEATURE_COMPARISON.md

DiceScene simulation integration

3 files changed
  • DiceScene.tsx Simulation mode: pre-simulates rolls then plays them back via PlaybackDie
  • DiceArena.tsx Updated to support simulation-aware rolling
  • EffectComposer.tsx Reworked rendering pipeline
  • Enhanced DiceScene.tsx with simulation mode: pre-simulates rolls then plays them back via PlaybackDie remediate behavioral
    1 file
    • DiceScene.tsx
  • Updated UndefDiceApp.tsx with simulation-aware rolling logic remediate internal
    1 file
    • UndefDiceApp.tsx
  • Reworked EffectComposer.tsx rendering pipeline remediate internal
    1 file
    • EffectComposer.tsx

Dice geometry and configuration

9 files changed
  • dice-configs.ts Restructured with better type organization and per-die configuration (~273 line diff)
  • geometry-data.ts Improved vertex/face data for all dice types
  • face-reader.ts Better face normal detection
  • index.ts Updated dice module exports
  • pre-simulate.ts More accurate physics simulation
  • playback.ts More accurate physics replay
  • index.ts Updated simulation exports
  • types.ts Updated simulation types
  • roll.ts Updated roll logic
  • Restructured src/config/dice-configs.ts (~273 line diff) with better type organization and per-die configuration remediate architectural
    1 file
    • dice-configs.ts
  • Expanded src/dice/geometry-data.ts with improved vertex/face data for all dice types remediate internal
    1 file
    • geometry-data.ts
  • Updated src/dice/face-reader.ts with better face normal detection remediate internal
    1 file
    • face-reader.ts
  • Improved src/simulation/pre-simulate.ts and src/simulation/playback.ts for more accurate physics replay remediate internal
    2 files
    • pre-simulate.ts
    • playback.ts
  • Extended React app styles with ~240 lines of new CSS for playback dice and effects remediate internal
    1 file
    • undef-dice.css
  • Updated package.json dependencies baseline internal
    1 file
    • package.json