Horizons

Parallax scene, without JavaScript

The composition is there: the eleven plates are at their depths, the light and the vignette are in place. All that is missing is the tilt, because that is the only thing the script brings.

What the script does, and nothing else: it turns the pointer position into two numbers between −1 and 1, damps them, and writes them into --pxs-pointer-x and --pxs-pointer-y. At rest those two numbers are 0 — the value the stylesheet already carries. That is why this page is not a degraded version: it is the scene at rest.

Back to the full demonstration