Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| Rivi 589: | Rivi 589: | ||
} else if (memo.obsesTotal < 100) { | } else if (memo.obsesTotal < 100) { | ||
baseSize = 6; | baseSize = 6; | ||
strokeSize = | strokeSize = 1; | ||
} else if (memo.obsesTotal < 200) { | } else if (memo.obsesTotal < 200) { | ||
baseSize = 5; | baseSize = 5; | ||
strokeSize = 0. | strokeSize = 0.53; | ||
} else { | } else { | ||
baseSize = 4; | baseSize = 4; | ||
strokeSize = 0. | strokeSize = 0.25; | ||
} | } | ||
| Rivi 1 644: | Rivi 1 644: | ||
orgstroke = parseFloat( v.match( /original-stroke-size: .+;/g )[0].replace( 'original-stroke-size: ', '' ).replace( ';', '') ); | orgstroke = parseFloat( v.match( /original-stroke-size: .+;/g )[0].replace( 'original-stroke-size: ', '' ).replace( ';', '') ); | ||
newsize = Math.round( Math.sqrt( Math.sqrt( ( w / 500 ) ) ) * orgsize ); | newsize = Math.round( Math.sqrt( Math.sqrt( ( w / 500 ) ) ) * orgsize ); | ||
newstroke = Math.sqrt( ( w / | newstroke = Math.sqrt( ( w / 500 ) ) * orgstroke; | ||
if ( w > 500 ) { | if ( w > 500 ) { | ||


