add three.js test scene

This commit is contained in:
CJSatnarine
2026-03-23 09:06:35 -04:00
parent d23ab2de05
commit 63cb5300fe
7 changed files with 85 additions and 16 deletions

28
templates/base.html Normal file
View File

@@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>The Study</title>
<link rel="stylesheet" href="/style.css">
<script type="importmap">
{
"imports": {
"three": "https://cdn.jsdelivr.net/npm/three@0.183.2/build/three.module.js",
"three/addons/": "https://cdn.jsdelivr.net/npm/three@0.183.2/examples/jsm/"
}
}
</script>
</head>
<body>
<section class="section">
<div class="container">
{% block content %}
{% endblock content %}
</div>
</section>
</body>
</html>

7
templates/index.html Normal file
View File

@@ -0,0 +1,7 @@
{% extends "base.html" %}
{% block content %}
<script type="module" src="/scripts/main.js"></script>
{% endblock content %}