Commit 4ec5675d authored by 9R's avatar 9R

add: acab more colors

parent 5c2f4f86
This diff is collapsed.
tiles_png/9R/acab_wall.png

3.83 KB | W: | H:

tiles_png/9R/acab_wall.png

7.85 KB | W: | H:

tiles_png/9R/acab_wall.png
tiles_png/9R/acab_wall.png
tiles_png/9R/acab_wall.png
tiles_png/9R/acab_wall.png
  • 2-up
  • Swipe
  • Onion skin
#!/bin/bash
#mazzoo magic \o/
C=/usr/bin/convert
SQRT_N_TILES=7
N_TILES=$(( $SQRT_N_TILES * $SQRT_N_TILES ))
SAT="77" # 00..ff
# one plain solid tile as base for hue sweep below
$C -size 32x32 -background red gradient:"#${SAT}0000"-"#${SAT}0000" red_${SAT}.png
# hue sweep
for y in $(seq 0 $(( $SQRT_N_TILES - 1)) ) ; do
for x in $(seq 0 $(( $SQRT_N_TILES - 1)) ) ; do
t=$(( $x + $y * $SQRT_N_TILES ))
HUE=$(( $t * 200 / $N_TILES ))
echo "hue $HUE tile $t"
$C red_${SAT}.png -modulate 100,100,$HUE gat_${SAT}_${x}_${y}.png
done
done
# append
for l in $(seq 0 $(( $SQRT_N_TILES - 1)) ) ; do
$C +append gat_${SAT}_${l}_*.png line_$l.png
done
$C -append line_*.png sqare_${SAT}.png
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment