A single-page casino slot machine that sends the visitor to a random paper from a curated set of Yohan Jo (HOLI) Lab publications.
Made to live behind a QR code (e.g. printed on a t-shirt for a conference): scan it β pull the lever β win a paper.
index.htmlis fully self-contained β no network needed to pick a paper, so it works even on flaky conference Wi-Fi.- The visitor taps the lever (or anywhere on the cabinet); the title reel and three symbol reels spin and land on a random paper, with a JACKPOT flash, confetti, and a short Web-Audio jingle.
- After landing it shows the paper title, a glowing OPEN PAPER β button, and a 3-second auto-redirect to that paper's link.
The set is hardcoded in the PAPERS array near the top of the <script> in
index.html (11 papers as of this writing). To add/remove/replace a paper, edit
that array β each entry is {t: "Title", u: "https://link"}. The reel and symbol
counts adapt automatically.
Note: unlike the earlier version, this page no longer live-fetches the whole publication list β it only shows the curated
PAPERS.
?stayβ spin and land, but don't auto-redirect (shows the choice).?demoβ auto-pull the lever on load (no tap needed).
These can be combined: index.html?demo&stay.
- Push to
main. - GitHub β repo Settings β Pages β Source: Deploy from a branch,
Branch
main// (root).
Live URL: https://holi-lab.github.io/random_box/ β point the QR code here.