Commit Graph

55 Commits

Author SHA1 Message Date
Jeff Emmett eed020d198 Fix AI output rendering lag with preloading, loading indicators, and smarter throttling
- Preload FAL result images before swapping to eliminate blank flash
- Add shimmer loading indicator overlay during AI generation
- Filter side effects to only trigger on shapes touching live-image frames
- Adaptive throttle: 150ms during drawing, 32ms on idle for fast final results
- Remove duplicate initial trigger that caused wasted generation on load
- Increase timeout 3s→5s to reduce spurious retry cycles
- Add CSS transitions for smooth image crossfade

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 14:53:23 -04:00
Jeff Emmett 41d121452f Optimize latency and enable immediate image generation on load
Performance improvements:
- Reduced throttle time from 64ms to 32ms (2x faster updates)
- Reduced timeout from 5000ms to 3000ms (faster retries)
- Reduced JPEG quality from 0.5 to 0.3 (faster encoding/upload)
- Added automatic image generation trigger on page load (100ms + 500ms)

This enables real-time sketch-to-image generation to start immediately
when the page loads, with ~50% faster response to drawing changes.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-23 05:12:31 +00:00
Jeff Emmett c70f8ec9f8 Add GitHub to Gitea mirror workflow
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-22 18:01:25 -08:00
Jeff Emmett 8c318607e0 addressing 'filereader not found' error on build 2025-04-13 10:56:13 -07:00
Lu Wilson eca5d2c180
Bump tldraw and some other improvements (#26)
* bump

* fix svg export

* faster export

* handle disappearing shape
2024-09-25 12:56:37 +01:00
Lu[ke] Wilson d50a544bb1 tweak 2024-04-11 14:45:51 +01:00
Steve Ruiz 6f805822a6 remove vercel analytics 2024-01-18 14:17:05 +00:00
Steve Ruiz 8237d08c7f restore root 2024-01-14 19:03:56 +00:00
Steve Ruiz 005427a3f5 Add discord link 2024-01-14 18:58:44 +00:00
Steve Ruiz 06a2490082 shut it down 2024-01-14 18:56:53 +00:00
alex d3a515a7f8
send new updates even if we haven't received older ones yet (#16)
* alex/faster: faster

* alex/faster: tune throttle
2023-11-30 14:17:19 +00:00
Lu[ke] Wilson 87d7d6114a add analytics 2023-11-30 11:25:31 +00:00
alex 837140e54e main: remove queue 2023-11-28 18:17:48 +00:00
alex 131b6dd58c main: fix 2023-11-28 18:12:46 +00:00
alex c5aa92af3b main: fix issue with multiple shapes 2023-11-28 18:11:58 +00:00
alex 1ee464bc5b alex/overlay-mode: remove console.log 2023-11-28 15:10:26 +00:00
alex 73da74bb0c alex/overlay-mode: cleanup 2023-11-28 15:00:41 +00:00
alex 18314e7b3c alex/overlay-mode: remove console.logs 2023-11-28 14:59:04 +00:00
alex c4ca2ba14b alex/overlay-mode: overlay mode 2023-11-28 14:56:59 +00:00
Lu[ke] Wilson 6cc147d2fd improve breakpoints 2023-11-28 12:59:02 +00:00
Lu[ke] Wilson 63bc7a12a6 start with no prompt 2023-11-28 12:20:04 +00:00
Lu[ke] Wilson 8eb4abd5d7 dont export overrides 2023-11-28 12:17:15 +00:00
Lu[ke] Wilson cbfa954bb2 logos 2023-11-28 12:05:13 +00:00
Lu[ke] Wilson 58b6a8d6b1 metadata 2023-11-28 10:50:24 +00:00
Lu[ke] Wilson c2a8cf3422 bump version, use auth, stick to 512x512 2023-11-28 10:42:30 +00:00
Lu Wilson 873231d892
UX improvements (#12)
* more useful toolbar

* default prompt label

* default to large size style

* wording and formatting

* fix frame name editing

* reorder frame
2023-11-27 16:33:29 +00:00
Lu[ke] Wilson 8090f572b1 tweak strength 2023-11-27 12:37:12 +00:00
Steve Ruiz 76d3395ff0 update title 2023-11-25 22:52:43 +00:00
Steve Ruiz e5bcfb3e44 use the shape id as a seed 2023-11-25 22:29:13 +00:00
Steve Ruiz 1545f6c09e Update useLiveImage.ts 2023-11-25 21:53:41 +00:00
Steve Ruiz f0e2ce1ce5 working 2023-11-25 21:44:02 +00:00
Steve Ruiz 3130f000d6 Update page.tsx 2023-11-25 20:03:11 +00:00
Steve Ruiz edc01c7dae slight cleanup 2023-11-25 19:52:11 +00:00
Steve Ruiz d1565789fd update 2023-11-25 19:49:34 +00:00
Steve Ruiz 63ccc75ac6 Update LiveImageShapeUtil.tsx 2023-11-25 19:07:19 +00:00
Steve Ruiz eb5d48154d cleanup code 2023-11-25 19:05:49 +00:00
Lu[ke] Wilson 9b6ae6d756 cant unmount 2023-11-24 12:40:39 +00:00
Lu[ke] Wilson 140018c6ef comment out for now 2023-11-24 12:25:06 +00:00
Lu[ke] Wilson 7d8529c636 always update frame 2023-11-24 12:21:54 +00:00
Lu[ke] Wilson 72ef944b8b mask frame 2023-11-24 12:19:10 +00:00
Lu[ke] Wilson 0b65af00bd custom frame svg 2023-11-24 12:09:38 +00:00
Lu[ke] Wilson 3b682c5521 speed up 2023-11-23 16:02:39 +00:00
Lu[ke] Wilson a9764c622c draw fast 2023-11-23 12:46:01 +00:00
Lu[ke] Wilson 759b57ab34 SOCKETS WORK OMG 2023-11-23 12:23:11 +00:00
Lu[ke] Wilson 7e6fcbe1dc more tests 2023-11-21 17:09:03 +00:00
Lu Wilson 6be0379c49
Merge branch 'fal-ai:main' into lu/tldraw-issues 2023-11-21 11:26:22 +00:00
Daniel Rochetti 3d61dc6ac3
feat: disable auto-upload 2023-11-20 11:03:24 -08:00
Lu[ke] Wilson ca851f891c prompt 2023-11-20 15:47:10 +00:00
Lu[ke] Wilson 6f6bcc4584 more tweaks 2023-11-20 15:45:08 +00:00
Lu[ke] Wilson bc1726976e disable resize 2023-11-20 15:33:40 +00:00