Skip to content

Import a 3D Model and automatically assign and export animations

TypeScript

update logo. more desktop style cleanup

Scott Petrovic653525772aa2
diff --git a/src/create.html b/src/create.html
index bb1698f..e9f95ec 100644
--- a/src/create.html
+++ b/src/create.html
@@ -27,7 +27,7 @@
<nav>
<div style="display: inline-flex; align-items: center">
<a id="logo-branding" href="https://mesh2motion.org"
- ><img src="./images/mesh2motion.svg" width="200"
+ ><img src="./images/mesh2motion.svg" width="130" alt="Mesh2Motion logo"
/></a>
<a href="/">Explore</a>
<span class="active-nav-item">Use Your Model</span>
diff --git a/src/desktop.css b/src/desktop.css
index b1a2558..56598a0 100644
--- a/src/desktop.css
+++ b/src/desktop.css
@@ -1,6 +1,8 @@
/* desktop code to go here */
#nav-support-mesh2motion,
-#nav-github
+#nav-github,
+#learn-link,
+#m2m-model-github-link
{
display: none;
}
diff --git a/src/index.html b/src/index.html
index 9a3b99b..eae9928 100644
--- a/src/index.html
+++ b/src/index.html
@@ -21,7 +21,9 @@
<nav>
<div style="display: inline-flex; align-items: center;">
- <a id="logo-branding" href="https://mesh2motion.org"><img src="./images/mesh2motion.svg" width="200" /></a>
+ <a id="logo-branding" href="https://mesh2motion.org">
+ <img src="./images/mesh2motion.svg" width="130" alt="Mesh2Motion logo" />
+ </a>
<span class="active-nav-item">Explore</span>
<a href="/create.html">Use Your Model</a>
<a href="/retarget/index.html">Use Your Rigged Model</a>
diff --git a/src/retarget/index.html b/src/retarget/index.html
index b380d6d..923cc24 100644
--- a/src/retarget/index.html
+++ b/src/retarget/index.html
@@ -21,7 +21,7 @@
<nav>
<div style="display: inline-flex; align-items: center;">
<a id="logo-branding" href="https://mesh2motion.org">
- <img src="../images/mesh2motion.svg" width="200" /></a>
+ <img src="../images/mesh2motion.svg" width="130" /></a>
<a href="/">Explore</a>
<a href="/create.html" >Use Your Model</a>
<span class="active-nav-item">Use Your Rigged Model</span>
@@ -59,7 +59,7 @@
</span>
</span>
- <a style="font-size: 1rem" target="_blank" href="https://github.com/Mesh2Motion/mesh2motion-assets/tree/main/rigs">View M2M rigs from GitHub.</a>
+ <a id="m2m-model-github-link" style="font-size: 1rem" target="_blank" href="https://github.com/Mesh2Motion/mesh2motion-assets/tree/main/rigs">View M2M rigs from GitHub.</a>
</div>
<p style="margin: 0; margin-top: 1rem;">Import your rig and map the bones to continue.</p>
diff --git a/src/styles.css b/src/styles.css
index 1df8daa..a2b5d94 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -82,7 +82,7 @@ nav a, nav span {
align-items: center;
text-decoration: none;
height: var(--navigation-height);
- padding: 0 1.25rem;
+ padding: 0 1.0rem;
transition: 0.5s all ease;
line-height: 100%;
}
diff --git a/static/images/mesh2motion.svg b/static/images/mesh2motion.svg
index 9d21537..aaed1ce 100644
--- a/static/images/mesh2motion.svg
+++ b/static/images/mesh2motion.svg
@@ -1,66 +1 @@
-<?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.18086,0,0,7.77578,-298.436,-5006.18)">
- <path d="M1924.28,707.297L1924.28,798.342C1924.28,801.133 1921.67,803.4 1918.46,803.4L1629.6,803.4C1626.39,803.4 1623.78,801.133 1623.78,798.342L1623.78,707.297C1623.78,704.506 1626.39,702.239 1629.6,702.239L1918.46,702.239C1921.67,702.239 1924.28,704.506 1924.28,707.297Z" style="fill:white;"/>
- </g>
- <g transform="matrix(1.35938,0,0,7.77578,148.629,-3149.13)">
- <g transform="matrix(155.762,0,0,155.762,481.007,559.729)">
- <path d="M0.807,-0L0.566,-0L0.557,-0.249L0.548,-0.249L0.522,-0L0.293,-0L0.27,-0.249L0.262,-0.249L0.251,-0L0.02,-0L0.046,-0.621L0.374,-0.621L0.405,-0.395L0.419,-0.395L0.445,-0.621L0.781,-0.621L0.807,-0Z" style="fill:white;fill-rule:nonzero;"/>
- </g>
- <g transform="matrix(155.762,0,0,155.762,608.265,559.729)">
- <path d="M0.006,-0.315C0.006,-0.426 0.032,-0.506 0.083,-0.556C0.134,-0.605 0.218,-0.63 0.336,-0.63C0.454,-0.63 0.538,-0.606 0.589,-0.557C0.639,-0.507 0.664,-0.428 0.664,-0.317C0.664,-0.206 0.638,-0.123 0.586,-0.07C0.534,-0.017 0.45,0.01 0.334,0.01C0.217,0.01 0.134,-0.016 0.083,-0.069C0.032,-0.122 0.006,-0.204 0.006,-0.315ZM0.357,-0.157L0.357,-0.435L0.325,-0.435L0.325,-0.157L0.357,-0.157Z" style="fill:white;fill-rule:nonzero;"/>
- </g>
- <g transform="matrix(155.762,0,0,155.762,712.626,559.729)">
- <path d="M0.473,-0.419L0.383,-0.419L0.383,-0L0.1,-0L0.1,-0.419L0,-0.419L0.01,-0.621L0.486,-0.621L0.473,-0.419Z" style="fill:white;fill-rule:nonzero;"/>
- </g>
- <g transform="matrix(155.762,0,0,155.762,788.326,559.729)">
- <rect x="0.02" y="-0.621" width="0.282" height="0.621" style="fill:white;fill-rule:nonzero;"/>
- </g>
- <g transform="matrix(155.762,0,0,155.762,838.482,559.729)">
- <path d="M0.006,-0.315C0.006,-0.426 0.032,-0.506 0.083,-0.556C0.134,-0.605 0.218,-0.63 0.336,-0.63C0.454,-0.63 0.538,-0.606 0.589,-0.557C0.639,-0.507 0.664,-0.428 0.664,-0.317C0.664,-0.206 0.638,-0.123 0.586,-0.07C0.534,-0.017 0.45,0.01 0.334,0.01C0.217,0.01 0.134,-0.016 0.083,-0.069C0.032,-0.122 0.006,-0.204 0.006,-0.315ZM0.357,-0.157L0.357,-0.435L0.325,-0.435L0.325,-0.157L0.357,-0.157Z" style="fill:white;fill-rule:nonzero;"/>
- </g>
- <g transform="matrix(155.762,0,0,155.762,942.842,559.729)">
- <path d="M0.632,-0L0.376,-0L0.263,-0.199L0.263,-0L0.02,-0L0.02,-0.621L0.283,-0.621L0.387,-0.42L0.387,-0.621L0.632,-0.621L0.632,-0Z" style="fill:white;fill-rule:nonzero;"/>
- </g>
- </g>
- <g transform="matrix(1.66691,0,0,9.53486,858.933,-4299.03)">
- <g transform="matrix(68,0,0,68,481.007,559.729)">
- <path d="M0.49,-0L0.323,-0L0.304,-0.098L0.186,-0.098L0.167,-0L0.008,-0L0.122,-0.621L0.376,-0.621L0.49,-0ZM0.285,-0.215L0.25,-0.437L0.243,-0.437L0.208,-0.215L0.285,-0.215Z" style="fill:rgb(66,66,66);fill-rule:nonzero;"/>
- </g>
- <g transform="matrix(68,0,0,68,514.871,559.729)">
- <path d="M0.36,-0L0.044,-0L0.044,-0.621L0.215,-0.621L0.215,-0.139L0.37,-0.139L0.36,-0Z" style="fill:rgb(66,66,66);fill-rule:nonzero;"/>
- </g>
- <g transform="matrix(68,0,0,68,539.487,559.729)">
- <path d="M0.258,-0.203L0.212,-0.203L0.212,-0L0.044,-0L0.044,-0.621L0.247,-0.621C0.318,-0.621 0.371,-0.605 0.406,-0.572C0.441,-0.539 0.458,-0.486 0.458,-0.411C0.458,-0.336 0.442,-0.283 0.409,-0.251C0.376,-0.219 0.326,-0.203 0.258,-0.203ZM0.277,-0.338C0.283,-0.349 0.286,-0.37 0.286,-0.399C0.286,-0.428 0.283,-0.449 0.276,-0.461C0.269,-0.473 0.256,-0.479 0.236,-0.479L0.212,-0.479L0.212,-0.321L0.24,-0.321C0.259,-0.321 0.271,-0.327 0.277,-0.338Z" style="fill:rgb(66,66,66);fill-rule:nonzero;"/>
- </g>
- <g transform="matrix(68,0,0,68,571.039,559.729)">
- <path d="M0.503,-0L0.333,-0L0.333,-0.235L0.216,-0.235L0.216,-0L0.044,-0L0.044,-0.621L0.216,-0.621L0.216,-0.377L0.333,-0.377L0.333,-0.621L0.503,-0.621L0.503,-0Z" style="fill:rgb(66,66,66);fill-rule:nonzero;"/>
- </g>
- <g transform="matrix(68,0,0,68,607.963,559.729)">
- <path d="M0.49,-0L0.323,-0L0.304,-0.098L0.186,-0.098L0.167,-0L0.008,-0L0.122,-0.621L0.376,-0.621L0.49,-0ZM0.285,-0.215L0.25,-0.437L0.243,-0.437L0.208,-0.215L0.285,-0.215Z" style="fill:rgb(66,66,66);fill-rule:nonzero;"/>
- </g>
- </g>
- <g transform="matrix(3.14219,0,0,17.9736,-905.814,-8641.24)">
- <g transform="matrix(118.469,0,0,118.469,481.007,559.729)">
- <path d="M0.008,-0.579C0.073,-0.614 0.137,-0.631 0.202,-0.631C0.266,-0.631 0.315,-0.615 0.348,-0.582C0.381,-0.549 0.398,-0.503 0.398,-0.444C0.398,-0.384 0.388,-0.335 0.367,-0.297C0.345,-0.259 0.307,-0.208 0.251,-0.143L0.4,-0.143L0.4,-0L0.033,-0L0.025,-0.102C0.088,-0.169 0.133,-0.22 0.16,-0.255C0.187,-0.29 0.205,-0.318 0.214,-0.341C0.223,-0.364 0.228,-0.385 0.228,-0.405C0.228,-0.424 0.223,-0.439 0.214,-0.45C0.204,-0.461 0.191,-0.466 0.176,-0.466C0.161,-0.466 0.146,-0.464 0.132,-0.46C0.113,-0.455 0.082,-0.443 0.04,-0.424L0.008,-0.579Z" style="fill:white;fill-rule:nonzero;"/>
- </g>
- </g>
- <g transform="matrix(1.35938,0,0,7.77578,-596.317,-3164.4)">
- <g transform="matrix(155.762,0,0,155.762,481.007,559.729)">
- <path d="M0.807,-0L0.566,-0L0.557,-0.249L0.548,-0.249L0.522,-0L0.293,-0L0.27,-0.249L0.262,-0.249L0.251,-0L0.02,-0L0.046,-0.621L0.374,-0.621L0.405,-0.395L0.419,-0.395L0.445,-0.621L0.781,-0.621L0.807,-0Z" style="fill:white;fill-rule:nonzero;"/>
- </g>
- <g transform="matrix(155.762,0,0,155.762,608.265,559.729)">
- <path d="M0.47,-0L0.02,-0L0.02,-0.621L0.489,-0.621L0.474,-0.417L0.302,-0.417L0.302,-0.381L0.47,-0.381L0.46,-0.215L0.302,-0.215L0.302,-0.179L0.485,-0.179L0.47,-0Z" style="fill:white;fill-rule:nonzero;"/>
- </g>
- <g transform="matrix(155.762,0,0,155.762,684.433,559.729)">
- <path d="M0.529,-0.204C0.529,-0.061 0.443,0.01 0.272,0.01C0.187,0.01 0.103,0 0.019,-0.02L0.027,-0.202L0.257,-0.158L0.257,-0.176C0.212,-0.185 0.176,-0.195 0.148,-0.205C0.12,-0.214 0.094,-0.228 0.07,-0.245C0.023,-0.278 0,-0.331 0,-0.405C0,-0.478 0.022,-0.533 0.067,-0.572C0.111,-0.611 0.174,-0.63 0.256,-0.63C0.338,-0.63 0.424,-0.623 0.513,-0.609L0.494,-0.41L0.271,-0.444L0.271,-0.425C0.36,-0.413 0.426,-0.392 0.467,-0.361C0.508,-0.329 0.529,-0.277 0.529,-0.204Z" style="fill:white;fill-rule:nonzero;"/>
- </g>
- <g transform="matrix(155.762,0,0,155.762,766.831,559.729)">
- <path d="M0.62,-0L0.336,-0L0.336,-0.218L0.304,-0.218L0.304,-0L0.02,-0L0.02,-0.621L0.304,-0.621L0.304,-0.39L0.336,-0.39L0.336,-0.621L0.62,-0.621L0.62,-0Z" style="fill:white;fill-rule:nonzero;"/>
- </g>
- </g>
- </g>
-</svg>
+<?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 359 99" 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;"><rect id="Main-Logo" serif:id="Main Logo" x="0" y="0" width="358.708" height="98.768" style="fill:none;"/><g transform="matrix(44.273137,0,0,44.273137,335.580075,66.401324)"></g><text x="178.981px" y="66.401px" style="font-family:'Carlito', sans-serif;font-size:44.273px;fill:#fff;">MO<tspan x="244.958px " y="66.401px ">T</tspan>ION</text><g transform="matrix(44.273137,0,0,44.273137,131.260745,65.855165)"></g><text x="24.296px" y="65.855px" style="font-family:'Carlito', sans-serif;font-size:44.273px;fill:#fff;">ME<tspan x="83.334px " y="65.855px ">S</tspan>H</text><g><path d="M162.001,26.521c2.997,0.834 4.764,2.919 5.426,3.855c1.628,2.3 2.911,4.501 2.999,7.936c0.101,3.915 -0.158,6.062 -2.547,10.861c-3.16,6.349 -14.792,11.823 -15.145,12.082c-6.216,4.573 14.422,-3.537 17.538,-0.123c1.121,1.228 7.391,10.611 -17.068,11.853c-21.409,1.088 -12.012,-12.475 -9.709,-14.18c4.999,-3.701 5.516,-4.292 10.52,-9.396c4.852,-4.949 3.199,-15.077 -0.21,-14.23c-4.086,1.016 -1.688,5.567 -1.616,6.064c0.457,3.173 -1.801,4.94 -2.937,5.201c-10.708,2.464 -10.139,-9.791 -6.806,-13.672c7.361,-8.571 15.388,-7.409 19.555,-6.25Z" style="fill:#fff;"/></g></svg>
\ No newline at end of file