Skip to content

Import a 3D Model and automatically assign and export animations

TypeScript

Add WIP logo for now to get started

Scott Petrovic1152c882c963
diff --git a/README.md b/README.md
index ae07eca..8c3d142 100644
--- a/README.md
+++ b/README.md
@@ -17,6 +17,10 @@ There are instructions built into the web application, but this is the general f
npm install
node run dev
+## Creating a production build for the web
+We mostly just have typescript for this project, which web browsers cannot just read, so we need to do a build step to get everything ready for deploying. This project uses Vite for the web server and builder. See the vite.config.js for more info. This command will create a "dist" folder with all the files to serve to the web:
+
+ npm run build
## Vision/TODO
These are some ideas and directions I would like to go with this for the future:
diff --git a/art-source/mesh2motion.afdesign b/art-source/mesh2motion.afdesign
new file mode 100644
index 0000000..3dde066
Binary files /dev/null and b/art-source/mesh2motion.afdesign differ
diff --git a/src/index.html b/src/index.html
index e0939b1..2a824ef 100644
--- a/src/index.html
+++ b/src/index.html
@@ -16,6 +16,10 @@
<!-- Top toolbar with mouse controls -->
<div id="mouse-controls">
+ <div>
+ <span><a href="https://mesh2motion.org"><img src="images/mesh2motion.svg" width="200" style="vertical-align: middle;"/></a></span>
+ </div>
+
<div>
<span><img src="images/mouse-left.svg" height="35" width="35" style="vertical-align: middle;"/> Rotate (Left drag)</span>
</div>
diff --git a/static/images/mesh2motion.svg b/static/images/mesh2motion.svg
new file mode 100644
index 0000000..236ac71
--- /dev/null
+++ b/static/images/mesh2motion.svg
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg width="100%" height="100%" viewBox="0 0 1507 198" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
+ <g id="Artboard1" transform="matrix(0.735627,0,0,0.128605,0,0)">
+ <rect x="0" y="0" width="2048" height="1536" style="fill:none;"/>
+ <g transform="matrix(1.30352,0,0,7.77578,-477.213,-5037.29)">
+ <path d="M1924.28,707.297L1924.28,798.342C1924.28,801.133 1921.92,803.4 1919.01,803.4L1629.05,803.4C1626.14,803.4 1623.78,801.133 1623.78,798.342L1623.78,707.297C1623.78,704.506 1626.14,702.239 1629.05,702.239L1919.01,702.239C1921.92,702.239 1924.28,704.506 1924.28,707.297Z" style="fill:white;"/>
+ </g>
+ <g transform="matrix(1.35938,0,0,7.77578,116.004,-3149.13)">
+ <g transform="matrix(155.762,0,0,155.762,1085.8,559.729)">
+ </g>
+ <text x="481.007px" y="559.729px" style="font-family:'Boldfinger';font-size:155.762px;fill:white;">motion</text>
+ </g>
+ <g transform="matrix(1.35938,0,0,7.77578,1027.41,-3345.52)">
+ <g transform="matrix(82,0,0,82,706.427,559.729)">
+ </g>
+ <text x="481.007px" y="559.729px" style="font-family:'Consolas-Bold', 'Consolas';font-weight:700;font-size:82px;fill:rgb(66,66,66);">ALPHA</text>
+ </g>
+ <g transform="matrix(2.29493,0,0,13.1271,-534.876,-5878.96)">
+ <g transform="matrix(155.762,0,0,155.762,563.25,559.729)">
+ </g>
+ <text x="481.007px" y="559.729px" style="font-family:'DynaPuff-Regular', 'DynaPuff';font-size:155.762px;fill:white;">2</text>
+ </g>
+ <g transform="matrix(1.35938,0,0,7.77578,-628.942,-3164.4)">
+ <g transform="matrix(155.762,0,0,155.762,881.441,559.729)">
+ </g>
+ <text x="481.007px" y="559.729px" style="font-family:'Boldfinger';font-size:155.762px;fill:white;">Mesh</text>
+ </g>
+ </g>
+</svg>