diff --git a/packages/aaron/bundle.js b/packages/aaron/bundle.js new file mode 120000 index 00000000000..e286517d524 --- /dev/null +++ b/packages/aaron/bundle.js @@ -0,0 +1 @@ +../plugins/plugin-bundle/dist/browser.js \ No newline at end of file diff --git a/packages/aaron/config/config.js b/packages/aaron/config/config.js index e206f719b68..43d381b9f14 100644 --- a/packages/aaron/config/config.js +++ b/packages/aaron/config/config.js @@ -20,18 +20,18 @@ export default { collarEase: 0, frontArmholeDeeper: 0, armholeDepthFactor: 0.6, + shoulderSlopeReduction: 0, // Percentages - armholeDrop: { val: 10, min: 0, max: 50 }, - backlineBend: { val: 0, min: 0, max: 8 }, + armholeDrop: { val: 10, min: 1, max: 75 }, + backlineBend: { val: 50, min: 50, max: 100 }, chestEase: { val: 8, min: 0, max: 20 }, hipsEase: { val: 8, min: 0, max: 20 }, lengthBonus: { val: 10, min:-20, max: 60 }, - necklineBend: { val: 60, min: 40, max: 100 }, - necklineDrop: { val: 15, min: 10, max: 35 }, - shoulderSlopeReduction: { val: 0, min: 0, max: 8 }, + necklineBend: { val: 100, min: 40, max: 100 }, + necklineDrop: { val: 20, min: 10, max: 35 }, stretchFactor: { val: 5, min: 0, max: 15 }, - shoulderStrapWidth: { val: 20, min: 10, max: 40 }, - shoulderStrapPlacement: { val: 50, min: 20, max: 80 }, + shoulderStrapWidth: { val: 15, min: 10, max: 40 }, + shoulderStrapPlacement: { val: 40, min: 20, max: 80 }, } }; diff --git a/packages/aaron/index.html b/packages/aaron/index.html index f6fae134a00..73fd999772c 100644 --- a/packages/aaron/index.html +++ b/packages/aaron/index.html @@ -6,58 +6,58 @@
- + - + - - - - - - - + + + + + + + function pointHover(evt) { + var point = evt.target; + var id = point.id; + var cx = point.getAttribute('x'); + var cy = point.getAttribute('y'); + var name = point.getAttribute('data-point'); + var part = point.getAttribute('data-part'); + console.log(name+' ('+cx+', '+cy+') @ '+part); + var scale = 2; + cx = cx-scale*cx; + cy = cy-scale*cy; + point.setAttribute("transform", 'matrix('+scale+', 0, 0, '+scale+', '+cx+', '+cy+')'); + pointUnhover(id); + } + function pointUnhover(id) { + setTimeout(function(){ + document.getElementById(id).removeAttribute("transform", ''); + }, 500); + } +