From afc4fee8a77c75b4a4e498f6fc13d160718ca79a Mon Sep 17 00:00:00 2001 From: Tonton Th Date: Tue, 7 Jan 2025 14:33:26 +0100 Subject: [PATCH] tuning... --- tools/linkfarmer.sh | 37 ++++++++++++++++++++++++------------- 1 file changed, 24 insertions(+), 13 deletions(-) diff --git a/tools/linkfarmer.sh b/tools/linkfarmer.sh index 6e2b9b0..effac1f 100755 --- a/tools/linkfarmer.sh +++ b/tools/linkfarmer.sh @@ -6,6 +6,7 @@ IDX=0 SPOOL="frames/Spool" SEQNAME="none" TMP="WS/tmp.png" +FONTE="Palatino-Bold" source tools/fonctions.sh @@ -44,7 +45,6 @@ for foo in $(seq 0 $NBRE) do addfile "$SRC/00359.png" done -sync } # ------------------------------------------------------- faire_le_titre () @@ -54,13 +54,14 @@ echo "faire le titre" local NBRE=190 for foo in $(seq 0 $NBRE) do - Ypos=$(( 500 - ( foo / 2 ) )) + Ypos=$(( 210 - ( foo / 2 ) )) convert "WS/negatif.png" \ -gravity north \ - -font Courier-Bold \ - -pointsize 96 \ - -fill white \ - -annotate +0+${Ypos} "HexaCone(s)" \ + -font $FONTE \ + -pointsize 172 \ + -fill black \ + -strokewidth 2 -stroke gray90 \ + -annotate +0+${Ypos} "HexaCone" \ ${TMP} # identify ${TMP} addfile ${TMP} @@ -70,17 +71,23 @@ done faire_la_fin () { local NBRE=120 +datetime=$(LANG=fr date -u) +echo $datetime | tee -a WS/log + for foo in $(seq 0 $NBRE) do Ypos=$(( foo + 100 )) convert "WS/negatif.png" \ -gravity north \ - -font Courier-Bold \ + -font $FONTE \ + -pointsize 86 \ + -fill Black \ + -strokewidth 2 -stroke gray90 \ + -annotate +0+${Ypos} "tTh des Bourtoulots" \ -pointsize 48 \ - -fill white \ - -strokewidth 2 -stroke gray30 \ - -annotate +0+${Ypos} \ - "tTh des Bourtoulots\n2025" \ + -strokewidth 1 \ + -gravity south \ + -annotate +0+170 "${datetime}" \ ${TMP} # identify ${TMP} addfile ${TMP} @@ -88,17 +95,21 @@ done } # ------------------------------------------------------- +figlet "Link farmer" + rm frames/Spool/*.png tools/plot-timing.sh faire_le_titre linkfarm hexabenz -linkfarm orbite +linkfarm escadrille linkfarm topview linkfarm passage linkfarm scene -linkfarm essai +linkfarm orbite + +# linkfarm essai tools/plot-timing.sh faire_la_fin