m15 tapped, abu frames, invocation

This commit is contained in:
Kyle
2021-05-06 14:36:57 -07:00
parent 0ad04bd82b
commit abff65da5c
66 changed files with 182 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 808 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -0,0 +1,10 @@
<?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="2100" height="1500" viewBox="0 0 2100 1500" 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="Card" transform="matrix(1.4,0,0,0.714286,0,0)">
<rect x="0" y="0" width="1500" height="2100" style="fill:none;"/>
<g id="Classic" transform="matrix(0.714286,0,0,1.4,0,0)">
<path d="M0,0L2100,0L2100,1500L0,1500L0,0ZM2000,1288.03L2000,1253C2026.7,1229.61 2039.39,1189.61 2040,1165L2040,85C2037.14,71.038 2028.74,62.781 2015,60L85,60C71.263,62.781 62.855,71.038 60,85L60,1165C60.611,1189.61 73.299,1229.61 100,1253L100,1348L1034.74,1348C1037.26,1377.06 1049.57,1401.03 1062.29,1411L1984,1411C1998,1400.02 2011.52,1372.05 2012,1339C2011.72,1319.39 2006.84,1301.57 2000,1288.03Z"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 985 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 675 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 818 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -0,0 +1,15 @@
<?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="2100" height="1500" viewBox="0 0 2100 1500" 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="Card" transform="matrix(1.4,0,0,0.714286,0,0)">
<rect x="0" y="0" width="1500" height="2100" style="fill:none;"/>
<clipPath id="_clip1">
<rect x="0" y="0" width="1500" height="2100"/>
</clipPath>
<g clip-path="url(#_clip1)">
<g id="Pinline" transform="matrix(0.714286,0,0,1.4,0,0)">
<path d="M304.5,925C257.035,925 218.5,963.535 218.5,1011L218.5,1500C218.5,1506.08 223.425,1511 229.5,1511L885.5,1511C891.575,1511 896.5,1506.08 896.5,1500L896.5,1011C896.5,963.535 857.965,925 810.5,925L304.5,925ZM304.5,936L810.5,936C851.894,936 885.5,969.606 885.5,1011L885.5,1500L229.5,1500L229.5,1011C229.5,969.606 263.106,936 304.5,936ZM1056.29,227.213C1044.65,213.833 1034.7,189.278 1034.29,161C1034.77,127.948 1048.28,99.984 1062.29,89L1984,89C1998,99.984 2011.52,127.948 2012,161C2011.59,189.276 2001.64,213.828 1990,227.213L1990,1272.79C2001.64,1286.17 2011.59,1310.72 2012,1339C2011.52,1372.05 1998,1400.02 1984,1411L1062.29,1411C1048.28,1400.02 1034.77,1372.05 1034.29,1339C1034.7,1310.72 1044.65,1286.17 1056.29,1272.79L1056.29,227.213ZM1978.24,1278.01C1979.44,1278.08 1980.56,1278.69 1981.26,1279.68C1995.33,1299.45 2000.29,1319.23 2000.29,1339C2000.29,1358.77 1995.33,1378.55 1981.26,1398.32C1980.51,1399.37 1979.29,1400 1978,1400L1068.29,1400C1066.99,1400 1065.78,1399.37 1065.03,1398.32C1050.95,1378.55 1046,1358.77 1046,1339C1046,1319.23 1050.95,1299.45 1065.03,1279.68C1065.78,1278.63 1066.99,1278 1068.29,1278L1978,1278L1978.24,1278.01ZM1067.29,233L1067.29,1267L1979,1267L1979,233L1067.29,233ZM1068.29,100L1978,100C1979.29,100 1980.51,100.626 1981.26,101.68C1995.33,121.453 2000.29,141.227 2000.29,161C2000.29,180.773 1995.33,200.547 1981.26,220.32C1980.51,221.374 1979.29,222 1978,222L1068.29,222C1066.99,222 1065.78,221.374 1065.03,220.32C1050.95,200.547 1046,180.773 1046,161C1046,141.227 1050.95,121.453 1065.03,101.68C1065.78,100.626 1066.99,100 1068.29,100Z" style="fill:rgb(239,56,39);"/>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

View File

@@ -0,0 +1,10 @@
<?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="2100" height="1500" viewBox="0 0 2100 1500" 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="Card" transform="matrix(1.4,0,0,0.714286,0,0)">
<rect x="0" y="0" width="1500" height="2100" style="fill:none;"/>
<g id="Textbox" transform="matrix(0.714286,0,0,2.10562,421.429,-2440.58)">
<rect x="477.286" y="1314" width="911.714" height="687.494" style="fill:rgb(0,117,190);"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 795 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 790 B

