Streamline the main canvas component, type definitions, and paint shader runtime. Removes unused code paths and redundant logic across src/ and example/, resulting in a net reduction of ~460 lines. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>