diff --git a/CardList.json b/CardList.json index 726d053..8b3318a 100644 --- a/CardList.json +++ b/CardList.json @@ -91,14 +91,14 @@ "id": "004", "face": { "front": { - "name": "VampiricProspect", + "name": "CivicContour", "type": "Unit", "cost": 1, "image": "https://docs.brut.systems/judah/entropy/004.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "VampiricProspect", + "name": "CivicContour", "type": "Unit", "cost": 1, "isToken": true, @@ -113,14 +113,14 @@ "id": "005", "face": { "front": { - "name": "DullCompact", + "name": "WarmAxis", "type": "Unit", "cost": 1, "image": "https://docs.brut.systems/judah/entropy/005.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "DullCompact", + "name": "WarmAxis", "type": "Unit", "cost": 1, "isToken": true, @@ -135,14 +135,14 @@ "id": "006", "face": { "front": { - "name": "GrossConviction", + "name": "ResidualCortex", "type": "Unit", "cost": 1, "image": "https://docs.brut.systems/judah/entropy/006.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "GrossConviction", + "name": "ResidualCortex", "type": "Unit", "cost": 1, "isToken": false, @@ -157,14 +157,14 @@ "id": "007", "face": { "front": { - "name": "VampiricDividend", + "name": "PartialShrine", "type": "Unit", "cost": 2, "image": "https://docs.brut.systems/judah/entropy/007.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "VampiricDividend", + "name": "PartialShrine", "type": "Unit", "cost": 2, "isToken": false, @@ -179,14 +179,14 @@ "id": "008", "face": { "front": { - "name": "LucidDeficit", + "name": "RagingVolume", "type": "Unit", "cost": 3, "image": "https://docs.brut.systems/judah/entropy/008.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "LucidDeficit", + "name": "RagingVolume", "type": "Unit", "cost": 3, "isToken": false, @@ -201,14 +201,14 @@ "id": "009", "face": { "front": { - "name": "CivicMandate", + "name": "MootPosture", "type": "Unit", "cost": 4, "image": "https://docs.brut.systems/judah/entropy/009.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "CivicMandate", + "name": "MootPosture", "type": "Unit", "cost": 4, "isToken": false, @@ -223,14 +223,14 @@ "id": "010", "face": { "front": { - "name": "InlandSubstrate", + "name": "AbsentMutation", "type": "Unit", "cost": 5, "image": "https://docs.brut.systems/judah/entropy/010.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "InlandSubstrate", + "name": "AbsentMutation", "type": "Unit", "cost": 5, "isToken": false, @@ -245,14 +245,14 @@ "id": "011", "face": { "front": { - "name": "ConcaveCortex", + "name": "BluntDividend", "type": "Unit", "cost": 5, "image": "https://docs.brut.systems/judah/entropy/011.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "ConcaveCortex", + "name": "BluntDividend", "type": "Unit", "cost": 5, "isToken": false, @@ -267,14 +267,14 @@ "id": "012", "face": { "front": { - "name": "RoteMorale", + "name": "FlatContour", "type": "Unit", "cost": 5, "image": "https://docs.brut.systems/judah/entropy/012.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "RoteMorale", + "name": "FlatContour", "type": "Unit", "cost": 5, "isToken": false, @@ -289,14 +289,14 @@ "id": "013", "face": { "front": { - "name": "MootJudgement", + "name": "AmbientReflex", "type": "Unit", "cost": 3, "image": "https://docs.brut.systems/judah/entropy/013.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "MootJudgement", + "name": "AmbientReflex", "type": "Unit", "cost": 3, "isToken": false, @@ -311,14 +311,14 @@ "id": "014", "face": { "front": { - "name": "RoteSubstrate", + "name": "CivicOffset", "type": "Unit", "cost": 3, "image": "https://docs.brut.systems/judah/entropy/014.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "RoteSubstrate", + "name": "CivicOffset", "type": "Unit", "cost": 3, "isToken": false, @@ -333,14 +333,14 @@ "id": "015", "face": { "front": { - "name": "ConvergentVolume", + "name": "ConvergentPrecinct", "type": "Unit", "cost": 5, "image": "https://docs.brut.systems/judah/entropy/015.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "ConvergentVolume", + "name": "ConvergentPrecinct", "type": "Unit", "cost": 5, "isToken": false, @@ -355,14 +355,14 @@ "id": "016", "face": { "front": { - "name": "CivicDosage", + "name": "ResidualTendon", "type": "Unit", "cost": 6, "image": "https://docs.brut.systems/judah/entropy/016.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "CivicDosage", + "name": "ResidualTendon", "type": "Unit", "cost": 6, "isToken": false, @@ -377,14 +377,14 @@ "id": "017", "face": { "front": { - "name": "BoonDividend", + "name": "CivicFilament", "type": "Unit", "cost": 7, "image": "https://docs.brut.systems/judah/entropy/017.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "BoonDividend", + "name": "CivicFilament", "type": "Unit", "cost": 7, "isToken": false, @@ -399,14 +399,14 @@ "id": "018", "face": { "front": { - "name": "NominalProspect", + "name": "TerminalMandate", "type": "Unit", "cost": 6, "image": "https://docs.brut.systems/judah/entropy/018.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "NominalProspect", + "name": "TerminalMandate", "type": "Unit", "cost": 6, "isToken": false, @@ -421,14 +421,14 @@ "id": "019", "face": { "front": { - "name": "NominalSurplus", + "name": "CivicMandate", "type": "Unit", "cost": 9, "image": "https://docs.brut.systems/judah/entropy/019.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "NominalSurplus", + "name": "CivicMandate", "type": "Unit", "cost": 9, "isToken": false, @@ -443,14 +443,14 @@ "id": "020", "face": { "front": { - "name": "TerminalDeficit", + "name": "SpentContour", "type": "Unit", "cost": 4, "image": "https://docs.brut.systems/judah/entropy/020.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "TerminalDeficit", + "name": "SpentContour", "type": "Unit", "cost": 4, "isToken": false, @@ -465,14 +465,14 @@ "id": "021", "face": { "front": { - "name": "InlandMembrane", + "name": "InlandGesture", "type": "Unit", "cost": 2, "image": "https://docs.brut.systems/judah/entropy/021.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "InlandMembrane", + "name": "InlandGesture", "type": "Unit", "cost": 2, "isToken": false, @@ -487,14 +487,14 @@ "id": "022", "face": { "front": { - "name": "BluntSubstrate", + "name": "SoftDeficit", "type": "Unit", "cost": 2, "image": "https://docs.brut.systems/judah/entropy/022.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "BluntSubstrate", + "name": "SoftDeficit", "type": "Unit", "cost": 2, "isToken": false, @@ -509,14 +509,14 @@ "id": "023", "face": { "front": { - "name": "ErrantDosage", + "name": "BoonCompact", "type": "Unit", "cost": 3, "image": "https://docs.brut.systems/judah/entropy/023.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "ErrantDosage", + "name": "BoonCompact", "type": "Unit", "cost": 3, "isToken": false, @@ -531,14 +531,14 @@ "id": "024", "face": { "front": { - "name": "GrossDeficit", + "name": "CompositePosture", "type": "Unit", "cost": 2, "image": "https://docs.brut.systems/judah/entropy/024.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "GrossDeficit", + "name": "CompositePosture", "type": "Unit", "cost": 2, "isToken": false, @@ -553,14 +553,14 @@ "id": "025", "face": { "front": { - "name": "WarmConviction", + "name": "LiveBulk", "type": "Unit", "cost": 8, "image": "https://docs.brut.systems/judah/entropy/025.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "WarmConviction", + "name": "LiveBulk", "type": "Unit", "cost": 8, "isToken": false, @@ -575,14 +575,14 @@ "id": "026", "face": { "front": { - "name": "FormerVolume", + "name": "MootProspect", "type": "Unit", "cost": 10, "image": "https://docs.brut.systems/judah/entropy/026.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "FormerVolume", + "name": "MootProspect", "type": "Unit", "cost": 10, "isToken": false, @@ -597,14 +597,14 @@ "id": "027", "face": { "front": { - "name": "PolarPosture", + "name": "AmbientVolume", "type": "Unit", "cost": 3, "image": "https://docs.brut.systems/judah/entropy/027.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "PolarPosture", + "name": "AmbientVolume", "type": "Unit", "cost": 3, "isToken": false, @@ -619,14 +619,14 @@ "id": "028", "face": { "front": { - "name": "FormerMembrane", + "name": "LateralConviction", "type": "Unit", "cost": 3, "image": "https://docs.brut.systems/judah/entropy/028.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "FormerMembrane", + "name": "LateralConviction", "type": "Unit", "cost": 3, "isToken": false, @@ -641,14 +641,14 @@ "id": "029", "face": { "front": { - "name": "AmbientGradient", + "name": "AbsentMorale", "type": "Unit", "cost": 5, "image": "https://docs.brut.systems/judah/entropy/029.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "AmbientGradient", + "name": "AbsentMorale", "type": "Unit", "cost": 5, "isToken": false, @@ -663,14 +663,14 @@ "id": "030", "face": { "front": { - "name": "SpentDividend", + "name": "ExcessContour", "type": "Unit", "cost": 1, "image": "https://docs.brut.systems/judah/entropy/030.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "SpentDividend", + "name": "ExcessContour", "type": "Unit", "cost": 1, "isToken": false, @@ -685,14 +685,14 @@ "id": "031", "face": { "front": { - "name": "BareOffset", + "name": "CivicAperture", "type": "Unit", "cost": 6, "image": "https://docs.brut.systems/judah/entropy/031.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "BareOffset", + "name": "CivicAperture", "type": "Unit", "cost": 6, "isToken": false, @@ -707,14 +707,14 @@ "id": "032", "face": { "front": { - "name": "ExcessGradient", + "name": "BareConviction", "type": "Unit", "cost": 4, "image": "https://docs.brut.systems/judah/entropy/032.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "ExcessGradient", + "name": "BareConviction", "type": "Unit", "cost": 4, "isToken": false, @@ -729,14 +729,14 @@ "id": "033", "face": { "front": { - "name": "FormerDeficit", + "name": "PartialContour", "type": "Spell", "cost": 3, "image": "https://docs.brut.systems/judah/entropy/033.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "FormerDeficit", + "name": "PartialContour", "type": "Spell", "cost": 3, "isToken": false, @@ -751,14 +751,14 @@ "id": "034", "face": { "front": { - "name": "ResidualSubstrate", + "name": "BoonAperture", "type": "Spell", "cost": 3, "image": "https://docs.brut.systems/judah/entropy/034.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "ResidualSubstrate", + "name": "BoonAperture", "type": "Spell", "cost": 3, "isToken": false, @@ -773,14 +773,14 @@ "id": "035", "face": { "front": { - "name": "RagingDosage", + "name": "LivePrecinct", "type": "Spell", "cost": 1, "image": "https://docs.brut.systems/judah/entropy/035.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "RagingDosage", + "name": "LivePrecinct", "type": "Spell", "cost": 1, "isToken": false, @@ -795,14 +795,14 @@ "id": "036", "face": { "front": { - "name": "VampiricGradient", + "name": "FlatCompact", "type": "Spell", "cost": 2, "image": "https://docs.brut.systems/judah/entropy/036.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "VampiricGradient", + "name": "FlatCompact", "type": "Spell", "cost": 2, "isToken": false, @@ -817,14 +817,14 @@ "id": "037", "face": { "front": { - "name": "FormerAxis", + "name": "ErrantPrecinct", "type": "Spell", "cost": 4, "image": "https://docs.brut.systems/judah/entropy/037.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "FormerAxis", + "name": "ErrantPrecinct", "type": "Spell", "cost": 4, "isToken": false, @@ -839,14 +839,14 @@ "id": "038", "face": { "front": { - "name": "PartialConviction", + "name": "BluntTendon", "type": "Spell", "cost": 8, "image": "https://docs.brut.systems/judah/entropy/038.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "PartialConviction", + "name": "BluntTendon", "type": "Spell", "cost": 8, "isToken": false, @@ -861,14 +861,14 @@ "id": "039", "face": { "front": { - "name": "ConcaveCartilage", + "name": "GrossDeficit", "type": "Spell", "cost": 14, "image": "https://docs.brut.systems/judah/entropy/039.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "ConcaveCartilage", + "name": "GrossDeficit", "type": "Spell", "cost": 14, "isToken": false, @@ -883,14 +883,14 @@ "id": "040", "face": { "front": { - "name": "CivicMembrane", + "name": "InlandCartilage", "type": "Spell", "cost": 5, "image": "https://docs.brut.systems/judah/entropy/040.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "CivicMembrane", + "name": "InlandCartilage", "type": "Spell", "cost": 5, "isToken": false, @@ -905,14 +905,14 @@ "id": "041", "face": { "front": { - "name": "LucidCortex", + "name": "NominalMorale", "type": "Spell", "cost": 3, "image": "https://docs.brut.systems/judah/entropy/041.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "LucidCortex", + "name": "NominalMorale", "type": "Spell", "cost": 3, "isToken": false, @@ -927,14 +927,14 @@ "id": "042", "face": { "front": { - "name": "CompositeTendon", + "name": "ResidualOffset", "type": "Spell", "cost": 1, "image": "https://docs.brut.systems/judah/entropy/042.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "CompositeTendon", + "name": "ResidualOffset", "type": "Spell", "cost": 1, "isToken": false, @@ -949,14 +949,14 @@ "id": "043", "face": { "front": { - "name": "BoonDosage", + "name": "ConcaveVolume", "type": "Spell", "cost": 7, "image": "https://docs.brut.systems/judah/entropy/043.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "BoonDosage", + "name": "ConcaveVolume", "type": "Spell", "cost": 7, "isToken": false, @@ -971,14 +971,14 @@ "id": "044", "face": { "front": { - "name": "NominalCortex", + "name": "LateralInlet", "type": "Spell", "cost": 2, "image": "https://docs.brut.systems/judah/entropy/044.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "NominalCortex", + "name": "LateralInlet", "type": "Spell", "cost": 2, "isToken": false, @@ -993,14 +993,14 @@ "id": "045", "face": { "front": { - "name": "ErrantGesture", + "name": "FormerTendon", "type": "Spell", "cost": 5, "image": "https://docs.brut.systems/judah/entropy/045.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "ErrantGesture", + "name": "FormerTendon", "type": "Spell", "cost": 5, "isToken": false, @@ -1015,14 +1015,14 @@ "id": "046", "face": { "front": { - "name": "ErrantAxis", + "name": "GrossSubstrate", "type": "Spell", "cost": 12, "image": "https://docs.brut.systems/judah/entropy/046.png", - "isHorizontal": false + "isHorizontal": true } }, - "name": "ErrantAxis", + "name": "GrossSubstrate", "type": "Spell", "cost": 12, "isToken": false, diff --git a/docs/000.png b/docs/000.png index 00f425a..f3a6815 100644 Binary files a/docs/000.png and b/docs/000.png differ diff --git a/docs/001.png b/docs/001.png index 92de655..1e63560 100644 Binary files a/docs/001.png and b/docs/001.png differ diff --git a/docs/002.png b/docs/002.png index 8969b9c..9b7cfcf 100644 Binary files a/docs/002.png and b/docs/002.png differ diff --git a/docs/003.png b/docs/003.png index 4f69eea..236882b 100644 Binary files a/docs/003.png and b/docs/003.png differ diff --git a/docs/004.png b/docs/004.png index 0436f33..3664344 100644 Binary files a/docs/004.png and b/docs/004.png differ diff --git a/docs/005.png b/docs/005.png index 44337e5..2bec181 100644 Binary files a/docs/005.png and b/docs/005.png differ diff --git a/docs/006.png b/docs/006.png index 3bf9d3d..248748b 100644 Binary files a/docs/006.png and b/docs/006.png differ diff --git a/docs/007.png b/docs/007.png index 10f4192..fdf8665 100644 Binary files a/docs/007.png and b/docs/007.png differ diff --git a/docs/008.png b/docs/008.png index 74662c9..54f1aa0 100644 Binary files a/docs/008.png and b/docs/008.png differ diff --git a/docs/009.png b/docs/009.png index 3f9377a..7997322 100644 Binary files a/docs/009.png and b/docs/009.png differ diff --git a/docs/010.png b/docs/010.png index 3fe1c48..f3f315c 100644 Binary files a/docs/010.png and b/docs/010.png differ diff --git a/docs/011.png b/docs/011.png index 9e16700..1723f80 100644 Binary files a/docs/011.png and b/docs/011.png differ diff --git a/docs/012.png b/docs/012.png index a9a2c5c..33966e4 100644 Binary files a/docs/012.png and b/docs/012.png differ diff --git a/docs/013.png b/docs/013.png index df39cab..69589a1 100644 Binary files a/docs/013.png and b/docs/013.png differ diff --git a/docs/014.png b/docs/014.png index 07a0105..5288eb0 100644 Binary files a/docs/014.png and b/docs/014.png differ diff --git a/docs/015.png b/docs/015.png index c48a08e..2775363 100644 Binary files a/docs/015.png and b/docs/015.png differ diff --git a/docs/016.png b/docs/016.png index bb660b5..8aadea0 100644 Binary files a/docs/016.png and b/docs/016.png differ diff --git a/docs/017.png b/docs/017.png index 3fc1c3a..05598c9 100644 Binary files a/docs/017.png and b/docs/017.png differ diff --git a/docs/018.png b/docs/018.png index 9e4be09..95ec238 100644 Binary files a/docs/018.png and b/docs/018.png differ diff --git a/docs/019.png b/docs/019.png index 2f56584..e752f24 100644 Binary files a/docs/019.png and b/docs/019.png differ diff --git a/docs/020.png b/docs/020.png index 4b763de..22d942f 100644 Binary files a/docs/020.png and b/docs/020.png differ diff --git a/docs/021.png b/docs/021.png index 3e8942f..9badfae 100644 Binary files a/docs/021.png and b/docs/021.png differ diff --git a/docs/022.png b/docs/022.png index 47a2446..e96d76f 100644 Binary files a/docs/022.png and b/docs/022.png differ diff --git a/docs/023.png b/docs/023.png index f7fe806..83f2127 100644 Binary files a/docs/023.png and b/docs/023.png differ diff --git a/docs/024.png b/docs/024.png index 0ef6353..cf3d891 100644 Binary files a/docs/024.png and b/docs/024.png differ diff --git a/docs/025.png b/docs/025.png index 02ebf75..3026a8c 100644 Binary files a/docs/025.png and b/docs/025.png differ diff --git a/docs/026.png b/docs/026.png index 159e3dc..9695cec 100644 Binary files a/docs/026.png and b/docs/026.png differ diff --git a/docs/027.png b/docs/027.png index 15f567f..f34274b 100644 Binary files a/docs/027.png and b/docs/027.png differ diff --git a/docs/028.png b/docs/028.png index 5853c20..7132d5a 100644 Binary files a/docs/028.png and b/docs/028.png differ diff --git a/docs/029.png b/docs/029.png index c87d0f1..bff2946 100644 Binary files a/docs/029.png and b/docs/029.png differ diff --git a/docs/030.png b/docs/030.png index cab1d49..0f0606a 100644 Binary files a/docs/030.png and b/docs/030.png differ diff --git a/docs/031.png b/docs/031.png index a41e186..6b04862 100644 Binary files a/docs/031.png and b/docs/031.png differ diff --git a/docs/032.png b/docs/032.png index c473e17..5b327d3 100644 Binary files a/docs/032.png and b/docs/032.png differ diff --git a/docs/033.png b/docs/033.png index 6f34c3f..916db1c 100644 Binary files a/docs/033.png and b/docs/033.png differ diff --git a/docs/034.png b/docs/034.png index 43af62b..5d463e7 100644 Binary files a/docs/034.png and b/docs/034.png differ diff --git a/docs/035.png b/docs/035.png index 59188f4..8c20e0c 100644 Binary files a/docs/035.png and b/docs/035.png differ diff --git a/docs/036.png b/docs/036.png index ea402e6..00179fb 100644 Binary files a/docs/036.png and b/docs/036.png differ diff --git a/docs/037.png b/docs/037.png index b6ad008..05ca0e3 100644 Binary files a/docs/037.png and b/docs/037.png differ diff --git a/docs/038.png b/docs/038.png index a2233b0..4110a35 100644 Binary files a/docs/038.png and b/docs/038.png differ diff --git a/docs/039.png b/docs/039.png index 7ed5b47..0947449 100644 Binary files a/docs/039.png and b/docs/039.png differ diff --git a/docs/040.png b/docs/040.png index fa6c62a..f1a6b49 100644 Binary files a/docs/040.png and b/docs/040.png differ diff --git a/docs/041.png b/docs/041.png index 919e67f..a33b4a4 100644 Binary files a/docs/041.png and b/docs/041.png differ diff --git a/docs/042.png b/docs/042.png index 84a888f..9a223e8 100644 Binary files a/docs/042.png and b/docs/042.png differ diff --git a/docs/043.png b/docs/043.png index 9674e18..d96bce1 100644 Binary files a/docs/043.png and b/docs/043.png differ diff --git a/docs/044.png b/docs/044.png index 35740a5..394ff7d 100644 Binary files a/docs/044.png and b/docs/044.png differ diff --git a/docs/045.png b/docs/045.png index b0f217b..198bf17 100644 Binary files a/docs/045.png and b/docs/045.png differ diff --git a/docs/046.png b/docs/046.png index be40abd..01b128d 100644 Binary files a/docs/046.png and b/docs/046.png differ diff --git a/main.go b/main.go index f843510..f3bc98b 100644 --- a/main.go +++ b/main.go @@ -159,18 +159,16 @@ func main() { id := fmt.Sprintf("%03d", i) - // Assuming ctx has your finished card - finished := ctx.Image() - w := finished.Bounds().Dx() - h := finished.Bounds().Dy() + // draw rotated + // finished := ctx.Image() + // w := finished.Bounds().Dx() + // h := finished.Bounds().Dy() + // rotated := gg.NewContext(h, w) + // rotated.Translate(float64(h)/2, float64(w)/2) + // rotated.Rotate(90 * math.Pi / 180) + // rotated.DrawImageAnchored(finished, 0, 0, 0.5, 0.5) - // New context with swapped dimensions for 90° rotation - rotated := gg.NewContext(h, w) - rotated.Translate(float64(h)/2, float64(w)/2) - rotated.Rotate(90 * math.Pi / 180) - rotated.DrawImageAnchored(finished, 0, 0, 0.5, 0.5) - - if err := rotated.SavePNG("docs/" + id + ".png"); err != nil { + if err := ctx.SavePNG("docs/" + id + ".png"); err != nil { panic(err) } @@ -184,7 +182,7 @@ func main() { Type: card.typ.String(), Image: fmt.Sprintf("https://docs.brut.systems/judah/entropy/%s.png", id), Cost: card.entropy, - Horizontal: card.typ == Boon, + Horizontal: true, }, }, Token: card.token,