samu9 / mazeGL

Computer Graphics and 3D class assignment. A procedural infinite maze made in WebGL and Three.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mazeGL

An endless randomly generated maze made with WebGL and the Three.js library.

Just launch "index.html" to run.

Parameters (parameters.js)

  • blockDim: side size in pixels of the square shaped basic block.
  • gridDim: number of blocks rendered in each direction from the camera position.
  • lightColor: hex color of the torch light.
  • camSpeed: camera speed of movement.
  • wallEdge: threshold measured in pixels to detect wall collision.

About

Computer Graphics and 3D class assignment. A procedural infinite maze made in WebGL and Three.js


Languages

Language:JavaScript 99.6%Language:HTML 0.4%Language:CSS 0.0%