Hacker News new | ask | show | jobs
by kevincox 886 days ago
I was looking at the source to see if it was randomly generated or randomly selected from pre-generated animations (it is the latter) and saw this odd anyalytics tag:

    Script blocked by Cloudflare, check the site yourself.
And I have a few questions.

1. It requests the script from Google unconditionally.

2. `doNotTrack` is just hardcoded to false. My browser sends the header, so it isn't server-inserted (at least not in a way that works).

So what is it trying to do?

2 comments

Indeed, all those animations are pre-rendered videos embedded in the page, which are then randomly selected. I find shadertoy [1] really impressive, given that those animations are calculated/rendered in real-time.

A while ago after being impressed by shadertoy I've built a website (now offline) with a shader as a background using Tree.js [2]. The website was showing caustics - constantly-changing ridges of light produced on the bottom of the pool/lake/sea when light passes through the waves (similar to [3]). People visiting it were always assuming those are pre-rendered videos and were genuinely surprised that their N-years old phone is capable of running that shader in real-time flawlessly.

1. https://www.shadertoy.com/browse (click Hot or Popular button to sort)

2. https://threejs.org/docs/#api/en/materials/ShaderMaterial

3. https://www.shadertoy.com/view/wlc3zr

Shadertoy is a blast, and if you use KDE, you can make your wallpaper use it[0]

0. https://github.com/y4my4my4m/kde-shader-wallpaper

just block the GA stuff