Skip to content

webgl and javascript implementation of random mazes to solve in first person.

License

Notifications You must be signed in to change notification settings

intabli/AR_EXP2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maze simulator is a first person, three-dimensional, take on solving a two-dimensional maze implemented with JavaSctript and WebGL. The maze is generated from a matrix of cells using loop-erased random walks (aka Wilsons algorithm). Parameters of the maze can be modified including maze dimensions, cell size, wall thickness, wall height, material lighting, textures, player height, player speed, player acceleration and mouse sensitivity. The player's initial position is on the opposite corner from the exit. When the player exits the maze, the game is terminated.
Collision detection is computed on a cell to cell bases. Each cell includes a set of four binary values representing the existence of a wall in each cardinal direction. The player's global position is used to calculate current cell which is the basis for computing the collision detection. 

About

webgl and javascript implementation of random mazes to solve in first person.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 89.6%
  • HTML 10.4%