Skip to content

Create your own graphs  #72

@alexespejo

Description

@alexespejo

Go Here to build your graphs: Graph Creator

For the graph portion of this project I want to do a visualization similar to this Click Here

The user will have a maze that will be traversed. Throughout the maze there are markers or checkpoints that will help visualize the graph traversal. Something like this:

I think it'd be cool if all of us to create our own mazes as like a fun easter egg (also because creating a maze algorithm is hard lol).

I created a little game to create the mazes and at the bottom is the 2D array code that you can clipboard.

image

Instructions

~ at least 3 graphs per person would be good, but you can create as many as you would like

  1. Go to the Graph Creator
  2. The switches at the top will help you toggle elements to generate onto the maze
image
  1. Create the walls of your maze, you can use any shape or patter you'd like, the columns and row switches are just to make long walls quickly
  2. Place a starting positiion for our algorithm (only one can be placed)
  3. Place checkpoints around the maze, as close or as far from the starting position as you'd like, and ideally reachable.
  4. To save your graph I want you to create a separate file (not in the project) copy and paste the array code at the bottom of the screen and paste the array into the file.
//example.js 
let alexGraph_1 = [...]
let alexGraph_2 = [...]
  1. Once you're done just foward me the file with all of your mazes.

Copy your maze here:
image

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions