<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Hello World Roller Coaster</title>
<style>
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}
body{font-family:system-ui,sans-serif;color:#fff;background:#10052b;animation:bg 9s infinite alternate;isolation:isolate}
@keyframes bg{to{background:#071d3e}}
.sky{position:fixed;inset:0;overflow:hidden;z-index:-1}
.star{position:absolute;width:5px;height:5px;border-radius:50%;background:#fff;box-shadow:0 0 12px #fff;animation:twinkle 1.5s infinite alternate}
@keyframes twinkle{to{opacity:.18;transform:scale(2)}}
.star:nth-child(1){left:8%;top:18%}.star:nth-child(2){left:18%;top:72%;animation-delay:.4s}.star:nth-child(3){left:31%;top:12%;animation-delay:.9s}.star:nth-child(4){left:47%;top:28%;animation-delay:.2s}.star:nth-child(5){left:67%;top:13%;animation-delay:1s}.star:nth-child(6){left:81%;top:67%;animation-delay:.5s}.star:nth-child(7){left:92%;top:22%;animation-delay:.8s}
main{height:100%;display:flex;flex-direction:column;align-items:center}
header{text-align:center;padding:clamp(18px,4vw,38px) 15px 0;z-index:2}
h1{font-size:clamp(2.4rem,8vw,6.8rem);line-height:.9;margin:0;font-weight:1000;letter-spacing:-.08em;text-transform:uppercase;color:#fff;text-shadow:4px 4px 0 #ff2975,8px 8px 0 #5b2cff;animation:jiggle 1.1s infinite alternate}
@keyframes jiggle{to{transform:rotate(-1.5deg) scale(1.025)}}
.tag{margin:.8rem 0 0;font-weight:800;letter-spacing:.16em;color:#ffe66d;font-size:clamp(.7rem,2vw,1rem)}
.ride{width:min(1200px,100%);flex:1;min-height:0;position:relative}
svg{width:100%;height:100%;display:block}
.track{fill:none;stroke:#ff3cac;stroke-width:20;stroke-linecap:round;stroke-linejoin:round;filter:url(#glow)}
.track2{fill:none;stroke:#ffe66d;stroke-width:7;stroke-linecap:round;stroke-dasharray:2 18}
.support{stroke:#806cff;stroke-width:7;opacity:.6}
#train{filter:url(#glow);transition:filter .2s}
.car{fill:#ffec54;stroke:#16102f;stroke-width:5}
.wheel{fill:#fff;stroke:#16102f;stroke-width:4}
.face{font-size:26px}
.burst{fill:#fff;opacity:0;transform-origin:center;animation:burst 2.2s infinite}
@keyframes burst{0%,70%{opacity:0;transform:scale(.2)}80%{opacity:1;transform:scale(1.2)}100%{opacity:0;transform:scale(1.8)}}
.sign{font-size:34px;font-weight:1000;fill:#fff;stroke:#20103c;stroke-width:9;paint-order:stroke;text-anchor:middle}
.controls{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);display:flex;gap:10px;z-index:4}
button{border:0;border-radius:999px;padding:13px 20px;font:900 1rem system-ui;color:#190d35;background:#ffe66d;box-shadow:0 5px 0 #ff2975;cursor:pointer}
button:hover,button:focus-visible{transform:translateY(-3px);outline:3px solid #fff;outline-offset:3px}
#status{position:fixed;right:16px;top:16px;font-size:.8rem;font-weight:800;color:#bffcff}
body.chaos{animation-duration:1.2s}
body.chaos h1{animation-duration:.23s}
body.chaos .track{stroke:#00f5d4}
@media(max-width:600px){.ride{height:66vh;flex:none;margin-top:5vh}.sign{font-size:28px}.controls{bottom:14px}button{padding:11px 15px;font-size:.9rem}}
</style>
</head>
<body>
<div class="sky" aria-hidden="true">
<i class="star"></i><i class="star"></i><i class="star"></i><i class="star"></i><i class="star"></i><i class="star"></i><i class="star"></i>
</div>
<main>
<header>
<h1>Hello World!</h1>
<div class="tag">now boarding the absolutely unnecessary express 🚀</div>
</header>
<section class="ride" aria-label="Animated roller coaster">
<svg viewBox="0 0 1200 700" role="img" aria-label="A tiny roller coaster zooming through the words Hello World">
<defs>
<filter id="glow"><feGaussianBlur stdDeviation="7" result="b"/><feMerge><feMergeNode in="b"/><feMergeNode in="SourceGraphic"/></feMerge></filter>
<linearGradient id="carpaint" x2="1" y2="1"><stop stop-color="#ffef5a"/><stop offset="1" stop-color="#ff7b54"/></linearGradient>
<path id="coaster" d="M70 520 C110 470 120 200 220 190 C320 180 280 520 390 520 C470 520 430 100 540 100 C650 100 590 590 740 560 C840 530 760 250 900 260 C1040 270 890 520 1130 500"/>
</defs>
<g class="supports" aria-hidden="true">
<path class="support" d="M130 520V650M220 190V650M390 520V650M540 100V650M740 560V650M900 260V650M1030 505V650"/>
<path class="support" d="M90 650h1060" stroke-dasharray="18 14"/>
</g>
<use href="#coaster" class="track"/>
<use href="#coaster" class="track2"/>
<text x="610" y="55" class="sign">WHEEEEEEE!!!</text>
<g class="burst" font-size="45"><text x="160" y="125">✦</text><text x="1010" y="170">✧</text><text x="690" y="210">✹</text></g>
<g id="train">
<g transform="translate(-54 0)"><rect class="car" x="-30" y="-31" width="61" height="34" rx="12"/><circle class="wheel" cx="-15" cy="7" r="9"/><circle class="wheel" cx="17" cy="7" r="9"/></g>
<rect class="car" x="-29" y="-35" width="58" height="38" rx="12" fill="url(#carpaint)"/>
<circle class="wheel" cx="-15" cy="8" r="9"/><circle class="wheel" cx="16" cy="8" r="9"/>
<text x="0" y="-6" text-anchor="middle" class="face">😵</text>
</g>
</svg>
</section>
<div class="controls">
<button id="go">▶ Launch!</button>
<button id="chaos">⚡ More chaos</button>
</div>
<div id="status" aria-live="polite">READY TO SCREAM</div>
</main>
<script>
const path=document.querySelector('#coaster'),train=document.querySelector('#train'),go=document.querySelector('#go'),chaos=document.querySelector('#chaos'),status=document.querySelector('#status');
let length=path.getTotalLength(), progress=0, running=true, wild=false, last=0;
function ride(t){
if(!last)last=t;
if(running){progress+=(t-last)*(wild?.00042:.00022);if(progress>1)progress=0}
let p=path.getPointAtLength(progress*length), p2=path.getPointAtLength(Math.min(length,progress*length+2));
let angle=Math.atan2(p2.y-p.y,p2.x-p.x)*180/Math.PI;
train.setAttribute('transform',`translate(${p.x} ${p.y}) rotate(${angle})`);
last=t;requestAnimationFrame(ride)
}
go.onclick=()=>{running=!running;go.textContent=running?'Ⅱ Pause':'▶ Launch!';status.textContent=running?'HANG ON!':'COASTER PAUSED'};
chaos.onclick=()=>{wild=!wild;document.body.classList.toggle('chaos',wild);chaos.textContent=wild?'✨ Maximum chaos':'⚡ More chaos';status.textContent=wild?'WOOOOO! TURBO MODE':'READY TO SCREAM'};
requestAnimationFrame(ride);
</script>
</body>
</html>
Nothing. This page is entirely self-contained and contacts no other website when it runs.
Published on Globefin under the MIT License. You may copy, change, and reuse this page, including commercially — just keep the notice below with it.
Copyright © 2026 Colin Carey. Licensed under the MIT License. Published on Globefin.
Provided as is, without warranty. Any external libraries it loads keep their own licences. Terms →
Scripts run, but the demo has its own throwaway origin. It can't read your session or cookies, can't reach the page around it, and can't navigate your tab. Don't enter real passwords or personal data into any demo.