Portal
An AR arcade: a tap on the floor opens a doorway, cubes fly out of it at the player — catch the green ones with a tap and dodge the red ones.
- Status
- Running
- Type
- Game
- Platforms
- Mobile
- Technology
- 8th Wall · A-Frame · three.js
- Updated
- 11 September 2026
What it is
The first of three AR demos on 8th Wall: a short arcade where the space around you becomes a playing field. A tap on the floor sets an anchor, a “portal” unfolds from it, and cubes start coming at the player through it.
How to play
- Tap the floor — places the portal on a real surface.
- Green cube — catch it with a tap; each one scores a point.
- Red cube — stay out of its way: tapping it and letting it come closer than a couple of metres to the camera each cost one of your three lives.
What is inside
Cubes appear roughly every 1.3 seconds, and about half of them are green. The target is fixed at the moment a cube spawns, not at the moment it is hit, so you can dodge with your body: the cube flies to where you were, not to where you have moved. The scoring, lives and portal logic lives in src/cubes.js and src/index.html of the repository.
Stack
- 8th Wall (SLAM, camera access)
- A-Frame (scene)
- three.js (rendering)