Commit Graph

5 Commits

Author SHA1 Message Date
Jeff Emmett 7dbff3473a Fix mode tab buttons: explicit IDs, flex-wrap, z-index
- Add explicit IDs to mode tab buttons (modeImage, modePattern)
- Bind click handlers directly by ID instead of querySelectorAll
- Add type="button" to prevent form submit behavior
- Change controls flex-wrap to wrap (was nowrap, hiding tabs on narrow screens)
- Add user-select: none and z-index to tab buttons
- Dedicated switchMode() function for cleaner state management

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 02:31:51 +00:00
Jeff Emmett 6a4aa2456f Make mode tabs and buttons larger and more prominent
- Mode tabs now 14px bold with gradient active state and glow
- Generate/Random buttons bigger with box-shadow
- Better hover states with background highlight
- Tabs have visible border container for clarity

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 02:27:26 +00:00
Jeff Emmett 01fb200add Fix UX: double file picker, mode tabs, touch/pinch zoom
- Fix double file dialog by preventing label click bubble
- Rewrite mode switching for clean Image/Patterns tab toggle
- Add pinch-to-zoom for touch devices (two-finger gesture)
- Ctrl/Cmd+scroll wheel zoom (also captures trackpad pinch)
- Multiplicative zoom steps (1.2x per click) for smoother feel
- Auto-fit zoom after every render
- Fix copy button for pattern mode (no re-fetch needed)
- Clean up all event handlers

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 02:21:23 +00:00
Jeff Emmett b1874eace7 Add exotic palettes, pattern generator, and layout improvements
- 17 new exotic palettes: hieroglyph, cuneiform, thai, arabic, devanagari,
  ethiopic, georgian, tibetan, alchemical, dominos, mahjong, dingbats,
  playing cards, yijing, box drawing, math symbols, flora, weather
- Pattern generator with 10 types: plasma, mandelbrot, spiral, waves,
  nebula, kaleidoscope, aurora, lava, crystals, fractal_tree
- Random pattern button with rainbow gradient
- Mode tabs (Image / Patterns) in controls bar
- Preview area now fills full viewport (header/footer hidden)
- Slimmer controls bar

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 02:13:32 +00:00
Jeff Emmett ebd4b12628 Initial release: ASCII Art Generator
- Image to colorful Unicode art with 20 palettes (wingdings, braille, hires, dots, kanji, etc.)
- GIF animation support (frame-by-frame rendering)
- Floyd-Steinberg dithering for fine detail
- FastAPI web app with drag-drop upload, zoom controls, fullscreen, original image comparison
- Width up to 500 characters for high-resolution output
- Docker deployment with Traefik routing at ascii.jeffemmett.com
- rSpace integration as rcreate app (#30)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 01:43:17 +00:00