Spaces:
Running
Running
Update templates/index.html
Browse files- templates/index.html +2 -0
templates/index.html
CHANGED
@@ -81,6 +81,8 @@
|
|
81 |
<label>Size: <input type="range" id="creatureSize" min="0.5" max="2" step="0.1" value="1"></label><br>
|
82 |
<button onclick="applyChanges()">Apply</button>
|
83 |
</div>
|
|
|
|
|
84 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r134/three.min.js"></script>
|
85 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r134/examples/js/loaders/GLTFLoader.js"></script>
|
86 |
<script src="{{ url_for('static', filename='game.js') }}"></script>
|
|
|
81 |
<label>Size: <input type="range" id="creatureSize" min="0.5" max="2" step="0.1" value="1"></label><br>
|
82 |
<button onclick="applyChanges()">Apply</button>
|
83 |
</div>
|
84 |
+
<canvas id="gameCanvas"></canvas>
|
85 |
+
|
86 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r134/three.min.js"></script>
|
87 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r134/examples/js/loaders/GLTFLoader.js"></script>
|
88 |
<script src="{{ url_for('static', filename='game.js') }}"></script>
|