Import a 3D Model and automatically assign and export animations
TypeScript
Create reset and mirror icon designs. Use new mirror icon
Scott Petrovicc9b8e4445ecf
diff --git a/art-source/tool-icons.af b/art-source/tool-icons.afindex 099ccdc..f151182 100644Binary files a/art-source/tool-icons.af and b/art-source/tool-icons.af differdiff --git a/src/create.html b/src/create.htmlindex 954d8c7..b459ab8 100644--- a/src/create.html+++ b/src/create.html@@ -338,14 +338,15 @@<div style="display: flex; gap: 0.5rem;"><button class="secondary-button" id="action_back_to_edit_skeleton" >‹ Back</button>-- <button id="export-button" title="Export animations. Make sure to select the animations you want to export first.">- <span class="button-icon-group">- <span class="material-symbols-outlined">save_alt</span>- <span>Download <span id="animation-selection-count">0</span></span>- </span>- </button>- <a id="download-hidden-link" href="#" style="display:none"></a>++ <!-- testing the mirroring options -->+ <div class="styled-checkbox icon-toggle">+ <input type="checkbox" id="mirror-animations-checkbox" name="mirror-animations" value="true" style="display:none;">+ <label for="mirror-animations-checkbox" data-tippy-content="Mirror animations" tabindex="0">+ <img src="images/icons/mirror.svg" alt="Mirror animations" width="30" height="30" />+ </label>+ </div>+<!-- checkbox option to show skeleton --><div class="styled-checkbox icon-toggle">@@ -355,6 +356,14 @@</label></div>+ <button id="export-button" title="Export animations. Make sure to select the animations you want to export first.">+ <span class="button-icon-group">+ <span class="material-symbols-outlined">save_alt</span>+ <span>Download <span id="animation-selection-count">0</span></span>+ </span>+ </button>+ <a id="download-hidden-link" href="#" style="display:none"></a>+</div>diff --git a/src/index.html b/src/index.htmlindex a19e75b..f50e72c 100644--- a/src/index.html+++ b/src/index.html@@ -143,21 +143,23 @@</label></div>- <button id="export-button" title="Export animations. Make sure to select the animations you want to export first.">- <span class="button-icon-group">- <span class="material-symbols-outlined">save_alt</span>- <span>Download <span id="animation-selection-count">0</span></span>- </span>- </button>- <a id="download-hidden-link" href="#" style="display:none"></a>+<!-- testing the mirroring options --><div class="styled-checkbox icon-toggle"><input type="checkbox" id="mirror-animations-checkbox" name="mirror-animations" value="true" style="display:none;"><label for="mirror-animations-checkbox" data-tippy-content="Mirror animations" tabindex="0">- Mirror+ <img src="images/icons/mirror.svg" alt="Mirror animations" width="30" height="30" /></label></div>++ <button id="export-button" title="Export animations. Make sure to select the animations you want to export first.">+ <span class="button-icon-group">+ <span class="material-symbols-outlined">save_alt</span>+ <span>Download <span id="animation-selection-count">0</span></span>+ </span>+ </button>+ <a id="download-hidden-link" href="#" style="display:none"></a></div>diff --git a/static/blender/rigs/fox/animation-fox-bite-v2.blend b/static/blender/rigs/fox/animation-fox-bite-v2.blendnew file mode 100644index 0000000..2c0ad11Binary files /dev/null and b/static/blender/rigs/fox/animation-fox-bite-v2.blend differdiff --git a/static/images/icons/mirror.svg b/static/images/icons/mirror.svgnew file mode 100644index 0000000..fa63c1c--- /dev/null+++ b/static/images/icons/mirror.svg@@ -0,0 +1,16 @@+<?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 256 256" 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 transform="matrix(1,0,0,1,-0.509721,-293.945773)">+ <g id="Mirror" transform="matrix(1,0,0,1,0.509721,293.945773)">+ <rect x="0" y="0" width="256" height="256" style="fill:none;"/>+ <g transform="matrix(1,0,0,1,4.517215,-286.544924)">+ <path d="M27.603,513.284L119.087,315.805L119.087,513.284L27.603,513.284ZM46.387,501.284L107.087,501.284L107.087,370.257L46.387,501.284Z" style="fill:rgb(216,216,216);"/>+ </g>+ <g transform="matrix(-0.993103,0,0,1,251.29242,-286.544924)">+ <path d="M27.603,513.284L119.087,513.284L119.087,315.805L27.603,513.284Z" style="fill:rgb(216,216,216);"/>+ <path d="M27.603,513.284L119.087,513.284L119.087,315.805L27.603,513.284ZM46.463,501.284L107.003,370.6L107.003,501.284L46.463,501.284Z" style="fill:rgb(216,216,216);"/>+ </g>+ </g>+ </g>+</svg>diff --git a/static/images/icons/reset.svg b/static/images/icons/reset.svgnew file mode 100644index 0000000..c9933df--- /dev/null+++ b/static/images/icons/reset.svg@@ -0,0 +1,21 @@+<?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 256 256" 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-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;">+ <g transform="matrix(1,0,0,1,-280.481839,-293.945773)">+ <g id="Reset" transform="matrix(1,0,0,1,280.481839,293.945773)">+ <rect x="0" y="0" width="256" height="256" style="fill:none;"/>+ <g transform="matrix(-2.540155,0,-0,-2.540155,357.976677,558.299768)">+ <path d="M125.464,155.827L137.861,173.493L113.067,173.493L125.464,155.827Z" style="fill:rgb(228,228,228);"/>+ </g>+ <g transform="matrix(2.540155,-0,0,2.540155,-95.320695,-303.294545)">+ <path d="M125.464,155.827L137.861,173.493L113.067,173.493L125.464,155.827Z" style="fill:rgb(228,228,228);"/>+ </g>+ <g transform="matrix(2.889108,0,0,2.889108,-82.784745,-399.063437)">+ <path d="M42.25,180.61C42.413,170.406 44.789,156.762 65.015,150.811C84.229,145.158 96.752,158.497 96.752,158.497" style="fill:none;stroke:rgb(228,228,228);stroke-width:5.37px;"/>+ </g>+ <g transform="matrix(-2.888931,0.031934,-0.031934,-2.888931,351.749829,652.913631)">+ <path d="M42.423,182.167C42.532,172.24 46.038,155.307 65.015,150.811C83.218,146.499 96.752,158.497 96.752,158.497" style="fill:none;stroke:rgb(228,228,228);stroke-width:5.37px;"/>+ </g>+ </g>+ </g>+</svg>