GithubHelp home page GithubHelp logo

labyrinth's Introduction

Simple maze generator. Only support rectangular mazes. Uses a custom algorithm

Usage

Resize the window to create a new maze with a new size.

Roadmap

  • Create a SVG+CSS renderer to be resolution independent.
  • Add printing (easier using SVG)
  • Allow user to draw his path from the start point to the end. Use Touch Events and mouse as input.
  • Use Web Workers for maze creation.
  • Add a mode to visualize the growing of the algorithm (was done before pretty badly), use a custom color scheme for each frame instead of stopping the algorithm.

Easter egg

Add #colors to the end of the URL for a visual surprise (be patient, it can take dome time to render).

For developers

labyrinth.js is a maze generator

You pass it parameters to erase the default ones. Most notably: size and starting point.

labyrinth-canvas-renderer.js is a renderer for generated maze

You pass it parameters to render the maze, most notably: square colors and size. You can specify a custom color scheme with the colorScheme parameter.

labyrinth's People

Contributors

steren avatar

Stargazers

Manda Putra avatar Aziz Ramos avatar

Watchers

 avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.