v1.0 — first flight
Corridor, gates, crystals, motes, shields, boosts, five-sector difficulty curve, local high score, procedural music and effects, EN/KO interface, this guide.
Three.js · WebGL · no install
Three.js · endless flight
Thread the gates. Graze the crystals. Keep the combo alive for as long as the nebula lets you.
Holding position
The run pauses itself when you switch tabs.
Rendering the nebula
This browser has no WebGL, or the 3D library could not load. Try the latest Chrome, Safari, Edge or Firefox.
How to play
Celestial Glide is a corridor you never stop moving through. You cannot slow down and you cannot shoot — the only controls are where you are and when you spend speed. Every glowing ring is a gate you want to pass through the middle of; every dark crystal is a wall you want to miss.
Move the pointer over the canvas and the ship eases toward it. Release and it holds its line, so you can lift your hand between clusters.
Press and drag anywhere. Steering is relative — the ship moves with your finger instead of jumping under it, so your thumb never hides the thing you are avoiding.
Arrow keys or WASD nudge the aim, Space or Shift burns a boost charge, P pauses, M mutes. Enter starts and restarts.
A run ends when the last shield is gone. Nothing is installed, no account is created, and the page never asks for a file — the whole game is one HTML file and one JavaScript module.
Scoring
Score is distance multiplied by how well you are flying. The multiplier is the whole game: a clean chain of gates and near misses is worth several times the same distance dodged timidly.
| Action | Points |
|---|---|
| Gate through the centre | 150 × multiplier |
| Gold gate | 300 × multiplier, +2 boost |
| Near miss (crystal within 2 units) | 40 × multiplier |
| Light mote | 200 × multiplier, +1 boost or shield |
| Distance | 10 × multiplier per unit |
| Combo | +1× per 3 combo, up to ×8 |
A gate adds 2 combo, a near miss or mote adds 1, and any hit empties the chain. Combo is forgotten after five seconds without a gate or a graze, which is why the multiplier falls apart the moment you start playing safe.
Strategy
Look at the empty centre of a gate and steer for that. Aiming at the bright metal puts you on the rim, which costs a shield. Gates are generous — roughly six tenths of the radius counts as a clean pass.
A crystal only hurts at its own radius. Slipping past it with half a unit to spare pays 40 × multiplier and keeps the chain alive; swerving to the far side of the corridor pays nothing.
Boost multiplies the world's speed by 1.72, and distance is most of your score. Use it on a straight of gates you have already lined up, never in the middle of a crystal field where you have no time to read the next cluster.
Three shields, no regeneration except motes. Losing one is survivable; losing the chain of a ×6 multiplier to save it usually is not. When a gate and safety disagree, take the gate while you still have shields.
Every 700 units the corridor changes sector and the ship gets faster — obstacles arrive sooner and the safe gaps narrow. The first few seconds after the announcement are the right moment to stop chasing points and re-centre.
Inside the build
The page ships as one HTML file and two JavaScript modules. There is not a single image, model or audio file in the build: the sky is a fragment shader, the objects are primitives, and every sound is an oscillator. That is why it loads in a second and keeps working on a five-year-old phone.
One back-facing sphere runs a value-noise FBM — three octaves, slowly rotating, with a second layer of star specks. On a slow device the game drops to two octaves and a lower pixel ratio instead of dropping frames.
Nine gates, thirty crystals, six motes, 460 sparks and a starfield are allocated once at boot and recycled. Nothing is created while you fly, so there is no garbage-collection stutter mid-run.
A four-oscillator pad and a pentatonic arpeggio are scheduled ahead of time with the Web Audio clock; the reverb is a generated noise impulse. Gates, hits and boosts are short envelopes on the same graph.
Rendering is Three.js r169 with no post-processing pass — the glow comes from additive geometry rather than a bloom budget. Collisions are swept against the plane as an object crosses it, so a fast frame can never tunnel a crystal through the ship.
Update log
Corridor, gates, crystals, motes, shields, boosts, five-sector difficulty curve, local high score, procedural music and effects, EN/KO interface, this guide.
Relative touch steering, an on-screen boost button, compact HUD down to a 390 px viewport, and a quality watchdog that lowers resolution before it lowers the frame rate.
Daily seed runs with a shareable code, a second obstacle type, and a Korean-first landing page for the blog. Suggestions are welcome — the source is public.
FAQ
Yes. There is no account, no install, no in-game purchase and no advertisement inside the canvas. The page is a static file served from GitHub Pages.
It is built for it. Drag anywhere on the canvas to steer, tap the round boost button to spend a charge. The layout was checked at 390 × 844 and holds without sideways scrolling; iOS Safari, Chrome for Android and desktop Chrome, Safari, Firefox and Edge all run it.
In this browser only, under the localStorage key celestial-glide.hs. Nothing is transmitted: there is no analytics script, no cookie and no server to send it to. Clearing site data clears the record.
No. The scene is a few dozen meshes plus one shader sky, and it runs on integrated graphics. If the first ninety frames run slower than about 45 fps, the game lowers the render resolution by half a step and simplifies the nebula shader before you notice a stutter.
Yes — the speaker button in the top bar or the M key. Your choice is remembered for the next visit. Music starts only after you press Launch, so nothing plays on its own.
Three.js r169 for rendering; hand-written GLSL for the nebula, the crystals, the shield and the particles; the Web Audio API for every sound; about 1,400 lines of JavaScript in total. The same shelf of browser tools lives at /portfolio/tools/.