I think I cracked it and now just need to optimize the controls for this component!
Thread
🔺This weekend I set out to figure out how simply draw a rounded rectangle with radius control built with only triangles. There are a lot of dumb hacks out there to do it with images and so on… when you really just want a primitive object in your design & prototyping workflow.
If you’ve ever looked closely at how it’s done on oculus it’s actually pretty bad and crunchy and the edges remind me of rounded corners inside an old transparent gif from the early 2000s