3 ms·
Can someone explain how they managed to do this? I've never seen anything like it! Perhaps all the text is rendered via JS and re-rendering in an infinite loop
by YPCrumble 6y ago
Can someone explain how they managed to do this? I've never seen anything like it!
Perhaps all the text is rendered via JS and re-rendering in an infinite loop where the CSS switches the padding of the div surrounding the text back and forth by ~5px at each point in the loop?
- softfalcon 6y agoIt could definitely be in an infinite loop if it's running a webgl context. Many (including myself) have tied into window.requestAnimationFrame(...) recursively forever. This lets the page breathe, but always call back into your main game loop to update the webgl render context/canvas.