A colleague was working on a graphics editor canvas. They implemented the ability to resize shapes like rectangles and ovals by dragging small handles at their edges. Each shape (such as a rectangle or an oval) had a different set of handles, and dragging each handle in different directions affected the shape’s position and size in a different way. There was a bunch of math.

4m read timeFrom overreacted.io
Post cover image

Sort: