1
0
Fork 0

Cosmetic changes to logos and titles

This commit is contained in:
woutervdub 2022-06-17 13:47:47 -07:00
parent 9657b02413
commit 214d47a0fd
5 changed files with 13 additions and 13 deletions

View file

@ -101,19 +101,19 @@ export default function (part) {
.shiftAlong(store.get('aboveMouthFinLength')) .shiftAlong(store.get('aboveMouthFinLength'))
snippets.bottomFin = new Snippet('bnotch', points.bottomFinSnippet) snippets.bottomFin = new Snippet('bnotch', points.bottomFinSnippet)
points.titleAnchor = points.bottomFin02.shiftFractionTowards(points.bottomFin01, 0.4) points.titleAnchor = points.bottomFin02.shiftFractionTowards(points.bottomFin01, 0.4).shiftFractionTowards(points.bottomFin03, 0.1)
points.logoAnchor = points.titleAnchor.shiftFractionTowards(points.bottomFin03, 0.5) points.logoAnchor = points.titleAnchor.shiftFractionTowards(points.bottomFin03, 0.4)
snippets.logo = new Snippet('logo', points.logoAnchor).attr( snippets.logo = new Snippet('logo', points.logoAnchor).attr(
'data-scale', 'data-scale',
options.size > 1 ? 1 : (options.size /2) (options.size > 1 ? 1 : options.size) / 2
) )
macro('title', { macro('title', {
at: points.titleAnchor, at: points.titleAnchor,
nr: 6, nr: 6,
title: 'bottomFin', title: 'bottomFin',
scale: options.size, scale: (options.size > 1 ? 1 : options.size) / 2,
}) })
if (paperless) { if (paperless) {

View file

@ -62,7 +62,7 @@ export default function (part) {
if (complete) { if (complete) {
snippets.lowerTeeth = new Snippet('bnotch', points.lowerTeeth01) snippets.lowerTeeth = new Snippet('bnotch', points.lowerTeeth01)
points.titleAnchor = points.lowerTeeth02.shiftFractionTowards(points.lowerTeeth03, 0.5).shiftFractionTowards(points.lowerTeeth01, 0.5) points.titleAnchor = points.lowerTeeth02.shiftFractionTowards(points.lowerTeeth03, 0.5) //.shiftFractionTowards(points.lowerTeeth01, 0.5)
macro('title', { macro('title', {
at: points.titleAnchor, at: points.titleAnchor,

View file

@ -92,7 +92,7 @@ export default function (part) {
snippets.mouthMidTop = new Snippet('bnotch', points.mouth01) snippets.mouthMidTop = new Snippet('bnotch', points.mouth01)
snippets.mouthMidBottom = new Snippet('bnotch', points.mouth03) snippets.mouthMidBottom = new Snippet('bnotch', points.mouth03)
points.titleAnchor = points.mouth01.shiftFractionTowards(points.mouth02, 0.23) points.titleAnchor = points.mouth01.shiftFractionTowards(points.mouth02, 0.33)
points.logoAnchor = points.mouth01.shiftFractionTowards(points.mouth04, 0.3) points.logoAnchor = points.mouth01.shiftFractionTowards(points.mouth04, 0.3)
snippets.logo = new Snippet('logo', points.logoAnchor).attr( snippets.logo = new Snippet('logo', points.logoAnchor).attr(
@ -104,7 +104,7 @@ export default function (part) {
at: points.titleAnchor, at: points.titleAnchor,
nr: 4, nr: 4,
title: 'mouth', title: 'mouth',
scale: options.size / 2, scale: (options.size > 1 ? 1 : options.size) / 2,
}) })
if (paperless) { if (paperless) {

View file

@ -94,14 +94,14 @@ export default function (part) {
snippets.logo = new Snippet('logo', points.logoAnchor).attr( snippets.logo = new Snippet('logo', points.logoAnchor).attr(
'data-scale', 'data-scale',
options.size > 1 ? 1 : options.size (options.size > 1 ? 1 : options.size) / 2
) )
macro('title', { macro('title', {
at: points.titleAnchor, at: points.titleAnchor,
nr: 3, nr: 3,
title: 'tail', title: 'tail',
scale: options.size, scale: (options.size > 1 ? 1 : options.size) / 2,
}) })
if (paperless) { if (paperless) {

View file

@ -79,19 +79,19 @@ export default function (part) {
// Complete? // Complete?
if (complete) { if (complete) {
points.titleAnchor = points.topFin01.shiftFractionTowards(points.topFin02, 0.4) points.titleAnchor = points.topFin01.shiftFractionTowards(points.topFin02, 0.5).shiftFractionTowards(points.topFin03, 0.1)
points.logoAnchor = points.titleAnchor.shiftFractionTowards(points.topFin03, 0.5) points.logoAnchor = points.titleAnchor.shiftFractionTowards(points.topFin03, 0.4)
snippets.logo = new Snippet('logo', points.logoAnchor).attr( snippets.logo = new Snippet('logo', points.logoAnchor).attr(
'data-scale', 'data-scale',
options.size > 1 ? 1 : (options.size /2) (options.size > 1 ? 1 : options.size) / 2
) )
macro('title', { macro('title', {
at: points.titleAnchor, at: points.titleAnchor,
nr: 7, nr: 7,
title: 'topFin', title: 'topFin',
scale: options.size, scale: (options.size > 1 ? 1 : options.size) / 2,
}) })
if (paperless) { if (paperless) {