Programmatically generate SVG (vector) images, animations, and interactive Jupyter widgets
1<?xml version="1.0" encoding="UTF-8"?> 2<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" 3 width="500" height="200" viewBox="0 0 500 200"> 4<defs> 5</defs> 6<rect x="10" y="10" width="80" height="180" rx="10" ry="10" stroke="black" fill="none" /> 7<rect x="110" y="10" width="80" height="180" ry="20" stroke="black" fill="none" /> 8<rect x="210" y="10" width="80" height="180" rx="40" stroke="black" fill="none" /> 9<rect x="310" y="10" width="80" height="180" rx="30" ry="10" stroke="black" fill="none" /> 10<rect x="410" y="10" width="80" height="180" rx="10" ry="30" stroke="black" fill="none" /> 11</svg>