Press "Enter" to skip to content

Maze Generator that Detects a Random Image In jQuery

Maze Generator is a fun maze generator that reveals random background images. Built with vanilla web technologies.

generate random maze, multi level maze generator, maze generator, how to generate a maze, javascript maze generator, text maze generator

How to make use of it:

1. Create a container factor for the maze generator.

<div id="maze" class="shadow">
</div>

2. Load the maze.js after jQuery library.

<script src="/path/to/cdn/jquery.min.js"></script>
<script src="/path/to/maze.js"></script>

3. The needed CSS styles for the maze generator.

body {
  background-image: linear-gradient(147deg, #000000 0%, #272727 74%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

#maze {
  position: fixed;
}

.shadow {
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25), 0 2px 2px rgba(0, 0, 0, 0.2),
    0 4px 4px rgba(0, 0, 0, 0.15), 0 8px 8px rgba(0, 0, 0, 0.1),
    0 16px 16px rgba(0, 0, 0, 0.05);
}

#loader {
  height: 10px;
  border-radius: 10px;
  background-color: #00000078;
  width: 600px;
  position: fixed;
  top: 93%;
}

.cell {
  position: absolute;
  background-color: transparent;
  border: 1px solid transparent;
}

.top {
  border-top: 1px solid black;
}

.bottom {
  border-bottom: 1px solid black;
}

.right {
  border-right: 1px solid black;
}

.left {
  border-left: 1px solid black;
}

Random Maze Generator In jQuery, Maze Generator Plugin/Github, maze generator with rooms


See Demo And Download

Official Website(vikvikvr): Click Here

This superior jQuery/javascript plugin is developed by vikvikvr. For extra advanced usage, please go to the official website.

Be First to Comment

    Leave a Reply

    Your email address will not be published.