feat: track remaining production assets, playtest scenes and references
Close the gaps left open after the LFS migration: 177 files that were sitting untracked now enter version control, with every binary going through Git LFS. - labels: milk and orange-juice wrap artwork (SVG/PNG), Seedream sources, prompts and Dreamina job records - orange juice 2L: bottle, cap, empty state and three label variants (blend + glb each) - cup contents: desktop and mobile-optimised variants plus 3 textures - milk 2L: empty and packaged variants with their glb exports - milk frother: low-poly assembly and split base/jug parts - tamper: model, glb and fit test - juicer: seven assembly-part review scenes and their export scripts - playtests: extraction animation scene and grinding/tamping whitebox - reference: Minex page candidates, user review screenshots, sequence analysis frames and tamper STLs - docs: item design draft, bean research notes, region reference and the model-asset audit report Re-renderable preview/check frames stay untracked on purpose.
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
import base64
|
||||
import subprocess
|
||||
from pathlib import Path
|
||||
|
||||
OUT = Path(__file__).resolve().parent
|
||||
WIDTH, HEIGHT = 3584, 768
|
||||
source = (OUT / "orange_juice_wrap.png").read_bytes()
|
||||
assert b"100%" not in (OUT / "orange_juice_wrap.svg").read_bytes()
|
||||
encoded = base64.b64encode(source).decode("ascii")
|
||||
|
||||
|
||||
def orange_icon(cx):
|
||||
return f'''<g transform="translate({cx} 345) scale(1.1)">
|
||||
<path d="M4 -29 C17 -62 43 -68 65 -62 C56 -37 33 -24 4 -29 Z" fill="#246d37"/>
|
||||
<path d="M-2 -27 C-15 -51 -38 -55 -52 -45 C-41 -23 -20 -17 -2 -27 Z" fill="#9bbd3e"/>
|
||||
<circle cx="0" cy="14" r="46" fill="#f28a09"/>
|
||||
</g>'''
|
||||
|
||||
|
||||
svg = f'''<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="{WIDTH}" height="{HEIGHT}" viewBox="0 0 {WIDTH} {HEIGHT}">
|
||||
<defs><linearGradient id="sky" x1="0" y1="0" x2="0" y2="1">
|
||||
<stop offset="0" stop-color="#eaf9ff"/><stop offset="0.58" stop-color="#cceef7"/><stop offset="1" stop-color="#a7ddec"/>
|
||||
</linearGradient></defs>
|
||||
<rect width="3584" height="768" fill="url(#sky)"/>
|
||||
<rect width="3584" height="12" fill="#ed8208"/><rect y="716" width="3584" height="52" fill="#ed8208"/>
|
||||
<path d="M0 701 Q448 681 896 701 T1792 701 T2688 701 T3584 701" fill="none" stroke="#f5a51b" stroke-width="5"/>
|
||||
{orange_icon(0)}{orange_icon(3584)}
|
||||
{orange_icon(384)}{orange_icon(3200)}
|
||||
<image x="768" y="0" width="2048" height="768" xlink:href="data:image/png;base64,{encoded}"/>
|
||||
</svg>'''
|
||||
svg_path = OUT / "orange_juice_wrap_wide.svg"
|
||||
svg_path.write_text(svg, encoding="utf-8")
|
||||
subprocess.run(["sips", "-s", "format", "png", str(svg_path), "--out", str(OUT / "orange_juice_wrap_wide.png")], check=True)
|
||||
print(OUT / "orange_juice_wrap_wide.png")
|
||||
Reference in New Issue
Block a user