Show HN: I left Figma to build a diffusion-based UI design tool
Posted by jjcm 3 days ago
Hey hn, this has been something I've been working on for the last few months and is finally robust enough to really show off.
I've been pretty tired with the design outputs of LLMs for a while, and I've always thought diffusion offered much more creative / on brand design outputs, even before they were able to render text.
I had enough conviction for this to leave my role over at Figma to build Diffui. The goal is to allow for you to design your full web app as quickly as possible, in a figma-like interface, and then hand that off to an agent to build. The page shows some interactive examples. Happy to be an open book here and chat about the approach, the process, etc!
Comments
Comment by adambb 8 hours ago
The "copy agent prompt" feature has what looks like a thorough prompt for the implementation, that can call back to DiffUI to grab assets and make SVGs and other things a FE dev would bug a designer for - nice touch!
Comment by jjcm 7 hours ago
Re copy for agent, I originally had a build step that was build into diffui itself, but what I found was that:
1. People wanted their own agent with its own skills/extensions to do the work
2. People wanted to build in their own codebase / style
The copy for agent was a way to allow for that. I do have a MCP as well, but I find I actually really enjoy the process of doing visual exploration on the canvas first, then handing it off to an agent after.
Comment by adambb 3 hours ago
Comment by btown 9 hours ago
Comment by jjcm 9 hours ago
For each of them I just told an agent to extract the actual working app logic into a narrower / more rigid flow that automatically does each step, and to animate the cursor.
Comment by capnjngl 3 days ago
Comment by dbreunig 3 days ago
Comment by grahac 3 days ago
Comment by jjcm 3 days ago
The build plan has tooling built in to generate these. Under the hood the model I'm routing to is Fal.ai's Patina model, which does a fantastic job at creating maps.
File is here btw if you want to explore: https://diffui.ai/app/canvas/be49d1a3-df57-4c61-9305-4aef472...
Comment by lurkyniko 3 days ago
Comment by cacio-e-pepe 3 days ago
Comment by jjcm 3 days ago
It's a lot like having an architect create plans for you before handing it off to a builder. In my (obv biased) experience, you end up getting better/more creative results with this approach. You're using the best model for the job at each specific task, ie a diffusion model as the designer, and a LLM as the engineer.
Comment by manianaai 1 day ago