View File

@@ -0,0 +1,10 @@
<?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="2100" height="1500" viewBox="0 0 2100 1500" 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="Card" transform="matrix(1.4,0,0,0.714286,0,0)">
<rect x="0" y="0" width="1500" height="2100" style="fill:none;"/>
<g id="Twins" transform="matrix(0.714286,0,0,1.4,0,0)">
<path d="M1978,104C1991.52,123 1996.29,142 1996.29,161C1996.29,180 1991.52,199 1978,218L1068.29,218C1054.76,199 1050,180 1050,161C1050,142 1054.76,123 1068.29,104L1978,104Z" style="fill:rgb(0,123,67);"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 889 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 894 B

View File

@@ -0,0 +1,10 @@
<?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="2100" height="1500" viewBox="0 0 2100 1500" 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="Card" transform="matrix(1.4,0,0,0.714286,0,0)">
<rect x="0" y="0" width="1500" height="2100" style="fill:none;"/>
<g id="Twins" transform="matrix(0.714286,0,0,1.4,0,0)">
<path d="M1978.32,1282.44C1991.6,1301.3 1996.29,1320.15 1996.29,1339C1996.29,1358 1991.52,1377 1978,1396L1068.29,1396C1054.76,1377 1050,1358 1050,1339C1050,1320 1054.76,1301 1068.29,1282L1978,1282L1978.32,1282.44Z" style="fill:rgb(0,123,67);"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 930 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 912 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 640 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 829 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

BIN
img/frames/old/abu/a.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
img/frames/old/abu/b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
img/frames/old/abu/bl.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

BIN
img/frames/old/abu/g.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
img/frames/old/abu/gl.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
img/frames/old/abu/l.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
img/frames/old/abu/r.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
img/frames/old/abu/rl.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
img/frames/old/abu/u.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
img/frames/old/abu/ul.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
img/frames/old/abu/w.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

BIN
img/frames/old/abu/wl.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

