here is the script I used: https://loading.io/js/console-logo.js
I just adopted your code snippet together with our svg logo, and use our service to apply css animation on it.
as for safari, It looks like to be cut by its own dimension so I made a quick fix to slightly adjust the svg’s width and height, it looks correct now. thanks for the reminder! :)