Update README.md

This commit is contained in:
Victor Westerlund 2021-10-31 16:07:52 +01:00 committed by GitHub
parent a03ead82d7
commit 4295183a67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,3 +1,11 @@
<h1 align="center">Still Alive</h1>
<p align="center">A JavaScript implementation of the <a href="https://web.archive.org/web/20210929222906/https://www.youtube.com/watch?v=Y6ljFaKRTrI">end credits</a> from the video game <a href="https://en.wikipedia.org/wiki/Portal_(video_game)"><code>Portal</code></a></p>
<p align="center"><img width="200" src="https://storage.googleapis.com/public.victorwesterlund.com/github/VictorWesterlund/still-alive/still-alive-f.svg"/></p>
<h3 align="center"><strong>Still Alive</strong></h3>
<p align="center"><i>The <a href="https://web.archive.org/web/20210929222906/https://www.youtube.com/watch?v=Y6ljFaKRTrI">end credits song</a> from the video game <a href="https://en.wikipedia.org/wiki/Portal_(video_game)">Portal</a><br>done with pure JavaScript, browser windows, and a lot of patience.</i></p>
<p align="center"><a href="https://victorwesterlund.github.io/still-alive/"><strong>Take me to the demo 🍰</strong></a></p>
<img src="https://user-images.githubusercontent.com/35688133/139586996-06eaa0cd-0c99-4e14-ba9d-2649e56c421f.png"/>
<h2>Known limitations</h2>
<ul>
<li><strong>Time drifting</strong><br>The browser will throttle <code>setTimeout()</code> 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.</li>
<li><strong>Windows blocked</strong><br>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.</li>
<li><strong>Stacking windows on Chrome for Windows (the OS)</strong><br>Due to a <a href="https://bugs.chromium.org/p/chromium/issues/detail?id=137681">bug in Chromium on Windows</a>, browser windows will stack if the play button is clicked from a non-primary display.</li>
</ul>