@@ -43,6 +43,7 @@ var availableFrames = [];
var selectedFrameIndex = 0;
var selectedMaskIndex = 0;
var selectedTextIndex = 0;
var replacementMasks = {};
//for imports
var scryfallArt;
var scryfallCard;
@@ -57,6 +58,7 @@ var loadedVersions = [];
async function resetCardIrregularities({canvas = [1500, 2100, 0, 0], resetOthers = true} = {}) {
//misc details
card.margins = false;
replacementMasks = {};
//rotation
if (card.landscape) {
// previewContext.scale(card.width/card.height, card.height/card.width);
@@ -383,7 +385,12 @@ async function addFrame(additionalMasks = [], loadingFrame = false) {
frameToAdd.masks = [];
maskThumbnail = false;
}
additionalMasks.forEach(item => frameToAdd.masks.push(item));
additionalMasks.forEach(item => {
if (item.name in replacementMasks) {
item.src = replacementMasks[item.name];
}
frameToAdd.masks.push(item);
});
// Likewise, we now add any complementary frames
if ('complementary' in frameToAdd && frameToAdd.masks.length == 0) {
if (typeof frameToAdd.complementary == 'number') {

View File

@@ -2,6 +2,7 @@ loadFramePacks([
{name:'Cartoony - Sheepwave', value:'Cartoony'},
{name:'Classic-Shifted', value:'Classicshifted'},
{name:'Ixalan - @feuer_ameise', value:'FeuerAmeiseIxalan'},
{name:'Tapped (Horizontal M15)', value:'Tapped'},
{name:'Custom Addons', value:'disabled'},
{name:'Brawl Legend Crowns', value:'Brawl'}
])

View File

@@ -3,6 +3,7 @@ loadFramePacks([
{name:'Seventh Edition', value:'Seventh'},
{name:'Fifth Edition', value:'SeventhButFifth'},
{name:'Legends Multicolored', value:'Legends'},
{name:'Alpha/Beta/Unlimited', value:'ABU'},
{name:'Misc', value:'disabled'},
{name:'Planechase', value:'Planechase'},
{name:'Vanguard', value:'Vanguard'}

View File

@@ -0,0 +1,9 @@
//checks to see if it needs to run
if (!card.manaSymbols.includes('/js/frames/manaSymbolsOld.js')) {
card.manaSymbols.push('/js/frames/manaSymbolsOld.js');
}
if (findManaSymbolIndex('old') == -1) {
loadManaSymbols([
'old/oldw', 'old/oldu', 'old/oldb', 'old/oldr', 'old/oldg',
]);
}

51
js/frames/packABU.js Normal file
View File

@@ -0,0 +1,51 @@
//Create objects for common properties across available frames
var masks = [{src:'/img/frames/old/abu/dualLand.png', name:'Dual Land'}];
//defines available frames
availableFrames = [
{name:'White Frame', src:'/img/frames/old/abu/w.png'},
{name:'Blue Frame', src:'/img/frames/old/abu/u.png'},
{name:'Black Frame', src:'/img/frames/old/abu/b.png'},
{name:'Red Frame', src:'/img/frames/old/abu/r.png'},
{name:'Green Frame', src:'/img/frames/old/abu/g.png'},
{name:'Artifact Frame', src:'/img/frames/old/abu/a.png'},
{name:'Land Frame', src:'/img/frames/old/abu/l.png', masks:masks},
{name:'White Land Frame', src:'/img/frames/old/abu/wl.png', masks:masks},
{name:'Blue Land Frame', src:'/img/frames/old/abu/ul.png', masks:masks},
{name:'Black Land Frame', src:'/img/frames/old/abu/bl.png', masks:masks},
{name:'Red Land Frame', src:'/img/frames/old/abu/rl.png', masks:masks},
{name:'Green Land Frame', src:'/img/frames/old/abu/gl.png', masks:masks}
];
//disables/enables the "Load Frame Version" button
document.querySelector('#loadFrameVersion').disabled = false;
//defines process for loading this version, if applicable
document.querySelector('#loadFrameVersion').onclick = async function() {
//resets things so that every frame doesn't have to
await resetCardIrregularities();
//sets card version
card.version = 'abu';
loadScript('/js/frames/manaSymbolsOld.js');
//art bounds
card.artBounds = {x:0.116, y:0.1043, width:0.7654, height:0.441};
autoFitArt();
//set symbol bounds
card.setSymbolBounds = {x:0.8914, y:0.5758, width:0.12, height:0.0353, vertical:'center', horizontal: 'right'};
resetSetSymbol();
//watermark bounds
card.watermarkBounds = {x:0.18, y:0.64, width:0.64, height:0.24};
resetWatermark();
//text
loadTextOptions({
mana: {name:'Mana Cost', text:'', x:0.07, y:0.0572, width:0.8467, height:74/2100, oneLine:true, size:74/1638, align:'right', manaCost:true, manaSpacing:0.0014, manaPrefix:'old'},
title: {name:'Title', text:'', x:0.07, y:0.05, width:0.8667, height:0.0429, oneLine:true, font:'goudymedieval', size:0.0429, color:'#ababab', shadowX:0.0021, shadowY:0.0015},
type: {name:'Type', text:'', x:0.1, y:0.5586, width:0.8, height:0.0334, oneLine:true, size:0.0334, color:'#ababab', shadowX:0.0021, shadowY:0.0015},
rules: {name:'Rules Text', text:'', x:0.15, y:0.6048, width:0.7, height:0.2762, size:0.0477},
pt: {name:'Power/Toughness', text:'', x:0.8, y:0.8972, width:0.16, height:0.0415, size:0.0415, oneLine:true, align:'center', color:'#ababab', shadowX:0.0021, shadowY:0.0015}
});
//bottom info
loadBottomInfo({
artist: {text:'Illus. \u00a9 {elemidinfo-artist}', x:0.1, y:0.9, width:0.7334, height:0.0334, oneLine:true, size:0.0334, align:'left', shadowX:0.0027, shadowY:0.002, color:'#ababab'},
cc: {text:'NOT FOR SALE CardConjurer.com', x:0.0614, y:9791, width:0.8774, height:0.0124, oneLine:true, size:0.0124, align:'center', shadowX:0.0027, shadowY:0.002, color:'#ababab'}
});
}
//loads available frames
loadFramePack();

57
js/frames/packTapped.js Normal file
View File

@@ -0,0 +1,57 @@
//Create objects for common properties across available frames
var masks = [{src:'/img/frames/custom/tapped/pinline.svg', name:'Pinline'}, {src:'/img/frames/custom/tapped/title.svg', name:'Title'}, {src:'/img/frames/custom/tapped/type.svg', name:'Type'}, {src:'/img/frames/custom/tapped/text.svg', name:'Textbox'}, {src:'/img/frames/custom/tapped/border.svg', name:'Border'}];
//defines available frames
availableFrames = [
{name:'White Frame', src:'/img/frames/custom/tapped/w.png', masks:masks},
{name:'Blue Frame', src:'/img/frames/custom/tapped/u.png', masks:masks},
{name:'Black Frame', src:'/img/frames/custom/tapped/b.png', masks:masks},
{name:'Red Frame', src:'/img/frames/custom/tapped/r.png', masks:masks},
{name:'Green Frame', src:'/img/frames/custom/tapped/g.png', masks:masks},
{name:'Multicolored Frame', src:'/img/frames/custom/tapped/m.png', masks:masks},
{name:'Artifact Frame', src:'/img/frames/custom/tapped/a.png', masks:masks},
{name:'Land Frame', src:'/img/frames/custom/tapped/l.png', masks:masks}
];
//disables/enables the "Load Frame Version" button
document.querySelector('#loadFrameVersion').disabled = false;
//defines process for loading this version, if applicable
document.querySelector('#loadFrameVersion').onclick = async function() {
//resets things so that every frame doesn't have to
var previousCardHeight = card.height
await resetCardIrregularities({canvas:[2100, 1500, 0, 0]});
replacementMasks = {'Right Half':'/img/frames/custom/tapped/rightHalf.png'};
//sets card version
card.version = 'tapped';
//rotation
card.landscape = true;
previewContext.translate(0, previousCardHeight / 2);
previewContext.rotate(-Math.PI / 2);
previewContext.scale(7/5, 5/7);
//art bounds
card.artBounds = {x:0.0281, y:0.0394, width:0.9439, height:0.8614};
autoFitArt();
//set symbol bounds
card.setSymbolBounds = {x:0.9439, y:0.8927, width:0.0858, height:0.0467, vertical:'center', horizontal: 'right'};
resetSetSymbol();
//watermark bounds
card.watermarkBounds = {x:0.7253, y:0.5, width:0.381, height:0.5667};
resetWatermark();
//text
loadTextOptions({
title: {name:'Title', text:'', x:0.5153, y:0.0814, width:0.4181, height:0.0607, oneLine:true, font:'belerenb', size:0.0607},
type: {name:'Type', text:'', x:0.5153, y:0.8707, width:0.4181, height:0.0474, oneLine:true, font:'belerenb', size:0.0474},
rules: {name:'Rules Text', text:'', x:0.5191, y:0.1634, width:0.4096, height:0.6734, size:0.0507},
additional: {name:'Extra Textbox', text:`Adjust Life{i}{lns}{up${scaleHeight(0.01)}}{bar}{lns}{right}{fontsize-${scaleHeight(0.0067)}}Revived — 20{lns}Survived — +10`, x:0.1286, width:0.2739, y:0.64, height:0.2534, size:0.0607, color:'white', align:'center'}
});
//bottom info
await loadBottomInfo({
midLeft: {text:'{elemidinfo-set}*{elemidinfo-language} {savex}{fontbelerenbsc}{fontsize' + scaleHeight(0.001) + '}{upinline' + scaleHeight(0.0005) + '}\uFFEE{elemidinfo-artist}', x:0.0462, y:0.9367, width:0.9077, height:0.024, oneLine:true, font:'gothammedium', size:0.024, color:'white', outlineWidth:0.003},
topLeft: {text:'{elemidinfo-number} {loadx}{elemidinfo-rarity}', x:0.0462, y:0.9127, width:0.9077, height:0.024, oneLine:true, font:'gothammedium', size:0.024, color:'white', outlineWidth:0.003},
bottomLeft: {text:'NOT FOR SALE', x:0.0462, y:0.9607, width:0.9077, height:0.02, oneLine:true, font:'gothammedium', size:0.02, color:'white', outlineWidth:0.003},
wizards: {name:'wizards', text:'\u2122 & \u00a9 ' + date.getFullYear() + ' Wizards of the Coast', x:0.0462, y:0.9607, width:0.9077, height:0.0227, oneLine:true, font:'mplantin', size:0.0227, color:'white', align:'right', outlineWidth:0.003},
bottomRight: {text:'CardConjurer.com', x:227/2100, y:0.9607, width:0.9077, height:0.02, oneLine:true, font:'mplantin', size:0.02, color:'white', align:'center', outlineWidth:0.003}
});
//runs other necessary functions
drawFrames();
}
//loads available frames
loadFramePack();