{"version":"1.0","type":"rich","title":"TouchDesigner SVG to SOP and After Effects Bodymovin / Lottie to TD-friendly SVG","description":"This example demonstrates a workflow for converting Lottie animations into TouchDesigner-compatible SVG geometry. The Node.js script `clean_svg.js` uses `lottie-to-svg` to render each animation frame to SVG, then processes the output through SVGO, svg-flatten, and paper.js to resolve `<use>` references, flatten paths, and apply clipping masks. A companion Python script `svg_to_sop.py` parses the cleaned SVG paths with svgpathtools and converts them into TouchDesigner SOP geometry—cubic Béziers become Bézier SOPs and line segments become polygon SOPs. The result bridges After Effects Bodymovin/Lottie exports to TouchDesigner-friendly SVG files for further procedural manipulation.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-4d9ace17fb27d0507a6c790be5047e3d?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}