Whenever you're ready, walk me through how you'd approach this.
How would you approach creating and integrating shape drawing functionality like rectangles, ellipses, and custom paths into a web application similar to Adobe Illustrator, emphasizing front-end development and user experience?
Discuss the interaction model, rendering architecture, geometry representation, editing behavior, and accessibility. If you introduce ML for gesture interpretation, smoothing, or shape completion, explain its online and offline components, latency budget, evaluation, and failure handling.