Add Abraham, Mary, and Peter card artifacts
BIN
artifacts/cards/BP-003-abraham/review/art-card-size.png
Normal file
|
After Width: | Height: | Size: 643 KiB |
BIN
artifacts/cards/BP-003-abraham/review/art-review.png
Normal file
|
After Width: | Height: | Size: 2.1 MiB |
BIN
artifacts/cards/BP-003-abraham/review/art-thumbnail.png
Normal file
|
After Width: | Height: | Size: 115 KiB |
422
artifacts/cards/BP-003-abraham/review/build-validation.json
Normal file
@@ -0,0 +1,422 @@
|
||||
{
|
||||
"status": "passed",
|
||||
"cardId": "BP-003",
|
||||
"revision": "v02",
|
||||
"finalCardApproval": null,
|
||||
"assemblyAuthorization": "Okay. I think this feels good. Let's generate the prints/masks",
|
||||
"selectedPrototype": {
|
||||
"path": "in-progress/cards/BP-003-abraham/revisions/v02/review/legendary-layout-prototype-v3",
|
||||
"normalSHA256": "4dfa7bcd38047d00b137a55adaf2143ba62553f4c5af304f5015f1dac1769980",
|
||||
"validationSHA256": "fc8ebbdb8f559e9fed89b32db3f420ffa72c11a701407743c9ca5a53a59229b5",
|
||||
"authority": "v3 rope-free comparison PNG"
|
||||
},
|
||||
"inputs": {
|
||||
"art": {
|
||||
"path": "in-progress/cards/BP-003-abraham/revisions/v02/source/art-master.png",
|
||||
"sha256": "0461b6888079d1d5686addf8eb27151c19b183e04e16bf22386746d72825aa98"
|
||||
},
|
||||
"builderSHA256": "4f19a64af4d321361e873cda8408d7ae526ab6fdbc86c117438524ebc96caae8"
|
||||
},
|
||||
"bespokeLayers": {
|
||||
"template": "BP-003-abraham-promise-v1",
|
||||
"canvas": [
|
||||
2000,
|
||||
2800
|
||||
],
|
||||
"compositionOrder": [
|
||||
"base-art",
|
||||
"active-frame/backing",
|
||||
"active-text"
|
||||
],
|
||||
"printingComponents": {
|
||||
"normal": [
|
||||
"base-art",
|
||||
"promise-frame",
|
||||
"title-and-covenant-backings",
|
||||
"text"
|
||||
],
|
||||
"boundless": [
|
||||
"base-art"
|
||||
],
|
||||
"borderless": [
|
||||
"base-art",
|
||||
"title-and-covenant-backings",
|
||||
"text"
|
||||
],
|
||||
"textless": [
|
||||
"base-art",
|
||||
"promise-frame"
|
||||
]
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"sharedFontManifestSHA256": "ef68ee6393981d54ca068a950f21c53b374d20e6e46c21c788f36380d3aae178",
|
||||
"title": {
|
||||
"font": "P052-Bold.otf",
|
||||
"weight": 700,
|
||||
"size": 132
|
||||
},
|
||||
"verse": {
|
||||
"font": "SanctificationP052-Medium.otf",
|
||||
"weight": 500,
|
||||
"size": 54,
|
||||
"lines": [
|
||||
"\u201cLook toward heaven,",
|
||||
"and number the stars,",
|
||||
"if you are able to number them.",
|
||||
"\u2026 So shall your offspring be.\u201d"
|
||||
]
|
||||
},
|
||||
"reference": {
|
||||
"font": "SanctificationP052-Medium.otf",
|
||||
"weight": 500,
|
||||
"size": 48,
|
||||
"text": "Genesis 15:5 \u2022 ESV"
|
||||
},
|
||||
"proofChecks": {
|
||||
"sharedFontManifestSHA256": "ef68ee6393981d54ca068a950f21c53b374d20e6e46c21c788f36380d3aae178",
|
||||
"checks": [
|
||||
{
|
||||
"id": "title",
|
||||
"text": "ABRAHAM",
|
||||
"baseline": 248,
|
||||
"size": 132,
|
||||
"font": "P052",
|
||||
"weight": 700,
|
||||
"inkBounds": [
|
||||
1158,
|
||||
157,
|
||||
1891,
|
||||
250
|
||||
],
|
||||
"safeBounds": [
|
||||
1130,
|
||||
80,
|
||||
1920,
|
||||
320
|
||||
],
|
||||
"outsideOpaqueBacking": 0
|
||||
},
|
||||
{
|
||||
"id": "verse-0",
|
||||
"text": "\u201cLook toward heaven,",
|
||||
"baseline": 2165,
|
||||
"size": 54,
|
||||
"font": "Sanctification P052",
|
||||
"weight": 500,
|
||||
"inkBounds": [
|
||||
1250,
|
||||
2125,
|
||||
1773,
|
||||
2174
|
||||
],
|
||||
"safeBounds": [
|
||||
1120,
|
||||
2050,
|
||||
1905,
|
||||
2665
|
||||
],
|
||||
"outsideOpaqueBacking": 0
|
||||
},
|
||||
{
|
||||
"id": "verse-1",
|
||||
"text": "and number the stars,",
|
||||
"baseline": 2272,
|
||||
"size": 54,
|
||||
"font": "Sanctification P052",
|
||||
"weight": 500,
|
||||
"inkBounds": [
|
||||
1252,
|
||||
2232,
|
||||
1770,
|
||||
2281
|
||||
],
|
||||
"safeBounds": [
|
||||
1120,
|
||||
2050,
|
||||
1905,
|
||||
2665
|
||||
],
|
||||
"outsideOpaqueBacking": 0
|
||||
},
|
||||
{
|
||||
"id": "verse-2",
|
||||
"text": "if you are able to number them.",
|
||||
"baseline": 2379,
|
||||
"size": 54,
|
||||
"font": "Sanctification P052",
|
||||
"weight": 500,
|
||||
"inkBounds": [
|
||||
1137,
|
||||
2339,
|
||||
1883,
|
||||
2395
|
||||
],
|
||||
"safeBounds": [
|
||||
1120,
|
||||
2050,
|
||||
1905,
|
||||
2665
|
||||
],
|
||||
"outsideOpaqueBacking": 0
|
||||
},
|
||||
{
|
||||
"id": "verse-3",
|
||||
"text": "\u2026 So shall your offspring be.\u201d",
|
||||
"baseline": 2486,
|
||||
"size": 54,
|
||||
"font": "Sanctification P052",
|
||||
"weight": 500,
|
||||
"inkBounds": [
|
||||
1161,
|
||||
2446,
|
||||
1865,
|
||||
2502
|
||||
],
|
||||
"safeBounds": [
|
||||
1120,
|
||||
2050,
|
||||
1905,
|
||||
2665
|
||||
],
|
||||
"outsideOpaqueBacking": 0
|
||||
},
|
||||
{
|
||||
"id": "reference",
|
||||
"text": "Genesis 15:5 \u2022 ESV",
|
||||
"baseline": 2625,
|
||||
"size": 48,
|
||||
"font": "Sanctification P052",
|
||||
"weight": 500,
|
||||
"inkBounds": [
|
||||
1310,
|
||||
2590,
|
||||
1712,
|
||||
2627
|
||||
],
|
||||
"safeBounds": [
|
||||
1120,
|
||||
2050,
|
||||
1905,
|
||||
2665
|
||||
],
|
||||
"outsideOpaqueBacking": 0
|
||||
}
|
||||
],
|
||||
"quotation": true,
|
||||
"reference": "Genesis 15:5 \u2022 ESV"
|
||||
}
|
||||
},
|
||||
"textMask": {
|
||||
"expansionRadius": 12,
|
||||
"gaussianRadius": 8,
|
||||
"units": "master pixels"
|
||||
},
|
||||
"finishRecipe": {
|
||||
"id": "raw-ridges-v1",
|
||||
"sha256": "23331ce56a717edb4e6f85956d11fdd98397009c4e6dd230d8c334c77571dd18",
|
||||
"path": "tools/card-production/recipes/raw-ridges-v1.json",
|
||||
"illustrationAnalyses": 1,
|
||||
"rawRidgesSHA256": "4335807e303210ef4f311ddc8a879b877fdac47f3d31654d5bb904a0e8421f38",
|
||||
"paneCoverageSHA256": "7e0e27ba04842277a0d9ceaa3fa296a529e2fcde6a18c44f71f042f595ec70cd"
|
||||
},
|
||||
"normalAuthorityCheck": {
|
||||
"productionEqualsSelectedPrototype": true,
|
||||
"selectedSHA256": "4dfa7bcd38047d00b137a55adaf2143ba62553f4c5af304f5015f1dac1769980",
|
||||
"productionSHA256": "4dfa7bcd38047d00b137a55adaf2143ba62553f4c5af304f5015f1dac1769980",
|
||||
"reconstructionChangedPixels": 29682,
|
||||
"reconstructionMaximumChannelDelta": 1
|
||||
},
|
||||
"printings": {
|
||||
"normal": {
|
||||
"components": [
|
||||
"base-art",
|
||||
"promise-frame",
|
||||
"title-and-covenant-backings",
|
||||
"text"
|
||||
],
|
||||
"textMask": true,
|
||||
"finishCoverage": "base illustration suppressed by active opaque frame/backing and lettering",
|
||||
"exports": [
|
||||
{
|
||||
"resolution": "low",
|
||||
"dimensions": [
|
||||
500,
|
||||
700
|
||||
],
|
||||
"files": {
|
||||
"card.png": "8de9c87b94353b6e2905d255312f0ca45a6d9fb8ecfffaba9cac7b256459b70e",
|
||||
"finish-mask.png": "8df142cd93f74d0b5c029ef5a59acfe76c5a2bbeba1d7c2b13b75ed7338b87e5",
|
||||
"text-mask.png": "6ea7e523800e5519a01680abb2fe6c2e2863212786e8eb37f3515ec42b3bdec4"
|
||||
}
|
||||
},
|
||||
{
|
||||
"resolution": "med",
|
||||
"dimensions": [
|
||||
1000,
|
||||
1400
|
||||
],
|
||||
"files": {
|
||||
"card.png": "eff83dbe47bcad6fda542b440f8960c0adb10451b8a417939dd08277cb267beb",
|
||||
"finish-mask.png": "a89564054ea668f08d7a2dad7bf086c78ded32f7a52e6ef1a8b1c85beb17c4c7",
|
||||
"text-mask.png": "a875de6bc6064bef7265044b23eafa0f9d338735bc1bd916d3224a6e8002e2a7"
|
||||
}
|
||||
},
|
||||
{
|
||||
"resolution": "high",
|
||||
"dimensions": [
|
||||
2000,
|
||||
2800
|
||||
],
|
||||
"files": {
|
||||
"card.png": "4dfa7bcd38047d00b137a55adaf2143ba62553f4c5af304f5015f1dac1769980",
|
||||
"finish-mask.png": "0166e090f53cfbc859edbff11f3f897194a42fb3b35c015a33beca19c0131028",
|
||||
"text-mask.png": "200ece0a39bb458f0ca307e25e2c58a45a181b0d369333d3604e26327e2289a9"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"boundless": {
|
||||
"components": [
|
||||
"base-art"
|
||||
],
|
||||
"textMask": false,
|
||||
"finishCoverage": "base illustration suppressed by active opaque frame/backing and lettering",
|
||||
"exports": [
|
||||
{
|
||||
"resolution": "low",
|
||||
"dimensions": [
|
||||
500,
|
||||
700
|
||||
],
|
||||
"files": {
|
||||
"card.png": "23bbac4e42b8c1cc29cca50fbc1f2d3f7d7d25f6443103257aa1a82047750a71",
|
||||
"finish-mask.png": "552c0ac576b494757a5f2d585ab80215fcc74fcf0122555ec31842885ba93559"
|
||||
}
|
||||
},
|
||||
{
|
||||
"resolution": "med",
|
||||
"dimensions": [
|
||||
1000,
|
||||
1400
|
||||
],
|
||||
"files": {
|
||||
"card.png": "b46a7426626ec4619a80d5b6f059c49e3c43d2d7b8e8fe8ed3c4adddaa308401",
|
||||
"finish-mask.png": "b65bf9084f2692ce7e1d1b8f61a15ea854ce42af2047a0dcd26b78d7701c4824"
|
||||
}
|
||||
},
|
||||
{
|
||||
"resolution": "high",
|
||||
"dimensions": [
|
||||
2000,
|
||||
2800
|
||||
],
|
||||
"files": {
|
||||
"card.png": "e960efc38baf53a6885f47dcf80f2f2e81d1a7944db94116a9b35b567ceeaa3a",
|
||||
"finish-mask.png": "e995ed1083e9441d9eb0484fb0a05f0c5565719d8300a311c116a945644ef086"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"borderless": {
|
||||
"components": [
|
||||
"base-art",
|
||||
"title-and-covenant-backings",
|
||||
"text"
|
||||
],
|
||||
"textMask": true,
|
||||
"finishCoverage": "base illustration suppressed by active opaque frame/backing and lettering",
|
||||
"exports": [
|
||||
{
|
||||
"resolution": "low",
|
||||
"dimensions": [
|
||||
500,
|
||||
700
|
||||
],
|
||||
"files": {
|
||||
"card.png": "f3faee55243dbbd25434a617473b7a4be43f46d6d5a8b0e96bf2ad5520dd98d6",
|
||||
"finish-mask.png": "6b84f272613f28ef7e77005e74bbbf8d0f3c367e663a7376af4cc4060044d696",
|
||||
"text-mask.png": "6ea7e523800e5519a01680abb2fe6c2e2863212786e8eb37f3515ec42b3bdec4"
|
||||
}
|
||||
},
|
||||
{
|
||||
"resolution": "med",
|
||||
"dimensions": [
|
||||
1000,
|
||||
1400
|
||||
],
|
||||
"files": {
|
||||
"card.png": "3f4444a994b5224f896b8f34aab0550d0fb1efd7217c30cfb55ae2cd603e424a",
|
||||
"finish-mask.png": "d05e019b9b4eed64a4c3a75178e6e9c1d40895e7dd1f5b88e4512a98f17d8838",
|
||||
"text-mask.png": "a875de6bc6064bef7265044b23eafa0f9d338735bc1bd916d3224a6e8002e2a7"
|
||||
}
|
||||
},
|
||||
{
|
||||
"resolution": "high",
|
||||
"dimensions": [
|
||||
2000,
|
||||
2800
|
||||
],
|
||||
"files": {
|
||||
"card.png": "7a1a4c3b3605502fa6f9f380b7734334970c98428f498943e6d30ce9812693c4",
|
||||
"finish-mask.png": "bbbe0c30a683bc6041155fb4f5f1c70c8c9220406ab24b43e7a73720e5b4fbcd",
|
||||
"text-mask.png": "200ece0a39bb458f0ca307e25e2c58a45a181b0d369333d3604e26327e2289a9"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"textless": {
|
||||
"components": [
|
||||
"base-art",
|
||||
"promise-frame"
|
||||
],
|
||||
"textMask": false,
|
||||
"finishCoverage": "base illustration suppressed by active opaque frame/backing and lettering",
|
||||
"exports": [
|
||||
{
|
||||
"resolution": "low",
|
||||
"dimensions": [
|
||||
500,
|
||||
700
|
||||
],
|
||||
"files": {
|
||||
"card.png": "8c1b8462d85f5be3c85ff939a02c57d0de939471cce234c8c1743e6e2dad5354",
|
||||
"finish-mask.png": "f7ec99e5c90ed4d40736608081581621fc4cc48cde88b1888c96375def94060b"
|
||||
}
|
||||
},
|
||||
{
|
||||
"resolution": "med",
|
||||
"dimensions": [
|
||||
1000,
|
||||
1400
|
||||
],
|
||||
"files": {
|
||||
"card.png": "be75908babcb3e46674ae4697fd0fcaafb04f99938920b8397dea71f79bbcf45",
|
||||
"finish-mask.png": "26bbf812c390ade6d9697e92a34afd143e5753e134570c46ed9bb2f5902fda1c"
|
||||
}
|
||||
},
|
||||
{
|
||||
"resolution": "high",
|
||||
"dimensions": [
|
||||
2000,
|
||||
2800
|
||||
],
|
||||
"files": {
|
||||
"card.png": "1e89ca70342c4825da38db16222f59276533548dac43457872e8fe23f99879f4",
|
||||
"finish-mask.png": "69435dbeba8e324119e21dbe3eac4f59257bc5016cf74fdf69b81dd37541d55d"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"tools": {
|
||||
"inkscape": "Inkscape 1.2.2 (b0a8486541, 2022-12-01)",
|
||||
"pillow": "10.2.0",
|
||||
"numpy": "1.26.4"
|
||||
},
|
||||
"visualReview": {
|
||||
"static": "pending user review",
|
||||
"movingLight": "not performed",
|
||||
"userApproval": "pending"
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 468 KiB |
1
artifacts/cards/BP-003-abraham/review/fonts.conf
Normal file
@@ -0,0 +1 @@
|
||||
<fontconfig><dir>/home/dkzver/docker/sanctification/fonts</dir><cachedir>/home/dkzver/docker/sanctification/in-progress/cards/BP-003-abraham/revisions/v02/review/font-cache</cachedir></fontconfig>
|
||||
13
artifacts/cards/BP-003-abraham/review/illustration-review.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# Abraham v02 — night-horizon art review
|
||||
|
||||
Status: art-review, awaiting user review. No artwork or final card approval.
|
||||
|
||||
The user found v01’s pink/violet horizon sunrise-like and jarring. One built-in image-tool edit replaces the warm horizontal band with subdued midnight blue, indigo and dark cool violet. The horizon no longer appears as dawn, sunset or daylight, and no pink/orange light source remains in that band. Warmth stays on Abraham and selected near-rock accents, preserving the focal relationship.
|
||||
|
||||
Inspected at 1000 × 1400 through a temporary JPEG proxy (the filesystem image viewer has a sandbox runtime failure) and at 200 × 280 thumbnail size. The figure’s position, scale, low camera perspective, upward profile and connected open-hand gesture remain visually consistent with v01. The robe keeps its amber/gold/cream palette. The major sky leading, prominent stars and foreground rock silhouettes retain their arrangement. Generative editing refreshed some fine texture; this is visual preservation, not a claim of pixel-identical unchanged regions.
|
||||
|
||||
The scene remains constructed from deliberate stained-glass panes: angular and flowing celestial bands, garment folds, and rock shapes. Leading remains coherent at thumbnail size. Jewel colors, selective warm highlights and bounded texture supply the glass identity without runtime finishes; face and hand remain readable. The single small warm figure against an immense cool sky carries the governing Legendary idea. The dense natural star field remains; no extra figures, symbolic constellations, planets, typography, frame, backing or watermark were introduced.
|
||||
|
||||
As in v01, the hand reaches approximately 62–63% height; this edit intentionally preserves composition. No selected Legendary layout guide is attached. Future bespoke backing coverage remains provisional and must preserve the face and hand. Sky and distant land remain behind Abraham; near rocks form the front plane. No foreground extraction was made.
|
||||
|
||||
The native 1060 × 1484 result is retained with the exact edit prompt and source hash. The 2000 × 2800 opaque RGB master uses uniform Lanczos scaling, zero crop, and no post-generation grading. v01 remains intact, and its selected native is also retained locally as this edit’s input. Structural validation covers source dimensions, opacity, and hashes only. No card layers, lettering, masks, printing assembly or moving-light validation were produced.
|
||||
BIN
artifacts/cards/BP-003-abraham/review/layers-comparison.png
Normal file
|
After Width: | Height: | Size: 271 KiB |
@@ -0,0 +1,24 @@
|
||||
# BP-003 Abraham — Legendary layout prototype v1
|
||||
|
||||
Normal-only composition study for the selected v02 night artwork. This is a provisional presentation review, not production assembly.
|
||||
|
||||
The governing idea is **the promise between earth and heaven**:
|
||||
|
||||
- a narrow indigo-and-gold upper rail carries sparse inset stars;
|
||||
- warm faceted-earth details anchor the lower corners;
|
||||
- a compact upper-right celestial nameplate preserves most of the sky;
|
||||
- a lower-right covenant backing follows a rising horizon arc;
|
||||
- the panel’s upper decoration moves through sparse stars, while its lower linework resolves into a restrained earth/path motif;
|
||||
- Abraham’s face, raised hand, and complete gesture remain unobstructed.
|
||||
|
||||
The locked quotation is set as four semantic lines in shared P052 Medium at 54 master pixels, with the title in shared P052 Bold and the reference in the standard `Book chapter:verse • Translation` format.
|
||||
|
||||
Review files:
|
||||
|
||||
- `composed-preview-1000.png`
|
||||
- `composed-preview-500.png`
|
||||
- `art-layout-comparison.png`
|
||||
- `preview-validation.json`
|
||||
- `composed-preview.svg`
|
||||
|
||||
No foreground extraction, finish mask, text mask, alternate printing, harness installation, moving-light review, artwork approval, or final card approval was performed.
|
||||
|
After Width: | Height: | Size: 1.4 MiB |
@@ -0,0 +1,118 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Normal-only Legendary layout prototype for BP-003 Abraham."""
|
||||
from pathlib import Path
|
||||
import hashlib,json,os,subprocess
|
||||
from xml.sax.saxutils import escape
|
||||
import numpy as np
|
||||
from PIL import Image,ImageDraw,ImageFont
|
||||
|
||||
P=Path(__file__).resolve().parent
|
||||
REV=P.parents[1]
|
||||
REPO=next(p for p in P.parents if (p/'docs/card-layer-pipeline.md').is_file())
|
||||
ART=REV/'source/art-master.png'
|
||||
FONTS=REPO/'fonts'
|
||||
sha=lambda p:hashlib.sha256(p.read_bytes()).hexdigest()
|
||||
card=json.loads((REV/'card.json').read_text())
|
||||
font_manifest=json.loads((FONTS/'manifest.json').read_text())
|
||||
for name in ['P052-Bold.otf','SanctificationP052-Medium.otf']:
|
||||
assert sha(FONTS/name)==font_manifest['files'][name]['sha256']
|
||||
(P/'font-cache').mkdir(exist_ok=True)
|
||||
(P/'fonts.conf').write_text(f'<fontconfig><dir>{FONTS}</dir><cachedir>{P/"font-cache"}</cachedir></fontconfig>')
|
||||
env=dict(os.environ,FONTCONFIG_FILE=str(P/'fonts.conf'))
|
||||
def ink(*args):return subprocess.check_output(['inkscape',*map(str,args)],env=env,text=True,stderr=subprocess.PIPE).strip()
|
||||
def render(src,dst,width=2000):
|
||||
ink(src,'--export-type=png',f'--export-filename={dst}',f'--export-width={width}',f'--export-height={width*7//5}')
|
||||
def resolved(family,style):return Path(subprocess.check_output(['fc-match','-f','%{file}',f'{family}:style={style}'],env=env,text=True).strip()).resolve()
|
||||
assert resolved('P052','Bold')==(FONTS/'P052-Bold.otf').resolve()
|
||||
assert resolved('Sanctification P052','Medium')==(FONTS/'SanctificationP052-Medium.otf').resolve()
|
||||
|
||||
head='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="2000" height="2800" viewBox="0 0 2000 2800">'
|
||||
defs='''<defs>
|
||||
<linearGradient id="paper" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#fbf2dc"/><stop offset=".55" stop-color="#f3e7cd"/><stop offset="1" stop-color="#e8d2ad"/></linearGradient>
|
||||
<linearGradient id="gold" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#f3d77e"/><stop offset=".45" stop-color="#bd8730"/><stop offset="1" stop-color="#6e4916"/></linearGradient>
|
||||
<linearGradient id="earth" x1="0" y1="0" x2="1" y2="0"><stop offset="0" stop-color="#5a321f"/><stop offset=".45" stop-color="#9a5f28"/><stop offset="1" stop-color="#d2a14a"/></linearGradient>
|
||||
<pattern id="vellum" width="32" height="28" patternUnits="userSpaceOnUse"><path d="M0 7H32 M0 20H32" stroke="#8b6f45" stroke-width="1" opacity=".055"/><path d="M7 0V28 M23 0V28" stroke="#a48a60" stroke-width="1" opacity=".045"/></pattern>
|
||||
<pattern id="night-band" width="54" height="34" patternUnits="userSpaceOnUse"><rect width="54" height="34" fill="#132f54"/><circle cx="12" cy="10" r="2" fill="#e6c46c"/><circle cx="40" cy="25" r="1.5" fill="#f1df9e"/></pattern>
|
||||
<g id="star"><path d="M0-13 L3-3 L13 0 L3 3 L0 13 L-3 3 L-13 0 L-3-3Z" fill="url(#gold)" stroke="#624315" stroke-width="1.5"/></g>
|
||||
</defs>'''
|
||||
base='<image xlink:href="../../source/art-master.png" width="2000" height="2800"/>'
|
||||
frame='''<g id="promise-frame">
|
||||
<rect x="15" y="15" width="1970" height="2770" rx="30" fill="none" stroke="#241b19" stroke-width="28"/>
|
||||
<rect x="25" y="25" width="1950" height="2750" rx="24" fill="none" stroke="url(#gold)" stroke-width="12"/>
|
||||
<rect x="42" y="42" width="1916" height="2716" rx="18" fill="none" stroke="#163457" stroke-width="9"/>
|
||||
<rect x="53" y="53" width="1894" height="2694" rx="14" fill="none" stroke="#d9b55e" stroke-width="3"/>
|
||||
<path d="M65 88 H1935" stroke="url(#night-band)" stroke-width="22"/>
|
||||
<g opacity=".9"><use xlink:href="#star" transform="translate(300 88) scale(.55)"/><use xlink:href="#star" transform="translate(625 88) scale(.38)"/><use xlink:href="#star" transform="translate(1010 88) scale(.48)"/><use xlink:href="#star" transform="translate(1510 88) scale(.34)"/><use xlink:href="#star" transform="translate(1800 88) scale(.5)"/></g>
|
||||
<path d="M55 2665 L210 2588 L350 2700 L505 2618 L665 2738 H55Z" fill="url(#earth)" opacity=".94" stroke="#4a2b1a" stroke-width="4"/>
|
||||
<path d="M1945 2665 L1790 2588 L1650 2700 L1495 2618 L1335 2738 H1945Z" fill="url(#earth)" opacity=".94" stroke="#4a2b1a" stroke-width="4"/>
|
||||
</g>'''
|
||||
title_path='M1190 62 H1938 V342 H1110 V150 Q1110 62 1190 62Z'
|
||||
verse_path='M1050 1940 C1260 1880 1580 1920 1940 1785 V2742 H1030 C1110 2535 1130 2325 1080 2120 C1055 2030 1035 1980 1050 1940Z'
|
||||
title='''<g id="title-backing"><path d="'''+title_path+'''" fill="#151d2f" stroke="#241b19" stroke-width="12"/><path d="M1200 82 H1918 V322 H1135 V154 Q1135 82 1200 82Z" fill="url(#paper)" stroke="url(#gold)" stroke-width="5"/><path d="M1195 300 H1450 M1530 300 H1880" stroke="#9e762d" stroke-width="3"/><use xlink:href="#star" transform="translate(1490 300) scale(.55)"/><use xlink:href="#star" transform="translate(1170 120) scale(.42)"/><use xlink:href="#star" transform="translate(1880 120) scale(.34)"/></g>'''
|
||||
verse='''<g id="verse-backing"><path d="'''+verse_path+'''" transform="translate(4 7)" fill="#15100d" opacity=".66"/><path d="'''+verse_path+'''" fill="url(#paper)" stroke="#5c3c1b" stroke-width="9"/><path d="'''+verse_path+'''" fill="url(#vellum)" stroke="url(#gold)" stroke-width="4"/>
|
||||
<path d="M1082 1971 C1290 1915 1590 1945 1902 1832" fill="none" stroke="#173c63" stroke-width="7"/>
|
||||
<path d="M1095 1986 C1300 1934 1592 1960 1894 1852" fill="none" stroke="#c89a43" stroke-width="3"/>
|
||||
<g opacity=".95"><use xlink:href="#star" transform="translate(1175 1952) scale(.48)"/><use xlink:href="#star" transform="translate(1420 1927) scale(.33)"/><use xlink:href="#star" transform="translate(1680 1924) scale(.42)"/><use xlink:href="#star" transform="translate(1875 1867) scale(.3)"/></g>
|
||||
<path d="M1100 2695 H1290 L1360 2665 L1430 2700 L1510 2658 L1590 2692 H1900" fill="none" stroke="#9b6429" stroke-width="5" stroke-linejoin="round"/>
|
||||
<path d="M1110 2710 H1900" stroke="#173c63" stroke-width="3"/>
|
||||
</g>'''
|
||||
rows=[
|
||||
('title','ABRAHAM',1525,248,132,'P052',700),
|
||||
('verse-0','“Look toward heaven,',1495,2165,54,'Sanctification P052',500),
|
||||
('verse-1','and number the stars,',1495,2272,54,'Sanctification P052',500),
|
||||
('verse-2','if you are able to number them.',1495,2379,54,'Sanctification P052',500),
|
||||
('verse-3','… So shall your offspring be.”',1495,2486,54,'Sanctification P052',500),
|
||||
('reference','Genesis 15:5 • ESV',1495,2625,48,'Sanctification P052',500),
|
||||
]
|
||||
texts=''.join(f'<text id="{i}" x="{x}" y="{y}" font-family="{fam}" font-weight="{w}" font-size="{size}" text-anchor="middle" fill="#263f50">{escape(t)}</text>' for i,t,x,y,size,fam,w in rows)
|
||||
body=base+frame+title+verse+texts
|
||||
(P/'composed-preview.svg').write_text(head+defs+body+'</svg>')
|
||||
(P/'layers-preview.svg').write_text(head+defs+frame+title+verse+'</svg>')
|
||||
(P/'text-preview.svg').write_text(head+texts+'</svg>')
|
||||
render(P/'composed-preview.svg',P/'composed-preview-2000.png')
|
||||
master=Image.open(P/'composed-preview-2000.png').convert('RGB')
|
||||
master.resize((1000,1400),Image.Resampling.LANCZOS).save(P/'composed-preview-1000.png')
|
||||
master.resize((500,700),Image.Resampling.LANCZOS).save(P/'composed-preview-500.png')
|
||||
render(P/'layers-preview.svg',P/'layers-preview.png')
|
||||
render(P/'text-preview.svg',P/'text-preview.png')
|
||||
|
||||
layer_a=np.asarray(Image.open(P/'layers-preview.png').convert('RGBA').getchannel('A'))
|
||||
text_a=np.asarray(Image.open(P/'text-preview.png').convert('RGBA').getchannel('A'))
|
||||
checks=[]
|
||||
for ident,text_value,x,y,size,fam,w in rows:
|
||||
node=next(part for part in texts.split('</text>') if f'id="{ident}"' in part)+'</text>'
|
||||
src=P/f'{ident}-ink.svg';dst=P/f'{ident}-ink.png'
|
||||
src.write_text(head+node+'</svg>');render(src,dst)
|
||||
a=np.asarray(Image.open(dst).convert('RGBA').getchannel('A'));ys,xs=np.where(a>0);assert len(xs)
|
||||
bounds=[int(xs.min()),int(ys.min()),int(xs.max()+1),int(ys.max()+1)]
|
||||
safe=[1130,80,1920,320] if ident=='title' else [1120,2050,1905,2665]
|
||||
assert safe[0]<=bounds[0] and safe[1]<=bounds[1] and bounds[2]<=safe[2] and bounds[3]<=safe[3],(ident,bounds,safe)
|
||||
assert np.all(layer_a[a>0]==255),ident
|
||||
checks.append({'id':ident,'text':text_value,'baseline':y,'size':size,'font':fam,'weight':w,'inkBounds':bounds,'safeBounds':safe,'outsideOpaqueBacking':0})
|
||||
assert ' '.join(c['text'] for c in checks if c['id'].startswith('verse-')).replace('“','').replace('”','')==card['excerpt']
|
||||
assert checks[-1]['text']==card['referenceDisplay']
|
||||
# Face and hand remain above the panel's top-left start and are not covered.
|
||||
art=np.asarray(Image.open(ART).convert('RGB'))
|
||||
composed=np.asarray(master)
|
||||
assert np.array_equal(art[1400:1850,500:1300],composed[1400:1850,500:1300])
|
||||
report={
|
||||
'status':'passed',
|
||||
'scope':'Normal-only Legendary layout prototype; no production assembly',
|
||||
'cardId':'BP-003','revision':'v02','canvas':[2000,2800],
|
||||
'art':{'path':str(ART.relative_to(REPO)),'sha256':sha(ART)},
|
||||
'governingIdea':'Promise between earth and heaven',
|
||||
'compositionOrder':['art','indigo-gold-to-earth frame','celestial title plaque','lower-right covenant backing','text'],
|
||||
'paths':{'titleBacking':title_path,'verseBacking':verse_path},
|
||||
'typography':{'sharedFontManifestSHA256':sha(FONTS/'manifest.json'),'checks':checks,'quotation':True,'reference':card['referenceDisplay']},
|
||||
'structuralChecks':{'textOnOpaqueBacking':'passed','faceAndHandRegionUnchanged':'passed','sourceArtUnchanged':sha(ART)==card['artSHA256'],'canvasRegistration':'passed'},
|
||||
'staticReview':'pending user visual review',
|
||||
'notPerformed':['foreground extraction','finish masks','text masks','Borderless/Textless/Boundless printings','harness installation','moving-light review','art or card approval']
|
||||
}
|
||||
(P/'preview-validation.json').write_text(json.dumps(report,indent=2)+'\n')
|
||||
label=ImageFont.truetype(str(FONTS/'P052-Bold.otf'),28)
|
||||
board=Image.new('RGB',(1500,1080),'#11161c');d=ImageDraw.Draw(board)
|
||||
for i,(name,path) in enumerate([('Selected v02 art',REV/'review/art-review.png'),('Legendary layout prototype',P/'composed-preview-1000.png')]):
|
||||
d.text((i*750+20,16),name,font=label,fill='#f4ead4')
|
||||
im=Image.open(path).convert('RGB');im.thumbnail((710,995));board.paste(im,(i*750+20,60))
|
||||
board.save(P/'art-layout-comparison.png')
|
||||
print(json.dumps({'status':'passed','preview':str((P/'composed-preview-1000.png').relative_to(REPO))},indent=2))
|
||||
|
After Width: | Height: | Size: 1.8 MiB |
|
After Width: | Height: | Size: 5.7 MiB |
|
After Width: | Height: | Size: 570 KiB |
@@ -0,0 +1,23 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="2000" height="2800" viewBox="0 0 2000 2800"><defs>
|
||||
<linearGradient id="paper" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#fbf2dc" /><stop offset=".55" stop-color="#f3e7cd" /><stop offset="1" stop-color="#e8d2ad" /></linearGradient>
|
||||
<linearGradient id="gold" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#f3d77e" /><stop offset=".45" stop-color="#bd8730" /><stop offset="1" stop-color="#6e4916" /></linearGradient>
|
||||
<linearGradient id="earth" x1="0" y1="0" x2="1" y2="0"><stop offset="0" stop-color="#5a321f" /><stop offset=".45" stop-color="#9a5f28" /><stop offset="1" stop-color="#d2a14a" /></linearGradient>
|
||||
<pattern id="vellum" width="32" height="28" patternUnits="userSpaceOnUse"><path d="M0 7H32 M0 20H32" stroke="#8b6f45" stroke-width="1" opacity=".055" /><path d="M7 0V28 M23 0V28" stroke="#a48a60" stroke-width="1" opacity=".045" /></pattern>
|
||||
<pattern id="night-band" width="54" height="34" patternUnits="userSpaceOnUse"><rect width="54" height="34" fill="#132f54" /><circle cx="12" cy="10" r="2" fill="#e6c46c" /><circle cx="40" cy="25" r="1.5" fill="#f1df9e" /></pattern>
|
||||
<g id="star"><path d="M0-13 L3-3 L13 0 L3 3 L0 13 L-3 3 L-13 0 L-3-3Z" fill="url(#gold)" stroke="#624315" stroke-width="1.5" /></g>
|
||||
</defs><image xlink:href="../../source/art-master.png" width="2000" height="2800" /><g id="promise-frame">
|
||||
<rect x="15" y="15" width="1970" height="2770" rx="30" fill="none" stroke="#241b19" stroke-width="28" />
|
||||
<rect x="25" y="25" width="1950" height="2750" rx="24" fill="none" stroke="url(#gold)" stroke-width="12" />
|
||||
<rect x="42" y="42" width="1916" height="2716" rx="18" fill="none" stroke="#163457" stroke-width="9" />
|
||||
<rect x="53" y="53" width="1894" height="2694" rx="14" fill="none" stroke="#d9b55e" stroke-width="3" />
|
||||
<path d="M65 88 H1935" stroke="url(#night-band)" stroke-width="22" />
|
||||
<g opacity=".9"><use xlink:href="#star" transform="translate(300 88) scale(.55)" /><use xlink:href="#star" transform="translate(625 88) scale(.38)" /><use xlink:href="#star" transform="translate(1010 88) scale(.48)" /><use xlink:href="#star" transform="translate(1510 88) scale(.34)" /><use xlink:href="#star" transform="translate(1800 88) scale(.5)" /></g>
|
||||
<path d="M55 2665 L210 2588 L350 2700 L505 2618 L665 2738 H55Z" fill="url(#earth)" opacity=".94" stroke="#4a2b1a" stroke-width="4" />
|
||||
<path d="M1945 2665 L1790 2588 L1650 2700 L1495 2618 L1335 2738 H1945Z" fill="url(#earth)" opacity=".94" stroke="#4a2b1a" stroke-width="4" />
|
||||
</g><g id="title-backing"><path d="M1190 62 H1938 V342 H1110 V150 Q1110 62 1190 62Z" fill="#151d2f" stroke="#241b19" stroke-width="12" /><path d="M1200 82 H1918 V322 H1135 V154 Q1135 82 1200 82Z" fill="url(#paper)" stroke="url(#gold)" stroke-width="5" /><path d="M1195 300 H1450 M1530 300 H1880" stroke="#9e762d" stroke-width="3" /><use xlink:href="#star" transform="translate(1490 300) scale(.55)" /><use xlink:href="#star" transform="translate(1170 120) scale(.42)" /><use xlink:href="#star" transform="translate(1880 120) scale(.34)" /></g><g id="verse-backing"><path d="M1050 1940 C1260 1880 1580 1920 1940 1785 V2742 H1030 C1110 2535 1130 2325 1080 2120 C1055 2030 1035 1980 1050 1940Z" transform="translate(4 7)" fill="#15100d" opacity=".66" /><path d="M1050 1940 C1260 1880 1580 1920 1940 1785 V2742 H1030 C1110 2535 1130 2325 1080 2120 C1055 2030 1035 1980 1050 1940Z" fill="url(#paper)" stroke="#5c3c1b" stroke-width="9" /><path d="M1050 1940 C1260 1880 1580 1920 1940 1785 V2742 H1030 C1110 2535 1130 2325 1080 2120 C1055 2030 1035 1980 1050 1940Z" fill="url(#vellum)" stroke="url(#gold)" stroke-width="4" />
|
||||
<path d="M1082 1971 C1290 1915 1590 1945 1902 1832" fill="none" stroke="#173c63" stroke-width="7" />
|
||||
<path d="M1095 1986 C1300 1934 1592 1960 1894 1852" fill="none" stroke="#c89a43" stroke-width="3" />
|
||||
<g opacity=".95"><use xlink:href="#star" transform="translate(1175 1952) scale(.48)" /><use xlink:href="#star" transform="translate(1420 1927) scale(.33)" /><use xlink:href="#star" transform="translate(1680 1924) scale(.42)" /><use xlink:href="#star" transform="translate(1875 1867) scale(.3)" /></g>
|
||||
<path d="M1100 2695 H1290 L1360 2665 L1430 2700 L1510 2658 L1590 2692 H1900" fill="none" stroke="#9b6429" stroke-width="5" stroke-linejoin="round" />
|
||||
<path d="M1110 2710 H1900" stroke="#173c63" stroke-width="3" />
|
||||
</g><text id="title" x="1525" y="248" font-family="P052" font-weight="700" font-size="132" text-anchor="middle" fill="#263f50">ABRAHAM</text><text id="verse-0" x="1495" y="2165" font-family="Sanctification P052" font-weight="500" font-size="54" text-anchor="middle" fill="#263f50">“Look toward heaven,</text><text id="verse-1" x="1495" y="2272" font-family="Sanctification P052" font-weight="500" font-size="54" text-anchor="middle" fill="#263f50">and number the stars,</text><text id="verse-2" x="1495" y="2379" font-family="Sanctification P052" font-weight="500" font-size="54" text-anchor="middle" fill="#263f50">if you are able to number them.</text><text id="verse-3" x="1495" y="2486" font-family="Sanctification P052" font-weight="500" font-size="54" text-anchor="middle" fill="#263f50">… So shall your offspring be.”</text><text id="reference" x="1495" y="2625" font-family="Sanctification P052" font-weight="500" font-size="48" text-anchor="middle" fill="#263f50">Genesis 15:5 • ESV</text></svg>
|
||||
|
After Width: | Height: | Size: 5.3 KiB |
@@ -0,0 +1 @@
|
||||
<fontconfig><dir>/home/dkzver/docker/sanctification/fonts</dir><cachedir>/home/dkzver/docker/sanctification/in-progress/cards/BP-003-abraham/revisions/v02/review/legendary-layout-prototype-v1/font-cache</cachedir></fontconfig>
|
||||
|
After Width: | Height: | Size: 193 KiB |
@@ -0,0 +1,23 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="2000" height="2800" viewBox="0 0 2000 2800"><defs>
|
||||
<linearGradient id="paper" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#fbf2dc"/><stop offset=".55" stop-color="#f3e7cd"/><stop offset="1" stop-color="#e8d2ad"/></linearGradient>
|
||||
<linearGradient id="gold" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#f3d77e"/><stop offset=".45" stop-color="#bd8730"/><stop offset="1" stop-color="#6e4916"/></linearGradient>
|
||||
<linearGradient id="earth" x1="0" y1="0" x2="1" y2="0"><stop offset="0" stop-color="#5a321f"/><stop offset=".45" stop-color="#9a5f28"/><stop offset="1" stop-color="#d2a14a"/></linearGradient>
|
||||
<pattern id="vellum" width="32" height="28" patternUnits="userSpaceOnUse"><path d="M0 7H32 M0 20H32" stroke="#8b6f45" stroke-width="1" opacity=".055"/><path d="M7 0V28 M23 0V28" stroke="#a48a60" stroke-width="1" opacity=".045"/></pattern>
|
||||
<pattern id="night-band" width="54" height="34" patternUnits="userSpaceOnUse"><rect width="54" height="34" fill="#132f54"/><circle cx="12" cy="10" r="2" fill="#e6c46c"/><circle cx="40" cy="25" r="1.5" fill="#f1df9e"/></pattern>
|
||||
<g id="star"><path d="M0-13 L3-3 L13 0 L3 3 L0 13 L-3 3 L-13 0 L-3-3Z" fill="url(#gold)" stroke="#624315" stroke-width="1.5"/></g>
|
||||
</defs><g id="promise-frame">
|
||||
<rect x="15" y="15" width="1970" height="2770" rx="30" fill="none" stroke="#241b19" stroke-width="28"/>
|
||||
<rect x="25" y="25" width="1950" height="2750" rx="24" fill="none" stroke="url(#gold)" stroke-width="12"/>
|
||||
<rect x="42" y="42" width="1916" height="2716" rx="18" fill="none" stroke="#163457" stroke-width="9"/>
|
||||
<rect x="53" y="53" width="1894" height="2694" rx="14" fill="none" stroke="#d9b55e" stroke-width="3"/>
|
||||
<path d="M65 88 H1935" stroke="url(#night-band)" stroke-width="22"/>
|
||||
<g opacity=".9"><use xlink:href="#star" transform="translate(300 88) scale(.55)"/><use xlink:href="#star" transform="translate(625 88) scale(.38)"/><use xlink:href="#star" transform="translate(1010 88) scale(.48)"/><use xlink:href="#star" transform="translate(1510 88) scale(.34)"/><use xlink:href="#star" transform="translate(1800 88) scale(.5)"/></g>
|
||||
<path d="M55 2665 L210 2588 L350 2700 L505 2618 L665 2738 H55Z" fill="url(#earth)" opacity=".94" stroke="#4a2b1a" stroke-width="4"/>
|
||||
<path d="M1945 2665 L1790 2588 L1650 2700 L1495 2618 L1335 2738 H1945Z" fill="url(#earth)" opacity=".94" stroke="#4a2b1a" stroke-width="4"/>
|
||||
</g><g id="title-backing"><path d="M1190 62 H1938 V342 H1110 V150 Q1110 62 1190 62Z" fill="#151d2f" stroke="#241b19" stroke-width="12"/><path d="M1200 82 H1918 V322 H1135 V154 Q1135 82 1200 82Z" fill="url(#paper)" stroke="url(#gold)" stroke-width="5"/><path d="M1195 300 H1450 M1530 300 H1880" stroke="#9e762d" stroke-width="3"/><use xlink:href="#star" transform="translate(1490 300) scale(.55)"/><use xlink:href="#star" transform="translate(1170 120) scale(.42)"/><use xlink:href="#star" transform="translate(1880 120) scale(.34)"/></g><g id="verse-backing"><path d="M1050 1940 C1260 1880 1580 1920 1940 1785 V2742 H1030 C1110 2535 1130 2325 1080 2120 C1055 2030 1035 1980 1050 1940Z" transform="translate(4 7)" fill="#15100d" opacity=".66"/><path d="M1050 1940 C1260 1880 1580 1920 1940 1785 V2742 H1030 C1110 2535 1130 2325 1080 2120 C1055 2030 1035 1980 1050 1940Z" fill="url(#paper)" stroke="#5c3c1b" stroke-width="9"/><path d="M1050 1940 C1260 1880 1580 1920 1940 1785 V2742 H1030 C1110 2535 1130 2325 1080 2120 C1055 2030 1035 1980 1050 1940Z" fill="url(#vellum)" stroke="url(#gold)" stroke-width="4"/>
|
||||
<path d="M1082 1971 C1290 1915 1590 1945 1902 1832" fill="none" stroke="#173c63" stroke-width="7"/>
|
||||
<path d="M1095 1986 C1300 1934 1592 1960 1894 1852" fill="none" stroke="#c89a43" stroke-width="3"/>
|
||||
<g opacity=".95"><use xlink:href="#star" transform="translate(1175 1952) scale(.48)"/><use xlink:href="#star" transform="translate(1420 1927) scale(.33)"/><use xlink:href="#star" transform="translate(1680 1924) scale(.42)"/><use xlink:href="#star" transform="translate(1875 1867) scale(.3)"/></g>
|
||||
<path d="M1100 2695 H1290 L1360 2665 L1430 2700 L1510 2658 L1590 2692 H1900" fill="none" stroke="#9b6429" stroke-width="5" stroke-linejoin="round"/>
|
||||
<path d="M1110 2710 H1900" stroke="#173c63" stroke-width="3"/>
|
||||
</g></svg>
|
||||
|
After Width: | Height: | Size: 4.2 KiB |
@@ -0,0 +1,175 @@
|
||||
{
|
||||
"status": "passed",
|
||||
"scope": "Normal-only Legendary layout prototype; no production assembly",
|
||||
"cardId": "BP-003",
|
||||
"revision": "v02",
|
||||
"canvas": [
|
||||
2000,
|
||||
2800
|
||||
],
|
||||
"art": {
|
||||
"path": "in-progress/cards/BP-003-abraham/revisions/v02/source/art-master.png",
|
||||
"sha256": "0461b6888079d1d5686addf8eb27151c19b183e04e16bf22386746d72825aa98"
|
||||
},
|
||||
"governingIdea": "Promise between earth and heaven",
|
||||
"compositionOrder": [
|
||||
"art",
|
||||
"indigo-gold-to-earth frame",
|
||||
"celestial title plaque",
|
||||
"lower-right covenant backing",
|
||||
"text"
|
||||
],
|
||||
"paths": {
|
||||
"titleBacking": "M1190 62 H1938 V342 H1110 V150 Q1110 62 1190 62Z",
|
||||
"verseBacking": "M1050 1940 C1260 1880 1580 1920 1940 1785 V2742 H1030 C1110 2535 1130 2325 1080 2120 C1055 2030 1035 1980 1050 1940Z"
|
||||
},
|
||||
"typography": {
|
||||
"sharedFontManifestSHA256": "ef68ee6393981d54ca068a950f21c53b374d20e6e46c21c788f36380d3aae178",
|
||||
"checks": [
|
||||
{
|
||||
"id": "title",
|
||||
"text": "ABRAHAM",
|
||||
"baseline": 248,
|
||||
"size": 132,
|
||||
"font": "P052",
|
||||
"weight": 700,
|
||||
"inkBounds": [
|
||||
1158,
|
||||
157,
|
||||
1891,
|
||||
250
|
||||
],
|
||||
"safeBounds": [
|
||||
1130,
|
||||
80,
|
||||
1920,
|
||||
320
|
||||
],
|
||||
"outsideOpaqueBacking": 0
|
||||
},
|
||||
{
|
||||
"id": "verse-0",
|
||||
"text": "\u201cLook toward heaven,",
|
||||
"baseline": 2165,
|
||||
"size": 54,
|
||||
"font": "Sanctification P052",
|
||||
"weight": 500,
|
||||
"inkBounds": [
|
||||
1234,
|
||||
2125,
|
||||
1757,
|
||||
2174
|
||||
],
|
||||
"safeBounds": [
|
||||
1120,
|
||||
2050,
|
||||
1905,
|
||||
2665
|
||||
],
|
||||
"outsideOpaqueBacking": 0
|
||||
},
|
||||
{
|
||||
"id": "verse-1",
|
||||
"text": "and number the stars,",
|
||||
"baseline": 2272,
|
||||
"size": 54,
|
||||
"font": "Sanctification P052",
|
||||
"weight": 500,
|
||||
"inkBounds": [
|
||||
1236,
|
||||
2232,
|
||||
1754,
|
||||
2281
|
||||
],
|
||||
"safeBounds": [
|
||||
1120,
|
||||
2050,
|
||||
1905,
|
||||
2665
|
||||
],
|
||||
"outsideOpaqueBacking": 0
|
||||
},
|
||||
{
|
||||
"id": "verse-2",
|
||||
"text": "if you are able to number them.",
|
||||
"baseline": 2379,
|
||||
"size": 54,
|
||||
"font": "Sanctification P052",
|
||||
"weight": 500,
|
||||
"inkBounds": [
|
||||
1121,
|
||||
2339,
|
||||
1867,
|
||||
2395
|
||||
],
|
||||
"safeBounds": [
|
||||
1120,
|
||||
2050,
|
||||
1905,
|
||||
2665
|
||||
],
|
||||
"outsideOpaqueBacking": 0
|
||||
},
|
||||
{
|
||||
"id": "verse-3",
|
||||
"text": "\u2026 So shall your offspring be.\u201d",
|
||||
"baseline": 2486,
|
||||
"size": 54,
|
||||
"font": "Sanctification P052",
|
||||
"weight": 500,
|
||||
"inkBounds": [
|
||||
1145,
|
||||
2446,
|
||||
1849,
|
||||
2502
|
||||
],
|
||||
"safeBounds": [
|
||||
1120,
|
||||
2050,
|
||||
1905,
|
||||
2665
|
||||
],
|
||||
"outsideOpaqueBacking": 0
|
||||
},
|
||||
{
|
||||
"id": "reference",
|
||||
"text": "Genesis 15:5 \u2022 ESV",
|
||||
"baseline": 2625,
|
||||
"size": 48,
|
||||
"font": "Sanctification P052",
|
||||
"weight": 500,
|
||||
"inkBounds": [
|
||||
1294,
|
||||
2590,
|
||||
1696,
|
||||
2627
|
||||
],
|
||||
"safeBounds": [
|
||||
1120,
|
||||
2050,
|
||||
1905,
|
||||
2665
|
||||
],
|
||||
"outsideOpaqueBacking": 0
|
||||
}
|
||||
],
|
||||
"quotation": true,
|
||||
"reference": "Genesis 15:5 \u2022 ESV"
|
||||
},
|
||||
"structuralChecks": {
|
||||
"textOnOpaqueBacking": "passed",
|
||||
"faceAndHandRegionUnchanged": "passed",
|
||||
"sourceArtUnchanged": true,
|
||||
"canvasRegistration": "passed"
|
||||
},
|
||||
"staticReview": "pending user visual review",
|
||||
"notPerformed": [
|
||||
"foreground extraction",
|
||||
"finish masks",
|
||||
"text masks",
|
||||
"Borderless/Textless/Boundless printings",
|
||||
"harness installation",
|
||||
"moving-light review",
|
||||
"art or card approval"
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 39 KiB |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="2000" height="2800" viewBox="0 0 2000 2800"><text id="reference" x="1495" y="2625" font-family="Sanctification P052" font-weight="500" font-size="48" text-anchor="middle" fill="#263f50">Genesis 15:5 • ESV</text></svg>
|
||||
|
After Width: | Height: | Size: 309 B |
|
After Width: | Height: | Size: 121 KiB |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="2000" height="2800" viewBox="0 0 2000 2800"><text id="title" x="1525" y="248" font-family="P052" font-weight="700" font-size="132" text-anchor="middle" fill="#263f50">ABRAHAM</text><text id="verse-0" x="1495" y="2165" font-family="Sanctification P052" font-weight="500" font-size="54" text-anchor="middle" fill="#263f50">“Look toward heaven,</text><text id="verse-1" x="1495" y="2272" font-family="Sanctification P052" font-weight="500" font-size="54" text-anchor="middle" fill="#263f50">and number the stars,</text><text id="verse-2" x="1495" y="2379" font-family="Sanctification P052" font-weight="500" font-size="54" text-anchor="middle" fill="#263f50">if you are able to number them.</text><text id="verse-3" x="1495" y="2486" font-family="Sanctification P052" font-weight="500" font-size="54" text-anchor="middle" fill="#263f50">… So shall your offspring be.”</text><text id="reference" x="1495" y="2625" font-family="Sanctification P052" font-weight="500" font-size="48" text-anchor="middle" fill="#263f50">Genesis 15:5 • ESV</text></svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 46 KiB |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="2000" height="2800" viewBox="0 0 2000 2800"><text id="title" x="1525" y="248" font-family="P052" font-weight="700" font-size="132" text-anchor="middle" fill="#263f50">ABRAHAM</text></svg>
|
||||
|
After Width: | Height: | Size: 277 B |
|
After Width: | Height: | Size: 42 KiB |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="2000" height="2800" viewBox="0 0 2000 2800"><text id="verse-0" x="1495" y="2165" font-family="Sanctification P052" font-weight="500" font-size="54" text-anchor="middle" fill="#263f50">“Look toward heaven,</text></svg>
|
||||
|
After Width: | Height: | Size: 309 B |
|
After Width: | Height: | Size: 41 KiB |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="2000" height="2800" viewBox="0 0 2000 2800"><text id="verse-1" x="1495" y="2272" font-family="Sanctification P052" font-weight="500" font-size="54" text-anchor="middle" fill="#263f50">and number the stars,</text></svg>
|
||||
|
After Width: | Height: | Size: 308 B |
|
After Width: | Height: | Size: 45 KiB |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="2000" height="2800" viewBox="0 0 2000 2800"><text id="verse-2" x="1495" y="2379" font-family="Sanctification P052" font-weight="500" font-size="54" text-anchor="middle" fill="#263f50">if you are able to number them.</text></svg>
|
||||
|
After Width: | Height: | Size: 318 B |
|
After Width: | Height: | Size: 46 KiB |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="2000" height="2800" viewBox="0 0 2000 2800"><text id="verse-3" x="1495" y="2486" font-family="Sanctification P052" font-weight="500" font-size="54" text-anchor="middle" fill="#263f50">… So shall your offspring be.”</text></svg>
|
||||
|
After Width: | Height: | Size: 321 B |
@@ -0,0 +1,13 @@
|
||||
# BP-003 Abraham — Legendary layout prototype v2
|
||||
|
||||
Normal-only refinement of the promise-between-earth-and-heaven layout.
|
||||
|
||||
Changes from v1:
|
||||
|
||||
- removed the star banner from the upper frame so the night artwork reaches the border cleanly;
|
||||
- removed the faceted mountain ornaments from both lower corners;
|
||||
- added a small two-camel pilgrim caravan along the lower-left rail;
|
||||
- replaced the two lower chevrons beneath the reference with one straight rule;
|
||||
- shifted the complete verse and reference block 16 master pixels right after measuring the longest line’s ink bounds.
|
||||
|
||||
The celestial title plaque, covenant backing, locked four-line quotation, shared P052 typography, and unobstructed face/hand region are retained. This remains a Normal-only presentation study; no production layers, masks, alternate printings, harness installation, or approval were created.
|
||||
|
After Width: | Height: | Size: 1.4 MiB |
@@ -0,0 +1,119 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Normal-only Legendary layout prototype for BP-003 Abraham."""
|
||||
from pathlib import Path
|
||||
import hashlib,json,os,subprocess
|
||||
from xml.sax.saxutils import escape
|
||||
import numpy as np
|
||||
from PIL import Image,ImageDraw,ImageFont
|
||||
|
||||
P=Path(__file__).resolve().parent
|
||||
REV=P.parents[1]
|
||||
REPO=next(p for p in P.parents if (p/'docs/card-layer-pipeline.md').is_file())
|
||||
ART=REV/'source/art-master.png'
|
||||
FONTS=REPO/'fonts'
|
||||
sha=lambda p:hashlib.sha256(p.read_bytes()).hexdigest()
|
||||
card=json.loads((REV/'card.json').read_text())
|
||||
font_manifest=json.loads((FONTS/'manifest.json').read_text())
|
||||
for name in ['P052-Bold.otf','SanctificationP052-Medium.otf']:
|
||||
assert sha(FONTS/name)==font_manifest['files'][name]['sha256']
|
||||
(P/'font-cache').mkdir(exist_ok=True)
|
||||
(P/'fonts.conf').write_text(f'<fontconfig><dir>{FONTS}</dir><cachedir>{P/"font-cache"}</cachedir></fontconfig>')
|
||||
env=dict(os.environ,FONTCONFIG_FILE=str(P/'fonts.conf'))
|
||||
def ink(*args):return subprocess.check_output(['inkscape',*map(str,args)],env=env,text=True,stderr=subprocess.PIPE).strip()
|
||||
def render(src,dst,width=2000):
|
||||
ink(src,'--export-type=png',f'--export-filename={dst}',f'--export-width={width}',f'--export-height={width*7//5}')
|
||||
def resolved(family,style):return Path(subprocess.check_output(['fc-match','-f','%{file}',f'{family}:style={style}'],env=env,text=True).strip()).resolve()
|
||||
assert resolved('P052','Bold')==(FONTS/'P052-Bold.otf').resolve()
|
||||
assert resolved('Sanctification P052','Medium')==(FONTS/'SanctificationP052-Medium.otf').resolve()
|
||||
|
||||
head='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="2000" height="2800" viewBox="0 0 2000 2800">'
|
||||
defs='''<defs>
|
||||
<linearGradient id="paper" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#fbf2dc"/><stop offset=".55" stop-color="#f3e7cd"/><stop offset="1" stop-color="#e8d2ad"/></linearGradient>
|
||||
<linearGradient id="gold" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#f3d77e"/><stop offset=".45" stop-color="#bd8730"/><stop offset="1" stop-color="#6e4916"/></linearGradient>
|
||||
<linearGradient id="earth" x1="0" y1="0" x2="1" y2="0"><stop offset="0" stop-color="#5a321f"/><stop offset=".45" stop-color="#9a5f28"/><stop offset="1" stop-color="#d2a14a"/></linearGradient>
|
||||
<pattern id="vellum" width="32" height="28" patternUnits="userSpaceOnUse"><path d="M0 7H32 M0 20H32" stroke="#8b6f45" stroke-width="1" opacity=".055"/><path d="M7 0V28 M23 0V28" stroke="#a48a60" stroke-width="1" opacity=".045"/></pattern>
|
||||
<pattern id="night-band" width="54" height="34" patternUnits="userSpaceOnUse"><rect width="54" height="34" fill="#132f54"/><circle cx="12" cy="10" r="2" fill="#e6c46c"/><circle cx="40" cy="25" r="1.5" fill="#f1df9e"/></pattern>
|
||||
<g id="star"><path d="M0-13 L3-3 L13 0 L3 3 L0 13 L-3 3 L-13 0 L-3-3Z" fill="url(#gold)" stroke="#624315" stroke-width="1.5"/></g>
|
||||
</defs>'''
|
||||
base='<image xlink:href="../../source/art-master.png" width="2000" height="2800"/>'
|
||||
frame='''<g id="promise-frame">
|
||||
<rect x="15" y="15" width="1970" height="2770" rx="30" fill="none" stroke="#241b19" stroke-width="28"/>
|
||||
<rect x="25" y="25" width="1950" height="2750" rx="24" fill="none" stroke="url(#gold)" stroke-width="12"/>
|
||||
<rect x="42" y="42" width="1916" height="2716" rx="18" fill="none" stroke="#163457" stroke-width="9"/>
|
||||
<rect x="53" y="53" width="1894" height="2694" rx="14" fill="none" stroke="#d9b55e" stroke-width="3"/>
|
||||
<g id="pilgrim-caravan" fill="#7f5921" stroke="#2d2116" stroke-width="3" stroke-linejoin="round">
|
||||
<path d="M105 2716 L118 2708 C134 2678 170 2678 184 2708 L205 2706 L216 2684 L226 2687 L223 2704 L239 2713 L226 2721 L211 2717 L205 2742 H193 L191 2720 H132 L126 2742 H114 L118 2719Z"/>
|
||||
<path d="M266 2722 L279 2715 C293 2690 324 2690 338 2715 L356 2713 L366 2694 L375 2697 L372 2712 L386 2719 L375 2727 L362 2723 L357 2743 H346 L344 2725 H291 L285 2743 H274 L278 2725Z"/>
|
||||
<path d="M235 2713 C246 2704 255 2706 267 2719" fill="none" stroke="#b98a37" stroke-width="4" stroke-linecap="round"/>
|
||||
</g>
|
||||
</g>'''
|
||||
title_path='M1190 62 H1938 V342 H1110 V150 Q1110 62 1190 62Z'
|
||||
verse_path='M1050 1940 C1260 1880 1580 1920 1940 1785 V2742 H1030 C1110 2535 1130 2325 1080 2120 C1055 2030 1035 1980 1050 1940Z'
|
||||
title='''<g id="title-backing"><path d="'''+title_path+'''" fill="#151d2f" stroke="#241b19" stroke-width="12"/><path d="M1200 82 H1918 V322 H1135 V154 Q1135 82 1200 82Z" fill="url(#paper)" stroke="url(#gold)" stroke-width="5"/><path d="M1195 300 H1450 M1530 300 H1880" stroke="#9e762d" stroke-width="3"/><use xlink:href="#star" transform="translate(1490 300) scale(.55)"/><use xlink:href="#star" transform="translate(1170 120) scale(.42)"/><use xlink:href="#star" transform="translate(1880 120) scale(.34)"/></g>'''
|
||||
verse='''<g id="verse-backing"><path d="'''+verse_path+'''" transform="translate(4 7)" fill="#15100d" opacity=".66"/><path d="'''+verse_path+'''" fill="url(#paper)" stroke="#5c3c1b" stroke-width="9"/><path d="'''+verse_path+'''" fill="url(#vellum)" stroke="url(#gold)" stroke-width="4"/>
|
||||
<path d="M1082 1971 C1290 1915 1590 1945 1902 1832" fill="none" stroke="#173c63" stroke-width="7"/>
|
||||
<path d="M1095 1986 C1300 1934 1592 1960 1894 1852" fill="none" stroke="#c89a43" stroke-width="3"/>
|
||||
<g opacity=".95"><use xlink:href="#star" transform="translate(1175 1952) scale(.48)"/><use xlink:href="#star" transform="translate(1420 1927) scale(.33)"/><use xlink:href="#star" transform="translate(1680 1924) scale(.42)"/><use xlink:href="#star" transform="translate(1875 1867) scale(.3)"/></g>
|
||||
<path d="M1110 2704 H1900" stroke="#9b762d" stroke-width="4" stroke-linecap="round"/>
|
||||
</g>'''
|
||||
rows=[
|
||||
('title','ABRAHAM',1525,248,132,'P052',700),
|
||||
('verse-0','“Look toward heaven,',1511,2165,54,'Sanctification P052',500),
|
||||
('verse-1','and number the stars,',1511,2272,54,'Sanctification P052',500),
|
||||
('verse-2','if you are able to number them.',1511,2379,54,'Sanctification P052',500),
|
||||
('verse-3','… So shall your offspring be.”',1511,2486,54,'Sanctification P052',500),
|
||||
('reference','Genesis 15:5 • ESV',1511,2625,48,'Sanctification P052',500),
|
||||
]
|
||||
texts=''.join(f'<text id="{i}" x="{x}" y="{y}" font-family="{fam}" font-weight="{w}" font-size="{size}" text-anchor="middle" fill="#263f50">{escape(t)}</text>' for i,t,x,y,size,fam,w in rows)
|
||||
body=base+frame+title+verse+texts
|
||||
(P/'composed-preview.svg').write_text(head+defs+body+'</svg>')
|
||||
(P/'layers-preview.svg').write_text(head+defs+frame+title+verse+'</svg>')
|
||||
(P/'text-preview.svg').write_text(head+texts+'</svg>')
|
||||
render(P/'composed-preview.svg',P/'composed-preview-2000.png')
|
||||
master=Image.open(P/'composed-preview-2000.png').convert('RGB')
|
||||
master.resize((1000,1400),Image.Resampling.LANCZOS).save(P/'composed-preview-1000.png')
|
||||
master.resize((500,700),Image.Resampling.LANCZOS).save(P/'composed-preview-500.png')
|
||||
render(P/'layers-preview.svg',P/'layers-preview.png')
|
||||
render(P/'text-preview.svg',P/'text-preview.png')
|
||||
|
||||
layer_a=np.asarray(Image.open(P/'layers-preview.png').convert('RGBA').getchannel('A'))
|
||||
text_a=np.asarray(Image.open(P/'text-preview.png').convert('RGBA').getchannel('A'))
|
||||
checks=[]
|
||||
for ident,text_value,x,y,size,fam,w in rows:
|
||||
node=next(part for part in texts.split('</text>') if f'id="{ident}"' in part)+'</text>'
|
||||
src=P/f'{ident}-ink.svg';dst=P/f'{ident}-ink.png'
|
||||
src.write_text(head+node+'</svg>');render(src,dst)
|
||||
a=np.asarray(Image.open(dst).convert('RGBA').getchannel('A'));ys,xs=np.where(a>0);assert len(xs)
|
||||
bounds=[int(xs.min()),int(ys.min()),int(xs.max()+1),int(ys.max()+1)]
|
||||
safe=[1130,80,1920,320] if ident=='title' else [1120,2050,1905,2665]
|
||||
assert safe[0]<=bounds[0] and safe[1]<=bounds[1] and bounds[2]<=safe[2] and bounds[3]<=safe[3],(ident,bounds,safe)
|
||||
assert np.all(layer_a[a>0]==255),ident
|
||||
checks.append({'id':ident,'text':text_value,'baseline':y,'size':size,'font':fam,'weight':w,'inkBounds':bounds,'safeBounds':safe,'outsideOpaqueBacking':0})
|
||||
assert ' '.join(c['text'] for c in checks if c['id'].startswith('verse-')).replace('“','').replace('”','')==card['excerpt']
|
||||
assert checks[-1]['text']==card['referenceDisplay']
|
||||
# Face and hand remain above the panel's top-left start and are not covered.
|
||||
art=np.asarray(Image.open(ART).convert('RGB'))
|
||||
composed=np.asarray(master)
|
||||
assert np.array_equal(art[1400:1850,500:1300],composed[1400:1850,500:1300])
|
||||
report={
|
||||
'status':'passed',
|
||||
'scope':'Normal-only Legendary layout prototype; no production assembly',
|
||||
'cardId':'BP-003','revision':'v02','canvas':[2000,2800],
|
||||
'art':{'path':str(ART.relative_to(REPO)),'sha256':sha(ART)},
|
||||
'governingIdea':'Promise between earth and heaven',
|
||||
'ornamentRevision':'Removed top star banner and lower mountain facets; added a small two-camel pilgrim caravan; replaced the lower chevrons with one straight rule; shifted verse/reference 16px right.',
|
||||
'compositionOrder':['art','restrained indigo-gold frame with small pilgrim caravan','celestial title plaque','lower-right covenant backing','text'],
|
||||
'paths':{'titleBacking':title_path,'verseBacking':verse_path},
|
||||
'typography':{'sharedFontManifestSHA256':sha(FONTS/'manifest.json'),'checks':checks,'quotation':True,'reference':card['referenceDisplay']},
|
||||
'structuralChecks':{'textOnOpaqueBacking':'passed','faceAndHandRegionUnchanged':'passed','sourceArtUnchanged':sha(ART)==card['artSHA256'],'canvasRegistration':'passed'},
|
||||
'staticReview':'pending user visual review',
|
||||
'notPerformed':['foreground extraction','finish masks','text masks','Borderless/Textless/Boundless printings','harness installation','moving-light review','art or card approval']
|
||||
}
|
||||
(P/'preview-validation.json').write_text(json.dumps(report,indent=2)+'\n')
|
||||
label=ImageFont.truetype(str(FONTS/'P052-Bold.otf'),28)
|
||||
board=Image.new('RGB',(1500,1080),'#11161c');d=ImageDraw.Draw(board)
|
||||
for i,(name,path) in enumerate([('Selected v02 art',REV/'review/art-review.png'),('Legendary layout prototype',P/'composed-preview-1000.png')]):
|
||||
d.text((i*750+20,16),name,font=label,fill='#f4ead4')
|
||||
im=Image.open(path).convert('RGB');im.thumbnail((710,995));board.paste(im,(i*750+20,60))
|
||||
board.save(P/'art-layout-comparison.png')
|
||||
print(json.dumps({'status':'passed','preview':str((P/'composed-preview-1000.png').relative_to(REPO))},indent=2))
|
||||
|
After Width: | Height: | Size: 1.8 MiB |
|
After Width: | Height: | Size: 5.7 MiB |
|
After Width: | Height: | Size: 572 KiB |
@@ -0,0 +1,23 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="2000" height="2800" viewBox="0 0 2000 2800"><defs>
|
||||
<linearGradient id="paper" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#fbf2dc" /><stop offset=".55" stop-color="#f3e7cd" /><stop offset="1" stop-color="#e8d2ad" /></linearGradient>
|
||||
<linearGradient id="gold" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#f3d77e" /><stop offset=".45" stop-color="#bd8730" /><stop offset="1" stop-color="#6e4916" /></linearGradient>
|
||||
<linearGradient id="earth" x1="0" y1="0" x2="1" y2="0"><stop offset="0" stop-color="#5a321f" /><stop offset=".45" stop-color="#9a5f28" /><stop offset="1" stop-color="#d2a14a" /></linearGradient>
|
||||
<pattern id="vellum" width="32" height="28" patternUnits="userSpaceOnUse"><path d="M0 7H32 M0 20H32" stroke="#8b6f45" stroke-width="1" opacity=".055" /><path d="M7 0V28 M23 0V28" stroke="#a48a60" stroke-width="1" opacity=".045" /></pattern>
|
||||
<pattern id="night-band" width="54" height="34" patternUnits="userSpaceOnUse"><rect width="54" height="34" fill="#132f54" /><circle cx="12" cy="10" r="2" fill="#e6c46c" /><circle cx="40" cy="25" r="1.5" fill="#f1df9e" /></pattern>
|
||||
<g id="star"><path d="M0-13 L3-3 L13 0 L3 3 L0 13 L-3 3 L-13 0 L-3-3Z" fill="url(#gold)" stroke="#624315" stroke-width="1.5" /></g>
|
||||
</defs><image xlink:href="../../source/art-master.png" width="2000" height="2800" /><g id="promise-frame">
|
||||
<rect x="15" y="15" width="1970" height="2770" rx="30" fill="none" stroke="#241b19" stroke-width="28" />
|
||||
<rect x="25" y="25" width="1950" height="2750" rx="24" fill="none" stroke="url(#gold)" stroke-width="12" />
|
||||
<rect x="42" y="42" width="1916" height="2716" rx="18" fill="none" stroke="#163457" stroke-width="9" />
|
||||
<rect x="53" y="53" width="1894" height="2694" rx="14" fill="none" stroke="#d9b55e" stroke-width="3" />
|
||||
<g id="pilgrim-caravan" fill="#7f5921" stroke="#2d2116" stroke-width="3" stroke-linejoin="round">
|
||||
<path d="M105 2716 L118 2708 C134 2678 170 2678 184 2708 L205 2706 L216 2684 L226 2687 L223 2704 L239 2713 L226 2721 L211 2717 L205 2742 H193 L191 2720 H132 L126 2742 H114 L118 2719Z" />
|
||||
<path d="M266 2722 L279 2715 C293 2690 324 2690 338 2715 L356 2713 L366 2694 L375 2697 L372 2712 L386 2719 L375 2727 L362 2723 L357 2743 H346 L344 2725 H291 L285 2743 H274 L278 2725Z" />
|
||||
<path d="M235 2713 C246 2704 255 2706 267 2719" fill="none" stroke="#b98a37" stroke-width="4" stroke-linecap="round" />
|
||||
</g>
|
||||
</g><g id="title-backing"><path d="M1190 62 H1938 V342 H1110 V150 Q1110 62 1190 62Z" fill="#151d2f" stroke="#241b19" stroke-width="12" /><path d="M1200 82 H1918 V322 H1135 V154 Q1135 82 1200 82Z" fill="url(#paper)" stroke="url(#gold)" stroke-width="5" /><path d="M1195 300 H1450 M1530 300 H1880" stroke="#9e762d" stroke-width="3" /><use xlink:href="#star" transform="translate(1490 300) scale(.55)" /><use xlink:href="#star" transform="translate(1170 120) scale(.42)" /><use xlink:href="#star" transform="translate(1880 120) scale(.34)" /></g><g id="verse-backing"><path d="M1050 1940 C1260 1880 1580 1920 1940 1785 V2742 H1030 C1110 2535 1130 2325 1080 2120 C1055 2030 1035 1980 1050 1940Z" transform="translate(4 7)" fill="#15100d" opacity=".66" /><path d="M1050 1940 C1260 1880 1580 1920 1940 1785 V2742 H1030 C1110 2535 1130 2325 1080 2120 C1055 2030 1035 1980 1050 1940Z" fill="url(#paper)" stroke="#5c3c1b" stroke-width="9" /><path d="M1050 1940 C1260 1880 1580 1920 1940 1785 V2742 H1030 C1110 2535 1130 2325 1080 2120 C1055 2030 1035 1980 1050 1940Z" fill="url(#vellum)" stroke="url(#gold)" stroke-width="4" />
|
||||
<path d="M1082 1971 C1290 1915 1590 1945 1902 1832" fill="none" stroke="#173c63" stroke-width="7" />
|
||||
<path d="M1095 1986 C1300 1934 1592 1960 1894 1852" fill="none" stroke="#c89a43" stroke-width="3" />
|
||||
<g opacity=".95"><use xlink:href="#star" transform="translate(1175 1952) scale(.48)" /><use xlink:href="#star" transform="translate(1420 1927) scale(.33)" /><use xlink:href="#star" transform="translate(1680 1924) scale(.42)" /><use xlink:href="#star" transform="translate(1875 1867) scale(.3)" /></g>
|
||||
<path d="M1110 2704 H1900" stroke="#9b762d" stroke-width="4" stroke-linecap="round" />
|
||||
</g><text id="title" x="1525" y="248" font-family="P052" font-weight="700" font-size="132" text-anchor="middle" fill="#263f50">ABRAHAM</text><text id="verse-0" x="1511" y="2165" font-family="Sanctification P052" font-weight="500" font-size="54" text-anchor="middle" fill="#263f50">“Look toward heaven,</text><text id="verse-1" x="1511" y="2272" font-family="Sanctification P052" font-weight="500" font-size="54" text-anchor="middle" fill="#263f50">and number the stars,</text><text id="verse-2" x="1511" y="2379" font-family="Sanctification P052" font-weight="500" font-size="54" text-anchor="middle" fill="#263f50">if you are able to number them.</text><text id="verse-3" x="1511" y="2486" font-family="Sanctification P052" font-weight="500" font-size="54" text-anchor="middle" fill="#263f50">… So shall your offspring be.”</text><text id="reference" x="1511" y="2625" font-family="Sanctification P052" font-weight="500" font-size="48" text-anchor="middle" fill="#263f50">Genesis 15:5 • ESV</text></svg>
|
||||
|
After Width: | Height: | Size: 5.1 KiB |
@@ -0,0 +1 @@
|
||||
<fontconfig><dir>/home/dkzver/docker/sanctification/fonts</dir><cachedir>/home/dkzver/docker/sanctification/in-progress/cards/BP-003-abraham/revisions/v02/review/legendary-layout-prototype-v2/font-cache</cachedir></fontconfig>
|
||||
|
After Width: | Height: | Size: 186 KiB |
@@ -0,0 +1,23 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="2000" height="2800" viewBox="0 0 2000 2800"><defs>
|
||||
<linearGradient id="paper" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#fbf2dc"/><stop offset=".55" stop-color="#f3e7cd"/><stop offset="1" stop-color="#e8d2ad"/></linearGradient>
|
||||
<linearGradient id="gold" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#f3d77e"/><stop offset=".45" stop-color="#bd8730"/><stop offset="1" stop-color="#6e4916"/></linearGradient>
|
||||
<linearGradient id="earth" x1="0" y1="0" x2="1" y2="0"><stop offset="0" stop-color="#5a321f"/><stop offset=".45" stop-color="#9a5f28"/><stop offset="1" stop-color="#d2a14a"/></linearGradient>
|
||||
<pattern id="vellum" width="32" height="28" patternUnits="userSpaceOnUse"><path d="M0 7H32 M0 20H32" stroke="#8b6f45" stroke-width="1" opacity=".055"/><path d="M7 0V28 M23 0V28" stroke="#a48a60" stroke-width="1" opacity=".045"/></pattern>
|
||||
<pattern id="night-band" width="54" height="34" patternUnits="userSpaceOnUse"><rect width="54" height="34" fill="#132f54"/><circle cx="12" cy="10" r="2" fill="#e6c46c"/><circle cx="40" cy="25" r="1.5" fill="#f1df9e"/></pattern>
|
||||
<g id="star"><path d="M0-13 L3-3 L13 0 L3 3 L0 13 L-3 3 L-13 0 L-3-3Z" fill="url(#gold)" stroke="#624315" stroke-width="1.5"/></g>
|
||||
</defs><g id="promise-frame">
|
||||
<rect x="15" y="15" width="1970" height="2770" rx="30" fill="none" stroke="#241b19" stroke-width="28"/>
|
||||
<rect x="25" y="25" width="1950" height="2750" rx="24" fill="none" stroke="url(#gold)" stroke-width="12"/>
|
||||
<rect x="42" y="42" width="1916" height="2716" rx="18" fill="none" stroke="#163457" stroke-width="9"/>
|
||||
<rect x="53" y="53" width="1894" height="2694" rx="14" fill="none" stroke="#d9b55e" stroke-width="3"/>
|
||||
<g id="pilgrim-caravan" fill="#7f5921" stroke="#2d2116" stroke-width="3" stroke-linejoin="round">
|
||||
<path d="M105 2716 L118 2708 C134 2678 170 2678 184 2708 L205 2706 L216 2684 L226 2687 L223 2704 L239 2713 L226 2721 L211 2717 L205 2742 H193 L191 2720 H132 L126 2742 H114 L118 2719Z"/>
|
||||
<path d="M266 2722 L279 2715 C293 2690 324 2690 338 2715 L356 2713 L366 2694 L375 2697 L372 2712 L386 2719 L375 2727 L362 2723 L357 2743 H346 L344 2725 H291 L285 2743 H274 L278 2725Z"/>
|
||||
<path d="M235 2713 C246 2704 255 2706 267 2719" fill="none" stroke="#b98a37" stroke-width="4" stroke-linecap="round"/>
|
||||
</g>
|
||||
</g><g id="title-backing"><path d="M1190 62 H1938 V342 H1110 V150 Q1110 62 1190 62Z" fill="#151d2f" stroke="#241b19" stroke-width="12"/><path d="M1200 82 H1918 V322 H1135 V154 Q1135 82 1200 82Z" fill="url(#paper)" stroke="url(#gold)" stroke-width="5"/><path d="M1195 300 H1450 M1530 300 H1880" stroke="#9e762d" stroke-width="3"/><use xlink:href="#star" transform="translate(1490 300) scale(.55)"/><use xlink:href="#star" transform="translate(1170 120) scale(.42)"/><use xlink:href="#star" transform="translate(1880 120) scale(.34)"/></g><g id="verse-backing"><path d="M1050 1940 C1260 1880 1580 1920 1940 1785 V2742 H1030 C1110 2535 1130 2325 1080 2120 C1055 2030 1035 1980 1050 1940Z" transform="translate(4 7)" fill="#15100d" opacity=".66"/><path d="M1050 1940 C1260 1880 1580 1920 1940 1785 V2742 H1030 C1110 2535 1130 2325 1080 2120 C1055 2030 1035 1980 1050 1940Z" fill="url(#paper)" stroke="#5c3c1b" stroke-width="9"/><path d="M1050 1940 C1260 1880 1580 1920 1940 1785 V2742 H1030 C1110 2535 1130 2325 1080 2120 C1055 2030 1035 1980 1050 1940Z" fill="url(#vellum)" stroke="url(#gold)" stroke-width="4"/>
|
||||
<path d="M1082 1971 C1290 1915 1590 1945 1902 1832" fill="none" stroke="#173c63" stroke-width="7"/>
|
||||
<path d="M1095 1986 C1300 1934 1592 1960 1894 1852" fill="none" stroke="#c89a43" stroke-width="3"/>
|
||||
<g opacity=".95"><use xlink:href="#star" transform="translate(1175 1952) scale(.48)"/><use xlink:href="#star" transform="translate(1420 1927) scale(.33)"/><use xlink:href="#star" transform="translate(1680 1924) scale(.42)"/><use xlink:href="#star" transform="translate(1875 1867) scale(.3)"/></g>
|
||||
<path d="M1110 2704 H1900" stroke="#9b762d" stroke-width="4" stroke-linecap="round"/>
|
||||
</g></svg>
|
||||
|
After Width: | Height: | Size: 4.0 KiB |
@@ -0,0 +1,176 @@
|
||||
{
|
||||
"status": "passed",
|
||||
"scope": "Normal-only Legendary layout prototype; no production assembly",
|
||||
"cardId": "BP-003",
|
||||
"revision": "v02",
|
||||
"canvas": [
|
||||
2000,
|
||||
2800
|
||||
],
|
||||
"art": {
|
||||
"path": "in-progress/cards/BP-003-abraham/revisions/v02/source/art-master.png",
|
||||
"sha256": "0461b6888079d1d5686addf8eb27151c19b183e04e16bf22386746d72825aa98"
|
||||
},
|
||||
"governingIdea": "Promise between earth and heaven",
|
||||
"ornamentRevision": "Removed top star banner and lower mountain facets; added a small two-camel pilgrim caravan; replaced the lower chevrons with one straight rule; shifted verse/reference 16px right.",
|
||||
"compositionOrder": [
|
||||
"art",
|
||||
"restrained indigo-gold frame with small pilgrim caravan",
|
||||
"celestial title plaque",
|
||||
"lower-right covenant backing",
|
||||
"text"
|
||||
],
|
||||
"paths": {
|
||||
"titleBacking": "M1190 62 H1938 V342 H1110 V150 Q1110 62 1190 62Z",
|
||||
"verseBacking": "M1050 1940 C1260 1880 1580 1920 1940 1785 V2742 H1030 C1110 2535 1130 2325 1080 2120 C1055 2030 1035 1980 1050 1940Z"
|
||||
},
|
||||
"typography": {
|
||||
"sharedFontManifestSHA256": "ef68ee6393981d54ca068a950f21c53b374d20e6e46c21c788f36380d3aae178",
|
||||
"checks": [
|
||||
{
|
||||
"id": "title",
|
||||
"text": "ABRAHAM",
|
||||
"baseline": 248,
|
||||
"size": 132,
|
||||
"font": "P052",
|
||||
"weight": 700,
|
||||
"inkBounds": [
|
||||
1158,
|
||||
157,
|
||||
1891,
|
||||
250
|
||||
],
|
||||
"safeBounds": [
|
||||
1130,
|
||||
80,
|
||||
1920,
|
||||
320
|
||||
],
|
||||
"outsideOpaqueBacking": 0
|
||||
},
|
||||
{
|
||||
"id": "verse-0",
|
||||
"text": "\u201cLook toward heaven,",
|
||||
"baseline": 2165,
|
||||
"size": 54,
|
||||
"font": "Sanctification P052",
|
||||
"weight": 500,
|
||||
"inkBounds": [
|
||||
1250,
|
||||
2125,
|
||||
1773,
|
||||
2174
|
||||
],
|
||||
"safeBounds": [
|
||||
1120,
|
||||
2050,
|
||||
1905,
|
||||
2665
|
||||
],
|
||||
"outsideOpaqueBacking": 0
|
||||
},
|
||||
{
|
||||
"id": "verse-1",
|
||||
"text": "and number the stars,",
|
||||
"baseline": 2272,
|
||||
"size": 54,
|
||||
"font": "Sanctification P052",
|
||||
"weight": 500,
|
||||
"inkBounds": [
|
||||
1252,
|
||||
2232,
|
||||
1770,
|
||||
2281
|
||||
],
|
||||
"safeBounds": [
|
||||
1120,
|
||||
2050,
|
||||
1905,
|
||||
2665
|
||||
],
|
||||
"outsideOpaqueBacking": 0
|
||||
},
|
||||
{
|
||||
"id": "verse-2",
|
||||
"text": "if you are able to number them.",
|
||||
"baseline": 2379,
|
||||
"size": 54,
|
||||
"font": "Sanctification P052",
|
||||
"weight": 500,
|
||||
"inkBounds": [
|
||||
1137,
|
||||
2339,
|
||||
1883,
|
||||
2395
|
||||
],
|
||||
"safeBounds": [
|
||||
1120,
|
||||
2050,
|
||||
1905,
|
||||
2665
|
||||
],
|
||||
"outsideOpaqueBacking": 0
|
||||
},
|
||||
{
|
||||
"id": "verse-3",
|
||||
"text": "\u2026 So shall your offspring be.\u201d",
|
||||
"baseline": 2486,
|
||||
"size": 54,
|
||||
"font": "Sanctification P052",
|
||||
"weight": 500,
|
||||
"inkBounds": [
|
||||
1161,
|
||||
2446,
|
||||
1865,
|
||||
2502
|
||||
],
|
||||
"safeBounds": [
|
||||
1120,
|
||||
2050,
|
||||
1905,
|
||||
2665
|
||||
],
|
||||
"outsideOpaqueBacking": 0
|
||||
},
|
||||
{
|
||||
"id": "reference",
|
||||
"text": "Genesis 15:5 \u2022 ESV",
|
||||
"baseline": 2625,
|
||||
"size": 48,
|
||||
"font": "Sanctification P052",
|
||||
"weight": 500,
|
||||
"inkBounds": [
|
||||
1310,
|
||||
2590,
|
||||
1712,
|
||||
2627
|
||||
],
|
||||
"safeBounds": [
|
||||
1120,
|
||||
2050,
|
||||
1905,
|
||||
2665
|
||||
],
|
||||
"outsideOpaqueBacking": 0
|
||||
}
|
||||
],
|
||||
"quotation": true,
|
||||
"reference": "Genesis 15:5 \u2022 ESV"
|
||||
},
|
||||
"structuralChecks": {
|
||||
"textOnOpaqueBacking": "passed",
|
||||
"faceAndHandRegionUnchanged": "passed",
|
||||
"sourceArtUnchanged": true,
|
||||
"canvasRegistration": "passed"
|
||||
},
|
||||
"staticReview": "pending user visual review",
|
||||
"notPerformed": [
|
||||
"foreground extraction",
|
||||
"finish masks",
|
||||
"text masks",
|
||||
"Borderless/Textless/Boundless printings",
|
||||
"harness installation",
|
||||
"moving-light review",
|
||||
"art or card approval"
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 39 KiB |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="2000" height="2800" viewBox="0 0 2000 2800"><text id="reference" x="1511" y="2625" font-family="Sanctification P052" font-weight="500" font-size="48" text-anchor="middle" fill="#263f50">Genesis 15:5 • ESV</text></svg>
|
||||
|
After Width: | Height: | Size: 309 B |
|
After Width: | Height: | Size: 121 KiB |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="2000" height="2800" viewBox="0 0 2000 2800"><text id="title" x="1525" y="248" font-family="P052" font-weight="700" font-size="132" text-anchor="middle" fill="#263f50">ABRAHAM</text><text id="verse-0" x="1511" y="2165" font-family="Sanctification P052" font-weight="500" font-size="54" text-anchor="middle" fill="#263f50">“Look toward heaven,</text><text id="verse-1" x="1511" y="2272" font-family="Sanctification P052" font-weight="500" font-size="54" text-anchor="middle" fill="#263f50">and number the stars,</text><text id="verse-2" x="1511" y="2379" font-family="Sanctification P052" font-weight="500" font-size="54" text-anchor="middle" fill="#263f50">if you are able to number them.</text><text id="verse-3" x="1511" y="2486" font-family="Sanctification P052" font-weight="500" font-size="54" text-anchor="middle" fill="#263f50">… So shall your offspring be.”</text><text id="reference" x="1511" y="2625" font-family="Sanctification P052" font-weight="500" font-size="48" text-anchor="middle" fill="#263f50">Genesis 15:5 • ESV</text></svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 46 KiB |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="2000" height="2800" viewBox="0 0 2000 2800"><text id="title" x="1525" y="248" font-family="P052" font-weight="700" font-size="132" text-anchor="middle" fill="#263f50">ABRAHAM</text></svg>
|
||||
|
After Width: | Height: | Size: 277 B |
|
After Width: | Height: | Size: 1.1 MiB |
|
After Width: | Height: | Size: 42 KiB |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="2000" height="2800" viewBox="0 0 2000 2800"><text id="verse-0" x="1511" y="2165" font-family="Sanctification P052" font-weight="500" font-size="54" text-anchor="middle" fill="#263f50">“Look toward heaven,</text></svg>
|
||||
|
After Width: | Height: | Size: 309 B |
|
After Width: | Height: | Size: 41 KiB |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="2000" height="2800" viewBox="0 0 2000 2800"><text id="verse-1" x="1511" y="2272" font-family="Sanctification P052" font-weight="500" font-size="54" text-anchor="middle" fill="#263f50">and number the stars,</text></svg>
|
||||
|
After Width: | Height: | Size: 308 B |
|
After Width: | Height: | Size: 45 KiB |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="2000" height="2800" viewBox="0 0 2000 2800"><text id="verse-2" x="1511" y="2379" font-family="Sanctification P052" font-weight="500" font-size="54" text-anchor="middle" fill="#263f50">if you are able to number them.</text></svg>
|
||||
|
After Width: | Height: | Size: 318 B |
|
After Width: | Height: | Size: 46 KiB |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="2000" height="2800" viewBox="0 0 2000 2800"><text id="verse-3" x="1511" y="2486" font-family="Sanctification P052" font-weight="500" font-size="54" text-anchor="middle" fill="#263f50">… So shall your offspring be.”</text></svg>
|
||||
|
After Width: | Height: | Size: 321 B |
@@ -0,0 +1,11 @@
|
||||
# BP-003 Abraham — Legendary layout prototype v3
|
||||
|
||||
Normal-only caravan refinement. The v2 prototype is retained unchanged.
|
||||
|
||||
Only the lower-left ornament changed: two restrained antique-gold camel silhouettes now have long connected necks, small level muzzles, single humps, distinct bellies, and four separated leg indications. The two camels have no connecting rope, following user feedback. No riders or facial details are added. The ornament stays below and left of Abraham and away from the backing.
|
||||
|
||||
The artwork, frame without a top banner, title plaque, backing geometry, text positions, shared typography, and single straight lower rule are unchanged. Pixel comparison verifies that every changed pixel lies inside the caravan region; the composed SVG outside that group and the text raster match v2 exactly.
|
||||
|
||||
Review [500-pixel card](composed-preview-500.png), [1000-pixel preview](composed-preview-1000.png), [2000-pixel master preview](composed-preview-2000.png), [v2–v3 comparison](v2-v3-comparison.png), and [enlarged caravan comparison](caravan-detail-comparison.png). [Validation](preview-validation.json) records dimensions, opacity, typography and unchanged-region checks. Rebuild using `python3 build-preview.py`, then run `python3 validate-comparison.py` to regenerate comparison boards and unchanged-region checks.
|
||||
|
||||
This remains a provisional Normal-only presentation study awaiting user review. No masks, alternate printings, production assembly, or approval were created.
|
||||
|
After Width: | Height: | Size: 1.4 MiB |
@@ -0,0 +1,128 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Normal-only Legendary layout prototype for BP-003 Abraham."""
|
||||
from pathlib import Path
|
||||
import hashlib,json,os,subprocess
|
||||
from xml.sax.saxutils import escape
|
||||
import numpy as np
|
||||
from PIL import Image,ImageDraw,ImageFont
|
||||
|
||||
P=Path(__file__).resolve().parent
|
||||
REV=P.parents[1]
|
||||
REPO=next(p for p in P.parents if (p/'docs/card-layer-pipeline.md').is_file())
|
||||
ART=REV/'source/art-master.png'
|
||||
FONTS=REPO/'fonts'
|
||||
sha=lambda p:hashlib.sha256(p.read_bytes()).hexdigest()
|
||||
card=json.loads((REV/'card.json').read_text())
|
||||
font_manifest=json.loads((FONTS/'manifest.json').read_text())
|
||||
for name in ['P052-Bold.otf','SanctificationP052-Medium.otf']:
|
||||
assert sha(FONTS/name)==font_manifest['files'][name]['sha256']
|
||||
(P/'font-cache').mkdir(exist_ok=True)
|
||||
(P/'fonts.conf').write_text(f'<fontconfig><dir>{FONTS}</dir><cachedir>{P/"font-cache"}</cachedir></fontconfig>')
|
||||
env=dict(os.environ,FONTCONFIG_FILE=str(P/'fonts.conf'))
|
||||
def ink(*args):return subprocess.check_output(['inkscape',*map(str,args)],env=env,text=True,stderr=subprocess.PIPE).strip()
|
||||
def render(src,dst,width=2000):
|
||||
ink(src,'--export-type=png',f'--export-filename={dst}',f'--export-width={width}',f'--export-height={width*7//5}')
|
||||
def resolved(family,style):return Path(subprocess.check_output(['fc-match','-f','%{file}',f'{family}:style={style}'],env=env,text=True).strip()).resolve()
|
||||
assert resolved('P052','Bold')==(FONTS/'P052-Bold.otf').resolve()
|
||||
assert resolved('Sanctification P052','Medium')==(FONTS/'SanctificationP052-Medium.otf').resolve()
|
||||
|
||||
head='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="2000" height="2800" viewBox="0 0 2000 2800">'
|
||||
defs='''<defs>
|
||||
<linearGradient id="paper" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#fbf2dc"/><stop offset=".55" stop-color="#f3e7cd"/><stop offset="1" stop-color="#e8d2ad"/></linearGradient>
|
||||
<linearGradient id="gold" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#f3d77e"/><stop offset=".45" stop-color="#bd8730"/><stop offset="1" stop-color="#6e4916"/></linearGradient>
|
||||
<linearGradient id="earth" x1="0" y1="0" x2="1" y2="0"><stop offset="0" stop-color="#5a321f"/><stop offset=".45" stop-color="#9a5f28"/><stop offset="1" stop-color="#d2a14a"/></linearGradient>
|
||||
<pattern id="vellum" width="32" height="28" patternUnits="userSpaceOnUse"><path d="M0 7H32 M0 20H32" stroke="#8b6f45" stroke-width="1" opacity=".055"/><path d="M7 0V28 M23 0V28" stroke="#a48a60" stroke-width="1" opacity=".045"/></pattern>
|
||||
<pattern id="night-band" width="54" height="34" patternUnits="userSpaceOnUse"><rect width="54" height="34" fill="#132f54"/><circle cx="12" cy="10" r="2" fill="#e6c46c"/><circle cx="40" cy="25" r="1.5" fill="#f1df9e"/></pattern>
|
||||
<g id="star"><path d="M0-13 L3-3 L13 0 L3 3 L0 13 L-3 3 L-13 0 L-3-3Z" fill="url(#gold)" stroke="#624315" stroke-width="1.5"/></g>
|
||||
</defs>'''
|
||||
base='<image xlink:href="../../source/art-master.png" width="2000" height="2800"/>'
|
||||
frame='''<g id="promise-frame">
|
||||
<rect x="15" y="15" width="1970" height="2770" rx="30" fill="none" stroke="#241b19" stroke-width="28"/>
|
||||
<rect x="25" y="25" width="1950" height="2750" rx="24" fill="none" stroke="url(#gold)" stroke-width="12"/>
|
||||
<rect x="42" y="42" width="1916" height="2716" rx="18" fill="none" stroke="#163457" stroke-width="9"/>
|
||||
<rect x="53" y="53" width="1894" height="2694" rx="14" fill="none" stroke="#d9b55e" stroke-width="3"/>
|
||||
<g id="pilgrim-caravan" fill="#b18b48" stroke="none" stroke-width="1.7" stroke-linejoin="round" stroke-linecap="round">
|
||||
<defs><g id="walking-camel">
|
||||
<!-- Four separated, tapered legs; farther legs sit behind the torso. -->
|
||||
<path d="M38 70 L47 91 L43 115 L46 119 H35 L39 94 L30 76Z"/>
|
||||
<path d="M88 68 L100 88 L99 114 L103 119 H93 L92 93 L80 75Z"/>
|
||||
<!-- Long neck, small level muzzle, one hump, and a quiet belly contour. -->
|
||||
<path d="M23 57 C24 49 33 45 43 45 C48 43 49 29 58 24 C67 19 74 29 78 39 C81 45 87 46 96 46 C102 45 105 38 109 29 L116 15 L123 10 L122 3 L127 8 C133 6 137 11 138 13 L149 15 L150 21 L140 24 L131 23 C127 29 126 39 123 47 C120 56 116 64 110 69 C106 75 101 80 92 81 C76 83 52 82 39 77 L28 70 C23 67 21 63 23 57Z"/>
|
||||
<path d="M30 69 L34 78 L29 95 L20 115 L23 119 H11 L20 92 L22 73Z"/>
|
||||
<path d="M104 65 L111 69 L110 93 L117 115 L121 119 H110 L102 96 L99 76Z"/>
|
||||
<path d="M25 55 C18 57 17 64 16 72 L13 76" fill="none" stroke="#b18b48" stroke-width="3"/>
|
||||
</g></defs>
|
||||
<use xlink:href="#walking-camel" transform="translate(106 2633) scale(.89)"/>
|
||||
<use xlink:href="#walking-camel" transform="translate(279 2644) scale(.8)"/>
|
||||
</g>
|
||||
</g>'''
|
||||
title_path='M1190 62 H1938 V342 H1110 V150 Q1110 62 1190 62Z'
|
||||
verse_path='M1050 1940 C1260 1880 1580 1920 1940 1785 V2742 H1030 C1110 2535 1130 2325 1080 2120 C1055 2030 1035 1980 1050 1940Z'
|
||||
title='''<g id="title-backing"><path d="'''+title_path+'''" fill="#151d2f" stroke="#241b19" stroke-width="12"/><path d="M1200 82 H1918 V322 H1135 V154 Q1135 82 1200 82Z" fill="url(#paper)" stroke="url(#gold)" stroke-width="5"/><path d="M1195 300 H1450 M1530 300 H1880" stroke="#9e762d" stroke-width="3"/><use xlink:href="#star" transform="translate(1490 300) scale(.55)"/><use xlink:href="#star" transform="translate(1170 120) scale(.42)"/><use xlink:href="#star" transform="translate(1880 120) scale(.34)"/></g>'''
|
||||
verse='''<g id="verse-backing"><path d="'''+verse_path+'''" transform="translate(4 7)" fill="#15100d" opacity=".66"/><path d="'''+verse_path+'''" fill="url(#paper)" stroke="#5c3c1b" stroke-width="9"/><path d="'''+verse_path+'''" fill="url(#vellum)" stroke="url(#gold)" stroke-width="4"/>
|
||||
<path d="M1082 1971 C1290 1915 1590 1945 1902 1832" fill="none" stroke="#173c63" stroke-width="7"/>
|
||||
<path d="M1095 1986 C1300 1934 1592 1960 1894 1852" fill="none" stroke="#c89a43" stroke-width="3"/>
|
||||
<g opacity=".95"><use xlink:href="#star" transform="translate(1175 1952) scale(.48)"/><use xlink:href="#star" transform="translate(1420 1927) scale(.33)"/><use xlink:href="#star" transform="translate(1680 1924) scale(.42)"/><use xlink:href="#star" transform="translate(1875 1867) scale(.3)"/></g>
|
||||
<path d="M1110 2704 H1900" stroke="#9b762d" stroke-width="4" stroke-linecap="round"/>
|
||||
</g>'''
|
||||
rows=[
|
||||
('title','ABRAHAM',1525,248,132,'P052',700),
|
||||
('verse-0','“Look toward heaven,',1511,2165,54,'Sanctification P052',500),
|
||||
('verse-1','and number the stars,',1511,2272,54,'Sanctification P052',500),
|
||||
('verse-2','if you are able to number them.',1511,2379,54,'Sanctification P052',500),
|
||||
('verse-3','… So shall your offspring be.”',1511,2486,54,'Sanctification P052',500),
|
||||
('reference','Genesis 15:5 • ESV',1511,2625,48,'Sanctification P052',500),
|
||||
]
|
||||
texts=''.join(f'<text id="{i}" x="{x}" y="{y}" font-family="{fam}" font-weight="{w}" font-size="{size}" text-anchor="middle" fill="#263f50">{escape(t)}</text>' for i,t,x,y,size,fam,w in rows)
|
||||
body=base+frame+title+verse+texts
|
||||
(P/'composed-preview.svg').write_text(head+defs+body+'</svg>')
|
||||
(P/'layers-preview.svg').write_text(head+defs+frame+title+verse+'</svg>')
|
||||
(P/'text-preview.svg').write_text(head+texts+'</svg>')
|
||||
render(P/'composed-preview.svg',P/'composed-preview-2000.png')
|
||||
master=Image.open(P/'composed-preview-2000.png').convert('RGB')
|
||||
master.resize((1000,1400),Image.Resampling.LANCZOS).save(P/'composed-preview-1000.png')
|
||||
master.resize((500,700),Image.Resampling.LANCZOS).save(P/'composed-preview-500.png')
|
||||
render(P/'layers-preview.svg',P/'layers-preview.png')
|
||||
render(P/'text-preview.svg',P/'text-preview.png')
|
||||
|
||||
layer_a=np.asarray(Image.open(P/'layers-preview.png').convert('RGBA').getchannel('A'))
|
||||
text_a=np.asarray(Image.open(P/'text-preview.png').convert('RGBA').getchannel('A'))
|
||||
checks=[]
|
||||
for ident,text_value,x,y,size,fam,w in rows:
|
||||
node=next(part for part in texts.split('</text>') if f'id="{ident}"' in part)+'</text>'
|
||||
src=P/f'{ident}-ink.svg';dst=P/f'{ident}-ink.png'
|
||||
src.write_text(head+node+'</svg>');render(src,dst)
|
||||
a=np.asarray(Image.open(dst).convert('RGBA').getchannel('A'));ys,xs=np.where(a>0);assert len(xs)
|
||||
bounds=[int(xs.min()),int(ys.min()),int(xs.max()+1),int(ys.max()+1)]
|
||||
safe=[1130,80,1920,320] if ident=='title' else [1120,2050,1905,2665]
|
||||
assert safe[0]<=bounds[0] and safe[1]<=bounds[1] and bounds[2]<=safe[2] and bounds[3]<=safe[3],(ident,bounds,safe)
|
||||
assert np.all(layer_a[a>0]==255),ident
|
||||
checks.append({'id':ident,'text':text_value,'baseline':y,'size':size,'font':fam,'weight':w,'inkBounds':bounds,'safeBounds':safe,'outsideOpaqueBacking':0})
|
||||
assert ' '.join(c['text'] for c in checks if c['id'].startswith('verse-')).replace('“','').replace('”','')==card['excerpt']
|
||||
assert checks[-1]['text']==card['referenceDisplay']
|
||||
# Face and hand remain above the panel's top-left start and are not covered.
|
||||
art=np.asarray(Image.open(ART).convert('RGB'))
|
||||
composed=np.asarray(master)
|
||||
assert np.array_equal(art[1400:1850,500:1300],composed[1400:1850,500:1300])
|
||||
report={
|
||||
'status':'passed',
|
||||
'scope':'Normal-only Legendary layout prototype; no production assembly',
|
||||
'cardId':'BP-003','revision':'v02','canvas':[2000,2800],
|
||||
'art':{'path':str(ART.relative_to(REPO)),'sha256':sha(ART)},
|
||||
'governingIdea':'Promise between earth and heaven',
|
||||
'ornamentRevision':'Replaced only the lower-left caravan with two restrained long-necked single-hump camel silhouettes, four leg indications and no connector; all other v2 geometry and text retained.',
|
||||
'compositionOrder':['art','restrained indigo-gold frame with small pilgrim caravan','celestial title plaque','lower-right covenant backing','text'],
|
||||
'paths':{'titleBacking':title_path,'verseBacking':verse_path},
|
||||
'typography':{'sharedFontManifestSHA256':sha(FONTS/'manifest.json'),'checks':checks,'quotation':True,'reference':card['referenceDisplay']},
|
||||
'structuralChecks':{'textOnOpaqueBacking':'passed','faceAndHandRegionUnchanged':'passed','sourceArtUnchanged':sha(ART)==card['artSHA256'],'canvasRegistration':'passed'},
|
||||
'staticReview':'pending user visual review',
|
||||
'notPerformed':['foreground extraction','finish masks','text masks','Borderless/Textless/Boundless printings','harness installation','moving-light review','art or card approval']
|
||||
}
|
||||
(P/'preview-validation.json').write_text(json.dumps(report,indent=2)+'\n')
|
||||
label=ImageFont.truetype(str(FONTS/'P052-Bold.otf'),28)
|
||||
board=Image.new('RGB',(1500,1080),'#11161c');d=ImageDraw.Draw(board)
|
||||
for i,(name,path) in enumerate([('Selected v02 art',REV/'review/art-review.png'),('Legendary layout prototype',P/'composed-preview-1000.png')]):
|
||||
d.text((i*750+20,16),name,font=label,fill='#f4ead4')
|
||||
im=Image.open(path).convert('RGB');im.thumbnail((710,995));board.paste(im,(i*750+20,60))
|
||||
board.save(P/'art-layout-comparison.png')
|
||||
print(json.dumps({'status':'passed','preview':str((P/'composed-preview-1000.png').relative_to(REPO))},indent=2))
|
||||
|
After Width: | Height: | Size: 133 KiB |
|
After Width: | Height: | Size: 1.8 MiB |
|
After Width: | Height: | Size: 5.7 MiB |
|
After Width: | Height: | Size: 573 KiB |
@@ -0,0 +1,32 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="2000" height="2800" viewBox="0 0 2000 2800"><defs>
|
||||
<linearGradient id="paper" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#fbf2dc" /><stop offset=".55" stop-color="#f3e7cd" /><stop offset="1" stop-color="#e8d2ad" /></linearGradient>
|
||||
<linearGradient id="gold" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#f3d77e" /><stop offset=".45" stop-color="#bd8730" /><stop offset="1" stop-color="#6e4916" /></linearGradient>
|
||||
<linearGradient id="earth" x1="0" y1="0" x2="1" y2="0"><stop offset="0" stop-color="#5a321f" /><stop offset=".45" stop-color="#9a5f28" /><stop offset="1" stop-color="#d2a14a" /></linearGradient>
|
||||
<pattern id="vellum" width="32" height="28" patternUnits="userSpaceOnUse"><path d="M0 7H32 M0 20H32" stroke="#8b6f45" stroke-width="1" opacity=".055" /><path d="M7 0V28 M23 0V28" stroke="#a48a60" stroke-width="1" opacity=".045" /></pattern>
|
||||
<pattern id="night-band" width="54" height="34" patternUnits="userSpaceOnUse"><rect width="54" height="34" fill="#132f54" /><circle cx="12" cy="10" r="2" fill="#e6c46c" /><circle cx="40" cy="25" r="1.5" fill="#f1df9e" /></pattern>
|
||||
<g id="star"><path d="M0-13 L3-3 L13 0 L3 3 L0 13 L-3 3 L-13 0 L-3-3Z" fill="url(#gold)" stroke="#624315" stroke-width="1.5" /></g>
|
||||
</defs><image xlink:href="../../source/art-master.png" width="2000" height="2800" /><g id="promise-frame">
|
||||
<rect x="15" y="15" width="1970" height="2770" rx="30" fill="none" stroke="#241b19" stroke-width="28" />
|
||||
<rect x="25" y="25" width="1950" height="2750" rx="24" fill="none" stroke="url(#gold)" stroke-width="12" />
|
||||
<rect x="42" y="42" width="1916" height="2716" rx="18" fill="none" stroke="#163457" stroke-width="9" />
|
||||
<rect x="53" y="53" width="1894" height="2694" rx="14" fill="none" stroke="#d9b55e" stroke-width="3" />
|
||||
<g id="pilgrim-caravan" fill="#b18b48" stroke="none" stroke-width="1.7" stroke-linejoin="round" stroke-linecap="round">
|
||||
<defs><g id="walking-camel">
|
||||
|
||||
<path d="M38 70 L47 91 L43 115 L46 119 H35 L39 94 L30 76Z" />
|
||||
<path d="M88 68 L100 88 L99 114 L103 119 H93 L92 93 L80 75Z" />
|
||||
|
||||
<path d="M23 57 C24 49 33 45 43 45 C48 43 49 29 58 24 C67 19 74 29 78 39 C81 45 87 46 96 46 C102 45 105 38 109 29 L116 15 L123 10 L122 3 L127 8 C133 6 137 11 138 13 L149 15 L150 21 L140 24 L131 23 C127 29 126 39 123 47 C120 56 116 64 110 69 C106 75 101 80 92 81 C76 83 52 82 39 77 L28 70 C23 67 21 63 23 57Z" />
|
||||
<path d="M30 69 L34 78 L29 95 L20 115 L23 119 H11 L20 92 L22 73Z" />
|
||||
<path d="M104 65 L111 69 L110 93 L117 115 L121 119 H110 L102 96 L99 76Z" />
|
||||
<path d="M25 55 C18 57 17 64 16 72 L13 76" fill="none" stroke="#b18b48" stroke-width="3" />
|
||||
</g></defs>
|
||||
<use xlink:href="#walking-camel" transform="translate(106 2633) scale(.89)" />
|
||||
<use xlink:href="#walking-camel" transform="translate(279 2644) scale(.8)" />
|
||||
</g>
|
||||
</g><g id="title-backing"><path d="M1190 62 H1938 V342 H1110 V150 Q1110 62 1190 62Z" fill="#151d2f" stroke="#241b19" stroke-width="12" /><path d="M1200 82 H1918 V322 H1135 V154 Q1135 82 1200 82Z" fill="url(#paper)" stroke="url(#gold)" stroke-width="5" /><path d="M1195 300 H1450 M1530 300 H1880" stroke="#9e762d" stroke-width="3" /><use xlink:href="#star" transform="translate(1490 300) scale(.55)" /><use xlink:href="#star" transform="translate(1170 120) scale(.42)" /><use xlink:href="#star" transform="translate(1880 120) scale(.34)" /></g><g id="verse-backing"><path d="M1050 1940 C1260 1880 1580 1920 1940 1785 V2742 H1030 C1110 2535 1130 2325 1080 2120 C1055 2030 1035 1980 1050 1940Z" transform="translate(4 7)" fill="#15100d" opacity=".66" /><path d="M1050 1940 C1260 1880 1580 1920 1940 1785 V2742 H1030 C1110 2535 1130 2325 1080 2120 C1055 2030 1035 1980 1050 1940Z" fill="url(#paper)" stroke="#5c3c1b" stroke-width="9" /><path d="M1050 1940 C1260 1880 1580 1920 1940 1785 V2742 H1030 C1110 2535 1130 2325 1080 2120 C1055 2030 1035 1980 1050 1940Z" fill="url(#vellum)" stroke="url(#gold)" stroke-width="4" />
|
||||
<path d="M1082 1971 C1290 1915 1590 1945 1902 1832" fill="none" stroke="#173c63" stroke-width="7" />
|
||||
<path d="M1095 1986 C1300 1934 1592 1960 1894 1852" fill="none" stroke="#c89a43" stroke-width="3" />
|
||||
<g opacity=".95"><use xlink:href="#star" transform="translate(1175 1952) scale(.48)" /><use xlink:href="#star" transform="translate(1420 1927) scale(.33)" /><use xlink:href="#star" transform="translate(1680 1924) scale(.42)" /><use xlink:href="#star" transform="translate(1875 1867) scale(.3)" /></g>
|
||||
<path d="M1110 2704 H1900" stroke="#9b762d" stroke-width="4" stroke-linecap="round" />
|
||||
</g><text id="title" x="1525" y="248" font-family="P052" font-weight="700" font-size="132" text-anchor="middle" fill="#263f50">ABRAHAM</text><text id="verse-0" x="1511" y="2165" font-family="Sanctification P052" font-weight="500" font-size="54" text-anchor="middle" fill="#263f50">“Look toward heaven,</text><text id="verse-1" x="1511" y="2272" font-family="Sanctification P052" font-weight="500" font-size="54" text-anchor="middle" fill="#263f50">and number the stars,</text><text id="verse-2" x="1511" y="2379" font-family="Sanctification P052" font-weight="500" font-size="54" text-anchor="middle" fill="#263f50">if you are able to number them.</text><text id="verse-3" x="1511" y="2486" font-family="Sanctification P052" font-weight="500" font-size="54" text-anchor="middle" fill="#263f50">… So shall your offspring be.”</text><text id="reference" x="1511" y="2625" font-family="Sanctification P052" font-weight="500" font-size="48" text-anchor="middle" fill="#263f50">Genesis 15:5 • ESV</text></svg>
|
||||
|
After Width: | Height: | Size: 5.4 KiB |
@@ -0,0 +1 @@
|
||||
<fontconfig><dir>/home/dkzver/docker/sanctification/fonts</dir><cachedir>/home/dkzver/docker/sanctification/in-progress/cards/BP-003-abraham/revisions/v02/review/legendary-layout-prototype-v3/font-cache</cachedir></fontconfig>
|
||||
|
After Width: | Height: | Size: 185 KiB |
@@ -0,0 +1,32 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="2000" height="2800" viewBox="0 0 2000 2800"><defs>
|
||||
<linearGradient id="paper" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#fbf2dc"/><stop offset=".55" stop-color="#f3e7cd"/><stop offset="1" stop-color="#e8d2ad"/></linearGradient>
|
||||
<linearGradient id="gold" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#f3d77e"/><stop offset=".45" stop-color="#bd8730"/><stop offset="1" stop-color="#6e4916"/></linearGradient>
|
||||
<linearGradient id="earth" x1="0" y1="0" x2="1" y2="0"><stop offset="0" stop-color="#5a321f"/><stop offset=".45" stop-color="#9a5f28"/><stop offset="1" stop-color="#d2a14a"/></linearGradient>
|
||||
<pattern id="vellum" width="32" height="28" patternUnits="userSpaceOnUse"><path d="M0 7H32 M0 20H32" stroke="#8b6f45" stroke-width="1" opacity=".055"/><path d="M7 0V28 M23 0V28" stroke="#a48a60" stroke-width="1" opacity=".045"/></pattern>
|
||||
<pattern id="night-band" width="54" height="34" patternUnits="userSpaceOnUse"><rect width="54" height="34" fill="#132f54"/><circle cx="12" cy="10" r="2" fill="#e6c46c"/><circle cx="40" cy="25" r="1.5" fill="#f1df9e"/></pattern>
|
||||
<g id="star"><path d="M0-13 L3-3 L13 0 L3 3 L0 13 L-3 3 L-13 0 L-3-3Z" fill="url(#gold)" stroke="#624315" stroke-width="1.5"/></g>
|
||||
</defs><g id="promise-frame">
|
||||
<rect x="15" y="15" width="1970" height="2770" rx="30" fill="none" stroke="#241b19" stroke-width="28"/>
|
||||
<rect x="25" y="25" width="1950" height="2750" rx="24" fill="none" stroke="url(#gold)" stroke-width="12"/>
|
||||
<rect x="42" y="42" width="1916" height="2716" rx="18" fill="none" stroke="#163457" stroke-width="9"/>
|
||||
<rect x="53" y="53" width="1894" height="2694" rx="14" fill="none" stroke="#d9b55e" stroke-width="3"/>
|
||||
<g id="pilgrim-caravan" fill="#b18b48" stroke="none" stroke-width="1.7" stroke-linejoin="round" stroke-linecap="round">
|
||||
<defs><g id="walking-camel">
|
||||
<!-- Four separated, tapered legs; farther legs sit behind the torso. -->
|
||||
<path d="M38 70 L47 91 L43 115 L46 119 H35 L39 94 L30 76Z"/>
|
||||
<path d="M88 68 L100 88 L99 114 L103 119 H93 L92 93 L80 75Z"/>
|
||||
<!-- Long neck, small level muzzle, one hump, and a quiet belly contour. -->
|
||||
<path d="M23 57 C24 49 33 45 43 45 C48 43 49 29 58 24 C67 19 74 29 78 39 C81 45 87 46 96 46 C102 45 105 38 109 29 L116 15 L123 10 L122 3 L127 8 C133 6 137 11 138 13 L149 15 L150 21 L140 24 L131 23 C127 29 126 39 123 47 C120 56 116 64 110 69 C106 75 101 80 92 81 C76 83 52 82 39 77 L28 70 C23 67 21 63 23 57Z"/>
|
||||
<path d="M30 69 L34 78 L29 95 L20 115 L23 119 H11 L20 92 L22 73Z"/>
|
||||
<path d="M104 65 L111 69 L110 93 L117 115 L121 119 H110 L102 96 L99 76Z"/>
|
||||
<path d="M25 55 C18 57 17 64 16 72 L13 76" fill="none" stroke="#b18b48" stroke-width="3"/>
|
||||
</g></defs>
|
||||
<use xlink:href="#walking-camel" transform="translate(106 2633) scale(.89)"/>
|
||||
<use xlink:href="#walking-camel" transform="translate(279 2644) scale(.8)"/>
|
||||
</g>
|
||||
</g><g id="title-backing"><path d="M1190 62 H1938 V342 H1110 V150 Q1110 62 1190 62Z" fill="#151d2f" stroke="#241b19" stroke-width="12"/><path d="M1200 82 H1918 V322 H1135 V154 Q1135 82 1200 82Z" fill="url(#paper)" stroke="url(#gold)" stroke-width="5"/><path d="M1195 300 H1450 M1530 300 H1880" stroke="#9e762d" stroke-width="3"/><use xlink:href="#star" transform="translate(1490 300) scale(.55)"/><use xlink:href="#star" transform="translate(1170 120) scale(.42)"/><use xlink:href="#star" transform="translate(1880 120) scale(.34)"/></g><g id="verse-backing"><path d="M1050 1940 C1260 1880 1580 1920 1940 1785 V2742 H1030 C1110 2535 1130 2325 1080 2120 C1055 2030 1035 1980 1050 1940Z" transform="translate(4 7)" fill="#15100d" opacity=".66"/><path d="M1050 1940 C1260 1880 1580 1920 1940 1785 V2742 H1030 C1110 2535 1130 2325 1080 2120 C1055 2030 1035 1980 1050 1940Z" fill="url(#paper)" stroke="#5c3c1b" stroke-width="9"/><path d="M1050 1940 C1260 1880 1580 1920 1940 1785 V2742 H1030 C1110 2535 1130 2325 1080 2120 C1055 2030 1035 1980 1050 1940Z" fill="url(#vellum)" stroke="url(#gold)" stroke-width="4"/>
|
||||
<path d="M1082 1971 C1290 1915 1590 1945 1902 1832" fill="none" stroke="#173c63" stroke-width="7"/>
|
||||
<path d="M1095 1986 C1300 1934 1592 1960 1894 1852" fill="none" stroke="#c89a43" stroke-width="3"/>
|
||||
<g opacity=".95"><use xlink:href="#star" transform="translate(1175 1952) scale(.48)"/><use xlink:href="#star" transform="translate(1420 1927) scale(.33)"/><use xlink:href="#star" transform="translate(1680 1924) scale(.42)"/><use xlink:href="#star" transform="translate(1875 1867) scale(.3)"/></g>
|
||||
<path d="M1110 2704 H1900" stroke="#9b762d" stroke-width="4" stroke-linecap="round"/>
|
||||
</g></svg>
|
||||
|
After Width: | Height: | Size: 4.5 KiB |
@@ -0,0 +1,233 @@
|
||||
{
|
||||
"status": "passed",
|
||||
"scope": "Normal-only Legendary layout prototype; no production assembly",
|
||||
"cardId": "BP-003",
|
||||
"revision": "v02",
|
||||
"canvas": [
|
||||
2000,
|
||||
2800
|
||||
],
|
||||
"art": {
|
||||
"path": "in-progress/cards/BP-003-abraham/revisions/v02/source/art-master.png",
|
||||
"sha256": "0461b6888079d1d5686addf8eb27151c19b183e04e16bf22386746d72825aa98"
|
||||
},
|
||||
"governingIdea": "Promise between earth and heaven",
|
||||
"ornamentRevision": "Replaced only the lower-left caravan with two restrained long-necked single-hump camel silhouettes, four leg indications and no connector; all other v2 geometry and text retained.",
|
||||
"compositionOrder": [
|
||||
"art",
|
||||
"restrained indigo-gold frame with small pilgrim caravan",
|
||||
"celestial title plaque",
|
||||
"lower-right covenant backing",
|
||||
"text"
|
||||
],
|
||||
"paths": {
|
||||
"titleBacking": "M1190 62 H1938 V342 H1110 V150 Q1110 62 1190 62Z",
|
||||
"verseBacking": "M1050 1940 C1260 1880 1580 1920 1940 1785 V2742 H1030 C1110 2535 1130 2325 1080 2120 C1055 2030 1035 1980 1050 1940Z"
|
||||
},
|
||||
"typography": {
|
||||
"sharedFontManifestSHA256": "ef68ee6393981d54ca068a950f21c53b374d20e6e46c21c788f36380d3aae178",
|
||||
"checks": [
|
||||
{
|
||||
"id": "title",
|
||||
"text": "ABRAHAM",
|
||||
"baseline": 248,
|
||||
"size": 132,
|
||||
"font": "P052",
|
||||
"weight": 700,
|
||||
"inkBounds": [
|
||||
1158,
|
||||
157,
|
||||
1891,
|
||||
250
|
||||
],
|
||||
"safeBounds": [
|
||||
1130,
|
||||
80,
|
||||
1920,
|
||||
320
|
||||
],
|
||||
"outsideOpaqueBacking": 0
|
||||
},
|
||||
{
|
||||
"id": "verse-0",
|
||||
"text": "\u201cLook toward heaven,",
|
||||
"baseline": 2165,
|
||||
"size": 54,
|
||||
"font": "Sanctification P052",
|
||||
"weight": 500,
|
||||
"inkBounds": [
|
||||
1250,
|
||||
2125,
|
||||
1773,
|
||||
2174
|
||||
],
|
||||
"safeBounds": [
|
||||
1120,
|
||||
2050,
|
||||
1905,
|
||||
2665
|
||||
],
|
||||
"outsideOpaqueBacking": 0
|
||||
},
|
||||
{
|
||||
"id": "verse-1",
|
||||
"text": "and number the stars,",
|
||||
"baseline": 2272,
|
||||
"size": 54,
|
||||
"font": "Sanctification P052",
|
||||
"weight": 500,
|
||||
"inkBounds": [
|
||||
1252,
|
||||
2232,
|
||||
1770,
|
||||
2281
|
||||
],
|
||||
"safeBounds": [
|
||||
1120,
|
||||
2050,
|
||||
1905,
|
||||
2665
|
||||
],
|
||||
"outsideOpaqueBacking": 0
|
||||
},
|
||||
{
|
||||
"id": "verse-2",
|
||||
"text": "if you are able to number them.",
|
||||
"baseline": 2379,
|
||||
"size": 54,
|
||||
"font": "Sanctification P052",
|
||||
"weight": 500,
|
||||
"inkBounds": [
|
||||
1137,
|
||||
2339,
|
||||
1883,
|
||||
2395
|
||||
],
|
||||
"safeBounds": [
|
||||
1120,
|
||||
2050,
|
||||
1905,
|
||||
2665
|
||||
],
|
||||
"outsideOpaqueBacking": 0
|
||||
},
|
||||
{
|
||||
"id": "verse-3",
|
||||
"text": "\u2026 So shall your offspring be.\u201d",
|
||||
"baseline": 2486,
|
||||
"size": 54,
|
||||
"font": "Sanctification P052",
|
||||
"weight": 500,
|
||||
"inkBounds": [
|
||||
1161,
|
||||
2446,
|
||||
1865,
|
||||
2502
|
||||
],
|
||||
"safeBounds": [
|
||||
1120,
|
||||
2050,
|
||||
1905,
|
||||
2665
|
||||
],
|
||||
"outsideOpaqueBacking": 0
|
||||
},
|
||||
{
|
||||
"id": "reference",
|
||||
"text": "Genesis 15:5 \u2022 ESV",
|
||||
"baseline": 2625,
|
||||
"size": 48,
|
||||
"font": "Sanctification P052",
|
||||
"weight": 500,
|
||||
"inkBounds": [
|
||||
1310,
|
||||
2590,
|
||||
1712,
|
||||
2627
|
||||
],
|
||||
"safeBounds": [
|
||||
1120,
|
||||
2050,
|
||||
1905,
|
||||
2665
|
||||
],
|
||||
"outsideOpaqueBacking": 0
|
||||
}
|
||||
],
|
||||
"quotation": true,
|
||||
"reference": "Genesis 15:5 \u2022 ESV"
|
||||
},
|
||||
"structuralChecks": {
|
||||
"textOnOpaqueBacking": "passed",
|
||||
"faceAndHandRegionUnchanged": "passed",
|
||||
"sourceArtUnchanged": true,
|
||||
"canvasRegistration": "passed"
|
||||
},
|
||||
"staticReview": "Reviewed enlarged and at 500x700: two restrained single-hump camel silhouettes, long necks and four leg indications; no rope, no replacement connector, no overlap with Abraham or backing.",
|
||||
"notPerformed": [
|
||||
"foreground extraction",
|
||||
"finish masks",
|
||||
"text masks",
|
||||
"Borderless/Textless/Boundless printings",
|
||||
"harness installation",
|
||||
"moving-light review",
|
||||
"art or card approval"
|
||||
],
|
||||
"prototypeVersion": 3,
|
||||
"comparisonToV2": {
|
||||
"allowedChangedRegion": [
|
||||
95,
|
||||
2615,
|
||||
410,
|
||||
2750
|
||||
],
|
||||
"actualChangedBounds": [
|
||||
103,
|
||||
2635,
|
||||
399,
|
||||
2745
|
||||
],
|
||||
"changedPixels": 13997,
|
||||
"changedPixelsOutsideOrnamentRegion": 0,
|
||||
"svgOutsideCaravanIdentical": true,
|
||||
"textRasterIdentical": true,
|
||||
"priorPrototypePreserved": true
|
||||
},
|
||||
"caravanConnector": "none; removed after user feedback",
|
||||
"previewFiles": {
|
||||
"composed-preview-2000.png": {
|
||||
"dimensions": [
|
||||
2000,
|
||||
2800
|
||||
],
|
||||
"opaque": true,
|
||||
"sha256": "4dfa7bcd38047d00b137a55adaf2143ba62553f4c5af304f5015f1dac1769980"
|
||||
},
|
||||
"composed-preview-1000.png": {
|
||||
"dimensions": [
|
||||
1000,
|
||||
1400
|
||||
],
|
||||
"opaque": true,
|
||||
"sha256": "bece68dd8cd96562284a50edf57bf09a55e3b998c9339c82bb5edaf3881deb6d"
|
||||
},
|
||||
"composed-preview-500.png": {
|
||||
"dimensions": [
|
||||
500,
|
||||
700
|
||||
],
|
||||
"opaque": true,
|
||||
"sha256": "9cd8da5b08d7326367f52563bdea7ed7d4bc1af671bba0512714329ef2071d7f"
|
||||
}
|
||||
},
|
||||
"ropeRemovalCheck": {
|
||||
"actualChangedBounds": [
|
||||
238,
|
||||
2649,
|
||||
298,
|
||||
2694
|
||||
],
|
||||
"changedPixelsOutsideFormerRopeRegion": 0,
|
||||
"bothCamelSilhouettesPreserved": true
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 39 KiB |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="2000" height="2800" viewBox="0 0 2000 2800"><text id="reference" x="1511" y="2625" font-family="Sanctification P052" font-weight="500" font-size="48" text-anchor="middle" fill="#263f50">Genesis 15:5 • ESV</text></svg>
|
||||
|
After Width: | Height: | Size: 309 B |
|
After Width: | Height: | Size: 121 KiB |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="2000" height="2800" viewBox="0 0 2000 2800"><text id="title" x="1525" y="248" font-family="P052" font-weight="700" font-size="132" text-anchor="middle" fill="#263f50">ABRAHAM</text><text id="verse-0" x="1511" y="2165" font-family="Sanctification P052" font-weight="500" font-size="54" text-anchor="middle" fill="#263f50">“Look toward heaven,</text><text id="verse-1" x="1511" y="2272" font-family="Sanctification P052" font-weight="500" font-size="54" text-anchor="middle" fill="#263f50">and number the stars,</text><text id="verse-2" x="1511" y="2379" font-family="Sanctification P052" font-weight="500" font-size="54" text-anchor="middle" fill="#263f50">if you are able to number them.</text><text id="verse-3" x="1511" y="2486" font-family="Sanctification P052" font-weight="500" font-size="54" text-anchor="middle" fill="#263f50">… So shall your offspring be.”</text><text id="reference" x="1511" y="2625" font-family="Sanctification P052" font-weight="500" font-size="48" text-anchor="middle" fill="#263f50">Genesis 15:5 • ESV</text></svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 46 KiB |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="2000" height="2800" viewBox="0 0 2000 2800"><text id="title" x="1525" y="248" font-family="P052" font-weight="700" font-size="132" text-anchor="middle" fill="#263f50">ABRAHAM</text></svg>
|
||||
|
After Width: | Height: | Size: 277 B |
|
After Width: | Height: | Size: 603 KiB |
@@ -0,0 +1,29 @@
|
||||
"""Regenerate the v2/v3 comparison and scope validation after building previews."""
|
||||
from pathlib import Path
|
||||
from PIL import Image,ImageDraw,ImageFont
|
||||
import numpy as np,json,hashlib,re
|
||||
p=Path(__file__).resolve().parent;old=p.parent/'legendary-layout-prototype-v2';repo=next(q for q in p.parents if (q/'fonts/manifest.json').is_file());sha=lambda f:hashlib.sha256(f.read_bytes()).hexdigest()
|
||||
a=np.asarray(Image.open(old/'composed-preview-2000.png').convert('RGB'));b=np.asarray(Image.open(p/'composed-preview-2000.png').convert('RGB'));diff=np.any(a!=b,axis=2);ys,xs=np.where(diff);bounds=[int(xs.min()),int(ys.min()),int(xs.max()+1),int(ys.max()+1)];outside=diff.copy();outside[2615:2750,95:410]=False;assert not outside.any(),bounds
|
||||
def strip_ornament(s):
|
||||
start=s.index('<g id="pilgrim-caravan"');rest=s[start:];depth=0
|
||||
for m in re.finditer(r'<g\b[^>]*>|</g>',rest):
|
||||
depth+=-1 if m.group().startswith('</') else 1
|
||||
if depth==0:return s[:start]+s[start+m.end():]
|
||||
assert strip_ornament((old/'composed-preview.svg').read_text())==strip_ornament((p/'composed-preview.svg').read_text())
|
||||
assert sha(old/'text-preview.png')==sha(p/'text-preview.png')
|
||||
assert 'M239 2651' not in (p/'composed-preview.svg').read_text()
|
||||
report=json.loads((p/'preview-validation.json').read_text());report['prototypeVersion']=3;report['comparisonToV2']={'allowedChangedRegion':[95,2615,410,2750],'actualChangedBounds':bounds,'changedPixels':int(diff.sum()),'changedPixelsOutsideOrnamentRegion':int(outside.sum()),'svgOutsideCaravanIdentical':True,'textRasterIdentical':True,'priorPrototypePreserved':True};report['caravanConnector']='none; removed after user feedback';report['staticReview']='Reviewed enlarged and at 500x700: two restrained single-hump camel silhouettes, long necks and four leg indications; no rope, no replacement connector, no overlap with Abraham or backing.'
|
||||
report['previewFiles']={}
|
||||
for width in [2000,1000,500]:
|
||||
f=p/f'composed-preview-{width}.png';im=Image.open(f);assert im.size==(width,width*7//5);assert im.convert('RGBA').getchannel('A').getextrema()==(255,255)
|
||||
report['previewFiles'][f.name]={'dimensions':list(im.size),'opaque':True,'sha256':sha(f)}
|
||||
(p/'preview-validation.json').write_text(json.dumps(report,indent=2)+'\n')
|
||||
font=ImageFont.truetype(str(repo/'fonts/P052-Bold.otf'),26);board=Image.new('RGB',(1040,770),'#11161c');d=ImageDraw.Draw(board)
|
||||
for x,label,folder in [(10,'v2 — previous caravan',old),(530,'v3 — refined caravan',p)]:
|
||||
d.text((x,12),label,font=font,fill='#f4ead4');board.paste(Image.open(folder/'composed-preview-500.png').convert('RGB'),(x,58))
|
||||
board.save(p/'v2-v3-comparison.png')
|
||||
detail=Image.new('RGB',(1000,310),'#11161c');d=ImageDraw.Draw(detail)
|
||||
for x,label,folder in [(10,'v2',old),(510,'v3',p)]:
|
||||
d.text((x,10),label,font=font,fill='#f4ead4');crop=Image.open(folder/'composed-preview-2000.png').crop((85,2600,430,2760)).convert('RGB');crop=crop.resize((480,223),Image.Resampling.LANCZOS);detail.paste(crop,(x,55))
|
||||
detail.save(p/'caravan-detail-comparison.png')
|
||||
print(json.dumps(report['comparisonToV2'],indent=2))
|
||||
|
After Width: | Height: | Size: 42 KiB |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="2000" height="2800" viewBox="0 0 2000 2800"><text id="verse-0" x="1511" y="2165" font-family="Sanctification P052" font-weight="500" font-size="54" text-anchor="middle" fill="#263f50">“Look toward heaven,</text></svg>
|
||||
|
After Width: | Height: | Size: 309 B |
|
After Width: | Height: | Size: 41 KiB |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="2000" height="2800" viewBox="0 0 2000 2800"><text id="verse-1" x="1511" y="2272" font-family="Sanctification P052" font-weight="500" font-size="54" text-anchor="middle" fill="#263f50">and number the stars,</text></svg>
|
||||
|
After Width: | Height: | Size: 308 B |
|
After Width: | Height: | Size: 45 KiB |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="2000" height="2800" viewBox="0 0 2000 2800"><text id="verse-2" x="1511" y="2379" font-family="Sanctification P052" font-weight="500" font-size="54" text-anchor="middle" fill="#263f50">if you are able to number them.</text></svg>
|
||||
|
After Width: | Height: | Size: 318 B |
|
After Width: | Height: | Size: 46 KiB |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="2000" height="2800" viewBox="0 0 2000 2800"><text id="verse-3" x="1511" y="2486" font-family="Sanctification P052" font-weight="500" font-size="54" text-anchor="middle" fill="#263f50">… So shall your offspring be.”</text></svg>
|
||||
|
After Width: | Height: | Size: 321 B |
BIN
artifacts/cards/BP-003-abraham/review/normal-reconstructed.png
Normal file
|
After Width: | Height: | Size: 5.7 MiB |
BIN
artifacts/cards/BP-003-abraham/review/printings-comparison.png
Normal file
|
After Width: | Height: | Size: 501 KiB |
|
After Width: | Height: | Size: 462 KiB |
56
artifacts/cards/BP-003-abraham/review/source-validation.json
Normal file
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"status": "pass",
|
||||
"scope": "art-source structural validation only",
|
||||
"cardId": "BP-003",
|
||||
"revision": "v02",
|
||||
"stage": "art-review",
|
||||
"artApproval": null,
|
||||
"files": {
|
||||
"source/art-master.png": {
|
||||
"dimensions": [
|
||||
2000,
|
||||
2800
|
||||
],
|
||||
"mode": "RGB",
|
||||
"opaque": true,
|
||||
"sha256": "0461b6888079d1d5686addf8eb27151c19b183e04e16bf22386746d72825aa98"
|
||||
},
|
||||
"review/art-review.png": {
|
||||
"dimensions": [
|
||||
1000,
|
||||
1400
|
||||
],
|
||||
"mode": "RGB",
|
||||
"opaque": true,
|
||||
"sha256": "bf798d8cd2e470f72d546d1f34e568ebf50ed4077eb769d890b6e052f57116a8"
|
||||
},
|
||||
"review/art-card-size.png": {
|
||||
"dimensions": [
|
||||
500,
|
||||
700
|
||||
],
|
||||
"mode": "RGB",
|
||||
"opaque": true,
|
||||
"sha256": "5526e6a0614b644240bb414e4349ffcc818b6f48c778e6c7bfe057c6c6da3d9d"
|
||||
},
|
||||
"review/art-thumbnail.png": {
|
||||
"dimensions": [
|
||||
200,
|
||||
280
|
||||
],
|
||||
"mode": "RGB",
|
||||
"opaque": true,
|
||||
"sha256": "b18f7bc3be6c0aaa92cc400c8bd8f172be1fbffaa097cebd3ede0e3cea75c177"
|
||||
}
|
||||
},
|
||||
"nativeDimensions": [
|
||||
1060,
|
||||
1484
|
||||
],
|
||||
"fit": "source/art-fit.json",
|
||||
"visualReview": "review/illustration-review.md",
|
||||
"visualReviewStatus": "night-horizon correction ready for user review",
|
||||
"priorRevisionPreserved": "v01",
|
||||
"assemblyPerformed": false,
|
||||
"movingLightReview": "not applicable; art only"
|
||||
}
|
||||
22
artifacts/cards/BP-003-abraham/review/static-review.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"status": "passed-structural-user-visual-review-pending",
|
||||
"cardId": "BP-003",
|
||||
"revision": "v02",
|
||||
"checks": {
|
||||
"selectedNormalPreservedByteForByte": true,
|
||||
"fourPrintingComposition": "passed",
|
||||
"layerRegistration": "passed",
|
||||
"opaqueFaces": "passed",
|
||||
"textOnOpaqueBacking": "passed",
|
||||
"lowMedHighExports": "passed"
|
||||
},
|
||||
"reviewAssets": [
|
||||
"printings-comparison.png",
|
||||
"layers-comparison.png",
|
||||
"finish-masks-comparison.png",
|
||||
"promise-panel-finish-detail.png"
|
||||
],
|
||||
"staticVisualAssessment": "Pending user review of production printings and masks.",
|
||||
"movingLightReview": "Not performed.",
|
||||
"finalCardApproval": null
|
||||
}
|
||||