I am too hungry.
With animation (I'm bad at that, inspired by this one from @Alexandr_TT)
<svg width="200" height="200" fill="none" viewBox="0 0 125 125" xmlns="http://www.w3.org/2000/svg" style="border:0px solid">
<image xlink:href="https://lh3.googleusercontent.com/-noQwojQppnY/AAAAAAAAAAI/AAAAAAAAACs/59RU8UyHFSk/photo.jpg?sz=256" width="75%" height="75%" style="transform: translate(12.5px, 12.5px)" />
<image xlink:href="https://i.sstatic.net/L54fZ.png" transform="translate(-35 -25)" width="150%" height="150%" >
<!--<animateTransform attributeName="transform" type="translate" values= "-25 -25" begin="0.25s" dur="4s" fill="freeze" repeatCount="indefinite" />-->
<animateTransform
attributeName="transform"
attributeType="XML"
type="rotate"
from="0 100 105"
to="360 100 105"
dur="10s"
repeatCount="indefinite" additive="sum" />
</image>
</svg>
Alternative/improved version by by @Alexandr_TT:
<svg width="300" height="300" fill="none" viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" >
<image xlink:href="https://lh3.googleusercontent.com/-noQwojQppnY/AAAAAAAAAAI/AAAAAAAAACs/59RU8UyHFSk/photo.jpg?sz=256" width="90%" height="90%" style="transform: translate(0px, -32px)" />
<!-- star -->
<image id="star" xlink:href="https://i.sstatic.net/tVcLK.png" width="90%" height="90%" >
<animateTransform
attributeName="transform"
attributeType="XML"
type="rotate"
from="0, 95, 100"
to="360, 95, 100"
dur="6s"
repeatCount="indefinite" additive="sum" />
</image>
</svg>
This version eliminates clipping of stellar rays during rotation while making sure that eat()
, sleep()
and code()
is in the center of the star when rotating.