Bret Hudson @brethudson.com · May 26

While the UI is starting to look good, the code behind it... was a mess. Lots of duplicated magic numbers and computations, making it very difficult to refactor But hey, the best part about messing with math in graphics is that you get all sorts of fun bugs! :)

0 likes 1 replies

?

Replies

Bret Hudson · May 26

What made it so tricky to debug was that I realized that elements were anchored to three different radii: inner, outer, or middle The next step was to add some debug overlays to visualize the alignment of each element. You can see that the notches & handles were center-aligned to the outer radius