Guide · Technology

How 3D games work in your browser

A 3D game draws a new picture of a virtual world many times a second. Here is what goes into each picture.

Sep 25, 2026ZIBADISPLAY2 min read

The ingredients

  • Meshes — shapes made of many small triangles: a chess piece, a card, a maze wall.
  • Materials — how a surface looks: its colour, how shiny or rough it is, and any picture (texture) printed on it.
  • Lights — virtual sun and sky lights, which also cast shadows.
  • A camera — the point of view. Dragging or pinching on our boards moves this camera.

Frames

The computer redraws the scene about 60 times a second. Movement — a piece sliding, a die tumbling — is a position changing slightly from one frame to the next.

In the browser

Modern browsers can use the graphics chip through WebGL. The ZIBADISPLAY games use three.js, an open-source library that makes WebGL easier to use, served from this site itself. Everything runs on your own device; nothing you do is sent anywhere.

Share this guide
Published by

ZIBADISPLAY — the entertainment reference of the ZIBADIS network, founded by Masoud Moghaddam.

About us · Suggest a correction

New guides

Get new ZIBADISPLAY guides

Follow the ZIBADIS channel on Telegram, or email us to join the mailing list for new guides.