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.tsxRenders 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 behavioral1 file
PlaybackDie.tsx
- Added
FEATURE_COMPARISON.mddocumenting feature parity between vanilla and React implementations specify internal1 file
FEATURE_COMPARISON.md
DiceScene simulation integration
3 files changed
DiceScene.tsxSimulation mode: pre-simulates rolls then plays them back via PlaybackDieDiceArena.tsxUpdated to support simulation-aware rollingEffectComposer.tsxReworked rendering pipeline
- Enhanced
DiceScene.tsxwith simulation mode: pre-simulates rolls then plays them back viaPlaybackDieremediate behavioral1 file
DiceScene.tsx
- Updated
UndefDiceApp.tsxwith simulation-aware rolling logic remediate internal1 file
UndefDiceApp.tsx
- Reworked
EffectComposer.tsxrendering pipeline remediate internal1 file
EffectComposer.tsx
Dice geometry and configuration
9 files changed
dice-configs.tsRestructured with better type organization and per-die configuration (~273 line diff)geometry-data.tsImproved vertex/face data for all dice typesface-reader.tsBetter face normal detectionindex.tsUpdated dice module exportspre-simulate.tsMore accurate physics simulationplayback.tsMore accurate physics replayindex.tsUpdated simulation exportstypes.tsUpdated simulation typesroll.tsUpdated roll logic
- Restructured
src/config/dice-configs.ts(~273 line diff) with better type organization and per-die configuration remediate architectural1 file
dice-configs.ts
- Expanded
src/dice/geometry-data.tswith improved vertex/face data for all dice types remediate internal1 file
geometry-data.ts
- Updated
src/dice/face-reader.tswith better face normal detection remediate internal1 file
face-reader.ts
- Improved
src/simulation/pre-simulate.tsandsrc/simulation/playback.tsfor more accurate physics replay remediate internal2 files
pre-simulate.tsplayback.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.jsondependencies baseline internal1 file
package.json