undef-dice
2026-01-13
Post-processing effects system added with five shader effects; physics controls and target values expanded
23 files · 2,771+ · 112-
Post-processing effects system
9 files changed
chromatic-aberration.tsChromatic aberration shader effectcrt-scanlines.tsCRT scanlines shader effectmotion-trails.tsMotion trails shader effectpanel-glow.tsPanel glow shader effectpixelation.tsPixelation shader effecteffect-chain.tsEffect chain compositorindex.tsEffects module exportsloop.tsUpdated to integrate effect chain renderingscene.tsUpdated scene to support post-processing
- Created full post-processing effects system under
src/effects/: instantiate behavioral6 files
chromatic-aberration.tscrt-scanlines.tsmotion-trails.tspanel-glow.tspixelation.tseffect-chain.ts
- Updated animation loop to integrate effect chain rendering
remediate
internal
1 file
loop.ts
Physics and UI expansion
9 files changed
physics-controls.tsExpanded physics controls with additional tuning parametershighlight.tsUpdated highlight to support effectsroll.tsUpdated roll logic for effects integrationsettling.tsUpdated settling for effects integrationtimer.tsModified to support effect timingstate.tsState type updates for effectscustom-geometry.tsImproved mesh handling for custom geometrydie-bodies.tsAdjusted die body physics parametersmain.css~280 lines of new CSS for effects panel, physics controls, and target values UI
- Expanded physics controls (
src/ui/physics-controls.ts) with additional tuning parameters remediate behavioral1 file
physics-controls.ts
- Enhanced target values UI with more controls for setting specific roll outcomes
remediate
behavioral
1 file
dice-buttons.ts
- Improved custom geometry rendering in
src/dice/custom-geometry.tswith better mesh handling remediate internal1 file
custom-geometry.ts
- Modified game timer to support effect timing
remediate
internal
1 file
timer.ts
- Adjusted die body physics parameters
remediate
internal
1 file
die-bodies.ts
- Added ~280 lines of new CSS for effects panel, physics controls, and target values UI
instantiate
behavioral
1 file
main.css