Skip to content

Commit

Permalink
deploy: a0ccc75
Browse files Browse the repository at this point in the history
  • Loading branch information
jwt2706 committed Mar 17, 2024
1 parent 9c1ffa6 commit 948ec0c
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 57 deletions.
1 change: 1 addition & 0 deletions assets/main-BBjYhFB8.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 21 additions & 21 deletions assets/main-XI5Lfv-V.js → assets/main-D28AjTYG.js

Large diffs are not rendered by default.

51 changes: 15 additions & 36 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,45 +5,24 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="A 3D maze pathfinding visualization. Generate a 3D maze and visualize the pathfinding algorithm in action.">
<title>3D Maze Pathfinding</title>
<style>
body {
margin: 0;
overflow: hidden;
position: relative;
}
canvas { display: block; }
.container {
position: absolute;
top: 10px;
left: 10px;
background-color: rgba(255, 255, 255, 0.8);
padding: 10px;
border-radius: 5px;
}
.item {
font-size: 18px;
padding: 5px;
display: inline-block;
}
@media (max-width: 650px) {
.item {
display: block;
}
}
</style>
<script type="module" crossorigin src="/3DMazePathfinding/assets/main-XI5Lfv-V.js"></script>
<script type="module" crossorigin src="/3DMazePathfinding/assets/main-D28AjTYG.js"></script>
<link rel="stylesheet" crossorigin href="/3DMazePathfinding/assets/main-BBjYhFB8.css">
</head>
<body>
<div class="container">
<label for="mazeWidth" class="item">Width:</label>
<input type="number" id="mazeWidth" value="9" min="3" class="item">
<label for="mazeHeight" class="item">Height:</label>
<input type="number" id="mazeHeight" value="9" min="3" class="item">
<label for="mazeDepth" class="item">Depth:</label>
<input type="number" id="mazeDepth" value="9" min="3" class="item">
<label for="wallIntensity" class="item">Wall Intensity:</label>
<input type="range" id="wallIntensity" value="0.2" min="0.2" max="0.5" step="0.01" class="item">
<button id="generateButton" class="item">Generate and Solve Maze</button>
<button id="toggleControls" class="item">View Controls</button>
<div id="controls">
<label for="mazeWidth" class="item">Width:</label>
<input type="number" id="mazeWidth" value="9" min="3" max="18" class="item">
<label for="mazeHeight" class="item">Height:</label>
<input type="number" id="mazeHeight" value="9" min="3" max="18" class="item">
<label for="mazeDepth" class="item">Depth:</label>
<input type="number" id="mazeDepth" value="9" min="3" max="18" class="item">
<label for="wallIntensity" class="item">Wall Intensity:</label>
<input type="range" id="wallIntensity" value="0.2" min="0.2" max="0.5" step="0.01" class="item">
<button id="generateButton" class="item">Generate and Solve Maze</button>
</div>
<div id="notification" class="notification">Path Found!</div>
</div>
</body>
</html>

0 comments on commit 948ec0c

Please sign in to comment.