BLOCKDECK Jeep HorrorAll games

WEBGL MAZE

Astray WebGL Maze

Play Astray, a WebGL maze game built with Three.js and Box2dWeb. Use the arrow keys to move the ball and find each exit.

  • 3D maze
  • WebGL
  • Open source
Astray gameplay screenshot
Game preview · source linked below
Astray game cover

WEBGL MAZE

Play Astray online

Move the ball through a dark 3D maze and find the exit.

Selecting Play connects to wwwtyro / Astray, which may use its own storage or network services. Game privacy details.

AS
AstrayGitHub Pages · Unlicense

Game guide

How to play Astray WebGL Maze

Astray is a WebGL maze game by wwwtyro, built with Three.js for the scene and Box2dWeb for physics. Use the arrow keys to push the ball through the passages; H, J, K and L are also supported.

Game type3D physics maze
TechnologyThree.js and Box2dWeb
Project licenseUnlicense
  1. Load the maze. Select Play Astray and wait for the WebGL scene to appear. The game needs browser graphics support.
  2. Find a route. Locate the ball and trace a path through the visible walls toward the exit before making a long move.
  3. Steer with short inputs. Use the arrow keys or H, J, K and L to apply force to the ball. Hold I when you want to display the built-in instructions.

Arrow-key controls and growing mazes

Three.js draws the 3D scene while Box2dWeb supplies the ball physics. Reaching the exit starts another level with a maze that is two cells wider and two cells taller. If the scene stays blank, try a browser with WebGL enabled or open the original demo from the project link.

Astray source and license

Astray is loaded from wwwtyro's GitHub Pages demo. The public repository describes it as a WebGL maze built with Three.js and Box2dWeb and marks the project with the Unlicense. Blockdeck embeds the published demo and links back to the original repository.

Open the original Astray project ↗