Skip to content

FeltForge 0.4.0

Choose a tag to compare

@saeedet saeedet released this 19 Oct 16:03
· 1 commit to main since this release
1d98264

FeltForge 0.4.0 adds TableSurface for applications that position their own players, cards and chips. Configure the outer-rail width and height to render portrait, landscape, circular or intermediate stadium proportions across all six themes.

import { TableSurface } from 'feltforge/table-surface';

<TableSurface
  width={334}
  height={486}
  detailScale={0.57}
  theme="classic"
  decorative
/>

Rails, felt, lighting, stitching, shadows and decorations share the same renderer and material definitions as PokerTable. Existing desktop artwork, public APIs and layout anchors remain compatible.

Table overlays now stack in the order artwork, cards, chips/pots/markers, then seats. The playground includes surface dimension and material controls, and its D/SB/BB markers shrink with the table.

Validation: 124 unit/SSR/rendering tests, 32 browser checks, exact desktop image regressions for all six themes, deterministic asset generation, package checks, and actual packaged React 18 and Next.js consumers.

Integration and sizing guide · Playground · npm