JSFiddle - React, Tailwind, and code Playground

by Sergey khorev

HTML

<div id="loop"></div>

JavaScript

var f = [], i;

            for (i = 0; i < 12; i ++) {
                f.push(String.fromCodePoint(0x1F550 + i));
                //f.push(String.fromCodePoint(0x1F550 + i + 12)); // half hours
            }

            function loop() {
                location.hash = f[Math.floor((Date.now()/100)%f.length)];

                setTimeout(loop, 50);
            }

            window.addEventListener('load', function () {
                loop();
            });