The end credits from the video game Portal
recreated with pure JavaScript, browser windows, and a lot of patience.
- Time drifting (#2)
The browser will throttlesetTimeout()
when it deems a page as low-priority (running in the background etc.). This will cause all visuals to fall behind the music and appear as delayed. - Windows blocked (#3)
Pop-up blockers (built-in on most browsers) will prevent all- or some windows to open. You have to allow the page to "open multiple windows" in your browser for this demo to work. - Stacking windows on Chrome for Windows
Due to a bug in Chromium on Windows, browser windows will stack if the play button is clicked from a non-primary display.