feat(html/js): setup canvas for both babylon and p5js
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -2,12 +2,24 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="stylesheet" type="text/css" href="/css/style.css" />
|
||||
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Vite App</title>
|
||||
<title>Untitled Maze Game</title>
|
||||
</head>
|
||||
<body>
|
||||
<body class="maze-page">
|
||||
<main class="maze-layout">
|
||||
<section class="panel">
|
||||
<div class="panel-label">Babylon Scene</div>
|
||||
<canvas id="renderCanvas"></canvas>
|
||||
</section>
|
||||
|
||||
<section class="panel">
|
||||
<div class="panel-label">p5 Control Panel</div>
|
||||
<div id="p5-panel"></div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<script type="module" src="/src/multi_sketch.js"></script>
|
||||
<canvas id="renderCanvas"></canvas>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user