feat: Proof of concept for displaying wrl files (#10)

Mostly works on VRML97 and up files. Unfortunately, many of the target files are VRML 1.0,
so an on-the-fly converter will be needed. The strategy for that is to translate the converter in Wings 3D.

Resolves #9.

Reviewed-on: #10
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Co-committed-by: Glen Whitney <glen@studioinfinity.org>
This commit is contained in:
Glen Whitney 2023-08-31 05:30:41 +00:00 committed by Glen Whitney
parent 97f7138d7b
commit 9107c82f13
12 changed files with 2827 additions and 0 deletions

14
public/hartPoly.html Normal file
View file

@ -0,0 +1,14 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Archematics demo</title>
<script src="js/giveAwrl.js" type="module"></script>
</head>
<body>
<p>Here is a
<a href="http://127.0.0.1:8080/assets/hartWings.wrl">Hart polyhedron
</a>.
</p>
</body>
</html>