Compare commits

..

No commits in common. "2ed567a33ca481a08b20384321b94ce1c121bbf0" and "a60281b684f3d9c2880d66df0310b5d80fba2f50" have entirely different histories.

3 changed files with 38 additions and 57 deletions

View File

@ -80,8 +80,8 @@ height_field {
#declare Repere = object #declare Repere = object
{ {
union { union {
cylinder { 0, <1, 0, 0>, 0.008 pigment { color Red } } cylinder { 0, <1, 0, 0>, 0.007 pigment { color Red } }
cylinder { 0, <0, 0, 1>, 0.008 pigment { color Blue } } cylinder { 0, <0, 0, 1>, 0.007 pigment { color Blue } }
} }
} }

View File

@ -1,6 +1,6 @@
/* /*
* H E X A C O N E - E S S A I * H E X A C O N E - E S S A I
* nouveau projet du Thu Dec 5 11:37:05 AM UTC 2024 * nouveau projet Thu Dec 5 11:37:05 AM UTC 2024
*/ */
#version 3.7; #version 3.7;
@ -15,47 +15,39 @@
#declare NormClock = clock / 360.0; #declare NormClock = clock / 360.0;
#include "contexte.inc" #include "contexte.inc"
#include "elements.inc" #include "elements.inc"
#include "hexabenz.inc"
// ======================================================= // =======================================================
#macro Bubble ()
sphere { object {
0, 0.10 HexaBlob
#if ( rand(Rng1) < 0.5 ) pigment { color Cyan } #local SC = 1.71 + 0.5 * abs(sin(NormClock * 3 * 3.14159));
#else pigment { color Magenta } texture { T_Stone26
#end scale SC
translate 3*y*NormClock
} }
#end translate < 0, 1, 0>
#macro Un_Machin ()
union {
#for (Y, -8, 8, 2)
object { Bubble() translate y*Y*0.1 }
#end
} }
#end
#declare Les_Machins = object
{
union {
#for (X, -7, 7)
object { Un_Machin() translate x*X*0.6 }
#end
}
}
object { Les_Machins }
// object { Le_Decor }
// object { Repere } // object { Repere }
#if (0)
object { HexaBalls
#local SC = 0.18 + abs(sin(NormClock * 4 * 3.14159));
texture { Lightning2 scale SC }
translate <-0.80, 1, 0> }
#end
// ======================================================= // =======================================================
light_source { <-8, 7, -9>, rgb <0.81, 0.65, NormClock> } light_source { <-8, 7, -9>, rgb <0.81, 0.65, NormClock> }
// light_source { <-11, 7, 9>, rgb <0.31, NormClock, 0.80> }
light_source { < 11, 7, 4>, rgb <1-NormClock, 0.28, 0.80> } light_source { < 11, 7, 4>, rgb <1-NormClock, 0.28, 0.80> }
camera { camera {
location <-10.7+4*NormClock, 2.81, 8.09> location <-0.7+NormClock, 1.81, 2.09>
look_at <0.0, 0.0, 0> look_at <0.0, 1.0, 0>
angle 44 angle 54
} }

View File

@ -6,7 +6,6 @@ IDX=0
SPOOL="frames/Spool" SPOOL="frames/Spool"
SEQNAME="none" SEQNAME="none"
TMP="WS/tmp.png" TMP="WS/tmp.png"
FONTE="Palatino-Bold"
source tools/fonctions.sh source tools/fonctions.sh
@ -45,6 +44,7 @@ for foo in $(seq 0 $NBRE)
do do
addfile "$SRC/00359.png" addfile "$SRC/00359.png"
done done
sync
} }
# ------------------------------------------------------- # -------------------------------------------------------
faire_le_titre () faire_le_titre ()
@ -54,14 +54,13 @@ echo "faire le titre"
local NBRE=190 local NBRE=190
for foo in $(seq 0 $NBRE) for foo in $(seq 0 $NBRE)
do do
Ypos=$(( 210 - ( foo / 2 ) )) Ypos=$(( 500 - ( foo / 2 ) ))
convert "WS/negatif.png" \ convert "WS/negatif.png" \
-gravity north \ -gravity north \
-font $FONTE \ -font Courier-Bold \
-pointsize 172 \ -pointsize 96 \
-fill black \ -fill white \
-strokewidth 2 -stroke gray90 \ -annotate +0+${Ypos} "HexaCone(s)" \
-annotate +0+${Ypos} "HexaCone" \
${TMP} ${TMP}
# identify ${TMP} # identify ${TMP}
addfile ${TMP} addfile ${TMP}
@ -71,23 +70,17 @@ done
faire_la_fin () faire_la_fin ()
{ {
local NBRE=120 local NBRE=120
datetime=$(LANG=fr date -u)
echo $datetime | tee -a WS/log
for foo in $(seq 0 $NBRE) for foo in $(seq 0 $NBRE)
do do
Ypos=$(( foo + 100 )) Ypos=$(( foo + 100 ))
convert "WS/negatif.png" \ convert "WS/negatif.png" \
-gravity north \ -gravity north \
-font $FONTE \ -font Courier-Bold \
-pointsize 86 \
-fill Black \
-strokewidth 2 -stroke gray90 \
-annotate +0+${Ypos} "tTh des Bourtoulots" \
-pointsize 48 \ -pointsize 48 \
-strokewidth 1 \ -fill white \
-gravity south \ -strokewidth 2 -stroke gray30 \
-annotate +0+170 "${datetime}" \ -annotate +0+${Ypos} \
"tTh des Bourtoulots\n2025" \
${TMP} ${TMP}
# identify ${TMP} # identify ${TMP}
addfile ${TMP} addfile ${TMP}
@ -95,21 +88,17 @@ done
} }
# ------------------------------------------------------- # -------------------------------------------------------
figlet "Link farmer"
rm frames/Spool/*.png rm frames/Spool/*.png
tools/plot-timing.sh tools/plot-timing.sh
faire_le_titre faire_le_titre
linkfarm hexabenz linkfarm hexabenz
linkfarm escadrille linkfarm orbite
linkfarm topview linkfarm topview
linkfarm passage linkfarm passage
linkfarm scene linkfarm scene
linkfarm orbite linkfarm essai
# linkfarm essai
tools/plot-timing.sh tools/plot-timing.sh
faire_la_fin faire_la_fin