Skip to content

Add polycss-fonts package and WordArt composer#51

Merged
apresmoi merged 2 commits into
mainfrom
wordart-composer
May 30, 2026
Merged

Add polycss-fonts package and WordArt composer#51
apresmoi merged 2 commits into
mainfrom
wordart-composer

Conversation

@apresmoi
Copy link
Copy Markdown
Collaborator

Summary

  • add @layoutit/polycss-fonts: a dependency-free TrueType (glyf) reader, textPolygons/composeText extruders (flat/round/bevel profiles), and a Fontsource-backed Google Fonts loader — framework-agnostic, returns plain Polygon[]
  • add composeText WordArt composer: multiline, alignment, line height, glyph scale, underline/strike bars, envelope warps (arch/arc/wave/bulge/cone/slant), hole-safe simplify, optional coplanar merge, and a layered two-color (backColor + oblique) look
  • add the /wordart website composer: gallery-identical lil-gui sidebars, searchable font picker, preset tiles, URL-synced state, imperative-rotation stage, and Open-in-CodePen export

Validation

  • pnpm test && pnpm build
  • Playwright smoke test at /wordart confirms both lil-gui panels mount, presets render, ~1k polygons paint, and the console is error-free

@apresmoi apresmoi merged commit 2db3178 into main May 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant