YH

Celestial Glide

Three.js · WebGL · no install

Score
0
Best0
Sector1
Speed0
Mult×1
Shield
Boost
How to play ↓

Three.js · endless flight

Celestial Glide

Thread the gates. Graze the crystals. Keep the combo alive for as long as the nebula lets you.

MouseMove to steer — the ship follows your cursor.
TouchDrag anywhere. The offset keeps your thumb off the ship.
KeysArrows or WASD, Space to boost, P to pause.
3 shields3 boosts×8 max combono install
Best 0 Runs 0

Holding position

Paused

The run pauses itself when you switch tabs.

Run complete

0
New record
0Best
0Gates
×1Peak mult
0 uDistance flown
Read the strategy guide ↓

Rendering the nebula

The sky will not open

This browser has no WebGL, or the 3D library could not load. Try the latest Chrome, Safari, Edge or Firefox.

How to play

Three ways in, one rule: the ring is safe, the crystal is not

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.

Mouse & trackpad

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.

Touch screen

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.

Keyboard

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

What the numbers actually mean

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.

ActionPoints
Gate through the centre150 × multiplier
Gold gate300 × multiplier, +2 boost
Near miss (crystal within 2 units)40 × multiplier
Light mote200 × multiplier, +1 boost or shield
Distance10 × 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

Five habits that move a score from 20k to 80k

  1. Aim for the hole, not the ring

    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.

  2. Graze instead of dodging wide

    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.

  3. Spend boost where it cannot be punished

    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.

  4. Treat a shield as a resource, not a life

    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.

  5. Read a sector change as a speed step

    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

A nebula with no texture files

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.

Shader sky

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.

Pooled objects

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.

Synthesised audio

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

What changed, and when

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.

Mobile pass

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.

Next up

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

Questions about the game

Is Celestial Glide really free?

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.

Does it work on a phone?

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.

Where is my high score stored?

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.

Do I need a graphics card?

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.

Can I play without sound?

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.

What is it built with?

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/.