Aurora Curtain
Vertical luminous threads swaying like aurora borealis curtains with warm-to-cool color gradient.
What is Aurora Curtain?
Aurora Curtain is a free WebGL web effect in the TappyPrism library. Vertical luminous threads swaying like aurora borealis curtains with warm-to-cool color gradient. It is rendered on the GPU by a fragment shader, so it costs almost nothing on the CPU and works well as a full-screen background. It ships as a single self-contained HTML file (aurora-curtain.html) with zero dependencies — no npm package, no framework, no build step. It exposes 4 live parameters — Wave Speed, Curtains, Amplitude, Rotation — adjustable in the browser or at runtime.
Parameters
| Parameter | Key | Range | Default |
|---|---|---|---|
| Wave Speed | WAVE_SPEED | 0.2 – 3 | 1 |
| Curtains | LINE_COUNT | 3 – 12 | 6 |
| Amplitude | AMPLITUDE | 0.2 – 2 | 1 |
| Rotation | ROTATION | -1.57 – 1.57 | 0 |
How to add Aurora Curtain to your page
- Download the standalone file aurora-curtain.html and copy its source into your project.
- Or embed it as a background iframe:
<iframe src="https://prism.tappypotato.com/fx/aurora-curtain.html" style="position:fixed;inset:0;width:100%;height:100%;border:0;z-index:-1" title="Aurora Curtain"></iframe> - Tune it at runtime with postMessage:
iframe.contentWindow.postMessage({ type: 'param', name: 'WAVE_SPEED', value: 1 }, '*');
Frequently asked questions
What is Aurora Curtain?
Aurora Curtain is a free WebGL web effect in the TappyPrism library. Vertical luminous threads swaying like aurora borealis curtains with warm-to-cool color gradient. It is rendered on the GPU by a fragment shader, so it costs almost nothing on the CPU and works well as a full-screen background. It ships as a single self-contained HTML file (aurora-curtain.html) with zero dependencies — no npm package, no framework, no build step. It exposes 4 live parameters — Wave Speed, Curtains, Amplitude, Rotation — adjustable in the browser or at runtime.
How do I add Aurora Curtain to my website?
Download the standalone file at https://prism.tappypotato.com/fx/aurora-curtain.html and copy its source into your page, or embed it as a background iframe: <iframe src="https://prism.tappypotato.com/fx/aurora-curtain.html" style="position:fixed;inset:0;width:100%;height:100%;border:0;z-index:-1" title="Aurora Curtain"></iframe>. Tune it live with postMessage, e.g. iframe.contentWindow.postMessage({ type: 'param', name: 'WAVE_SPEED', value: 1 }, '*').