7 Commits
Author SHA1 Message Date
Greg Shuflin 414d191cb7 Add minimal text layout API using taffy, cosmic-text, and wgpu
Introduces a public App/TextBox builder API that renders word-wrapped
ASCII text in taffy-laid-out rectangles via a wgpu GPU pipeline.

- App/TextBox builder API (width, height, font_size, text_color, background, padding)
- Taffy flex-column layout tree computed per frame
- cosmic-text shapes and rasterizes text to a CPU RGBA8 buffer each frame
- Two wgpu pipelines: rect (colored quads) and text (textured quads)
- Winit event loop wired through ApplicationHandler
2026-06-17 00:44:42 -07:00
Greg Shuflin a542ac1c91 Add taffy dependency 2026-06-16 15:49:45 -07:00
Greg Shuflin f7a11e28b6 Wire up mouse handling 2026-06-14 19:43:46 -07:00
Greg Shuflin c1d3d06a52 Window displays 2026-06-14 19:33:14 -07:00
Greg Shuflin da24ecfe0e Filling in State::new 2026-06-14 17:55:43 -07:00
Greg Shuflin 220252af22 Basic pipeline using software rendering 2026-06-14 02:01:54 -07:00
Greg Shuflin 89b868144f Initial commit 2026-06-13 22:13:28 -07:00