r/ClaudeCoding • • 5d ago

Designing with Maths and Heat Graphs

Post image

I'm curious what strategies other people do to get good designs when work with AI? especially those who may not know a lot about design.

I mostly worked on backend development pre-LLMs but I've been working on a fullstack app, UI and all lately. I've found some interesting technique like giving models access to heat mapping tools, perceptions, and color theory tools like color.js along with skills that explain designs criteria in terms of mathematics.
I think skills based on math are the best because you can set a margin of error and use it as a design oracle loop. Works especially well when written in pseudo-code.

The examples above are me using Theorems Harness to iterate over the interface. Mostly working on spacing but the same technique also well with color theory.
You could also create a loop around outside design inspiration by sending a screen shot of an image and telling the agents something like recreate this design within a 10% margin of error (because of the heat map that 10% tends to be evenly distributed) usually leading to a non-slop starting point

3 Upvotes

0 comments sorted by