Smashing Animations Part 4: Optimising SVGs<\/h1>\nAndy Clarke<\/address>\n 2025-06-04T08:00:00+00:00
\n 2025-06-05T21:02:28+00:00
\n <\/header>\n
SVG animations take me back to the Hanna-Barbera cartoons I watched as a kid. Shows like Wacky Races<\/em>, The Perils of Penelope Pitstop<\/em>, and, of course, Yogi Bear<\/em><\/a>. They inspired me to lovingly recreate some classic Toon Titles<\/a> using CSS, SVG, and SMIL animations.<\/p>\nBut getting animations to load quickly and work smoothly needs more than nostalgia. It takes clean design, lean code, and a process that makes complex SVGs easier to animate. Here\u2019s how I do it.<\/p>\n<\/p>\n <\/p>\n
<\/p>\n
<\/a>\n There\u2019s now a website where you can see all my Toon Titles<\/a>. (Large preview<\/a>)
\n <\/figcaption><\/figure>\n\n\n- Smashing Animations Part 1: How Classic Cartoons Inspire Modern CSS<\/a><\/li>\n
- Smashing Animations Part 2: How CSS Masking Can Add An Extra Dimension<\/a><\/li>\n
- Smashing Animations Part 3: SMIL\u2019s Not Dead Baby, SMIL\u2019s Not Dead<\/a><\/li>\n<\/ul>\n<\/div>\n
Whether for personal projects or commercial work, preparing SVGs well ensures they\u2019re accessible. Optimising them ensures they load quickly, especially on mobile, and thinking carefully about how they\u2019re structured makes maintaining them easier. I\u2019ve developed a process that balances visuals with accessibility and performance<\/strong> and makes complex SVGs easier to work with.<\/p>\nSo, to explain my process, I\u2019ve chosen an episode of The Yogi Bear Show<\/em> called \u201cBewitched Bear,\u201d first broadcast in January 1960. In this story, Yogi steals a witch\u2019s broom to help him grab \u201cpic-a-nic\u201d baskets.<\/p>\n\u201cHey, hey, hey!\u201d<\/p>\n<\/p>\n <\/p>\n
<\/p>\n
<\/a>\n The Yogi Bear Show \u00a9 Warner Bros. Entertainment Inc. (Large preview<\/a>)
\n <\/figcaption><\/figure>\n\n
\n 2025-06-05T21:02:28+00:00
\n <\/header>\n
But getting animations to load quickly and work smoothly needs more than nostalgia. It takes clean design, lean code, and a process that makes complex SVGs easier to animate. Here\u2019s how I do it.<\/p>\n <\/p>\n <\/a> Whether for personal projects or commercial work, preparing SVGs well ensures they\u2019re accessible. Optimising them ensures they load quickly, especially on mobile, and thinking carefully about how they\u2019re structured makes maintaining them easier. I\u2019ve developed a process that balances visuals with accessibility and performance<\/strong> and makes complex SVGs easier to work with.<\/p>\n So, to explain my process, I\u2019ve chosen an episode of The Yogi Bear Show<\/em> called \u201cBewitched Bear,\u201d first broadcast in January 1960. In this story, Yogi steals a witch\u2019s broom to help him grab \u201cpic-a-nic\u201d baskets.<\/p>\n \u201cHey, hey, hey!\u201d<\/p>\n <\/p>\n <\/a><\/p>\n
\n <\/figcaption><\/figure>\n\n
<\/p>\n
\n <\/figcaption><\/figure>\n