#!/usr/bin/env bash # Generates all WRAP PARTY textures with gpt-image (parallel). Usage: gen_textures.sh [name...] cd "$(dirname "$0")" GEN=~/.claude/skills/gpt-image/generate.sh STYLE="Stylized clean cartoon game texture, soft hand-painted, bright saturated colours, seamless tileable, flat even lighting, no shadows, top-down orthographic, fills the entire square edge to edge." declare -A P P[T_Cardboard]="$STYLE Corrugated brown cardboard surface, warm kraft tan colour, subtle fibre speckles and very faint corrugation stripes, a few soft scuffs. No text." P[T_BoxPrint]="Flat orthographic cartoon game texture of the side of a shipping cardboard box, warm kraft tan cardboard background filling the whole square, printed in dark brown ink: a cute round bubble-wrap logo with the words \"POP CO.\" in bold rounded letters in the centre, a FRAGILE wine-glass icon in the upper-left corner, two 'this side up' arrows in the upper-right corner, a small umbrella keep-dry icon lower-left. Clean vector-like print, slightly worn ink, flat even lighting, no shadows, no perspective." P[T_Tape]="$STYLE Brown glossy packing tape strip texture filling the square, tan-amber colour, repeating small printed text \"POP CO.\" in white rounded bold letters in neat rows with tiny bubble dots between, subtle glossy streaks." P[T_Floor]="$STYLE Light grey polished warehouse concrete floor, very subtle soft mottling and tiny speckles, gentle warm tint, clean and bright, no lines, no cracks, no text." P[T_WallPanel]="$STYLE Painted corrugated metal wall panels, vertical ribs, soft teal-blue paint colour, subtle highlights on each rib, clean and cheerful, no text, no rust." P[T_Roof]="$STYLE Warehouse ceiling made of white painted corrugated metal sheets with long parallel ribs, soft light grey shading in grooves, clean, no text." P[T_Wood]="$STYLE Light pine wood planks texture, warm honey colour, soft wood grain, a few cute knots, planks running vertically, no text." P[T_Metal]="$STYLE Brushed light steel metal surface, soft cool grey, faint brushed streaks, a couple of tiny scuffs, clean and bright, no text, no rust." P[T_Belt]="$STYLE Dark charcoal rubber conveyor belt surface with evenly spaced horizontal raised ridges across the width, slight sheen on ridges, no text." P[T_WrapRoll]="$STYLE Close-up of rolled bubble wrap plastic surface: many round clear-white glossy bubbles in an offset hexagonal grid, soft light blue tint, shiny specular dots on every bubble, no text." P[T_Sign]="Flat front-on cartoon game texture of a big cheerful warehouse wall sign, wide banner shape filling the whole image, bright sunny yellow background with a thick rounded dark-navy border, bold chunky rounded white letters with dark navy outline reading \"POP CO. DEPOT\", a cute round bubble-wrap mascot logo with a happy face on the left, small bubbles decorations, flat even lighting, no shadows, no perspective." P[T_CapLogo]="Flat cartoon game texture for a baseball cap fabric, solid bright red cotton fabric with subtle weave filling the whole square, a round white embroidered patch in the centre with a cute bubble-wrap logo and the bold rounded text \"POP CO.\" in navy, flat even lighting, no shadows." names=("$@") [ ${#names[@]} -eq 0 ] && names=("${!P[@]}") for n in "${names[@]}"; do size="1024x1024" [ "$n" = "T_Sign" ] && size="1536x1024" ( out=$($GEN --out "raw_${n}.png" --prompt "${P[$n]}" --size "$size" 2>"log_${n}.txt"); echo "$n exit=$? $out" >> gen_status.txt ) & sleep 2 done wait echo ALLDONE >> gen_status.txt