Example output
Sure, I can help you with that! Here's the SVG code for a red comet falling from the skies:
php
<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
<circle cx="50" cy="50" r="40" fill="red" />
<polygon points="25,40 50,80 75,40" fill="#FFA500" />
<animateTransform attributeType="xml"
attributeName="transform"
type="rotate"
from="0 50 50"
to="360 50 50"
dur="3s"
repeatCount="indefinite" />
<animate attributeType="xml"
attributeName="cy"
from="-20"
to="120"
dur="3s"
repeatCount="indefinite"
values="50;70;90;80;60;40;30;20;10;5;0;-20" />
<animate attributeType="xml"
attributeName="opacity"
from="1"
to="0"
dur="3s"
repeatCount="indefinite"
values="1;0.9;0.8;0.7;0.6;0.5;0.4;0.3;0.2;0.1;0" />
</svg>
And here's the base64 data URL for the SVG code:
bash
data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgd3NvLnhtbC1zdHlsZT0iZm9udC1zaXplOjEwMHB4OyIgeG1sbnM6c2Fucy1zZXJpZj0iMSI+CjxjaXJjbGUgY3g9IjUwIiBjeT0iNTAiIHJhZGlhbEdyYWRpZW50PSJmYWxzZSIvPgo8cG9saWN5IG9wYWNpdHk9ImNvbW1lbnQiIGN5PSI1MCIgciA9IjQwIiBmaWxsPSJyZWQiIC8+Cjxwb2x5Z29uIHBhcmFtZXRlcnM9IjI1LDQwIDUwLDggNzUsNDAiIGZpbGw9IiMzNDAwMDAiIC8+CjxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZVR5cGU9InhtbCIgYW5pbWF0ZVRocm91Z2g9InJvdGF0ZSIgYXR0cmlidXRlTGVmdD0icm90YXRlIiBmb3JtYXQ9IjAgNTAgNTAgIiB0bz0iMzYwIDUwIDI1MCIgdG8iMzYwIDM2IDIwIiBkdXI9IjNzIiByZWVzZXRDb3VudD0iaW5kZXgtaW5zaWRlIiAvPgo8YW5pbWF0ZSBhdHRyaWJ1dGVUbz0ieG1sIiBhdHRyaWJ1dGV