#######################################################################################################################################
# #
# G E N E R A T I O N D ' U N A U T O M A T E C E L L U L A I R E M O N O D I M E N S I O N N E L #
# Q U A S I - C O N T I N U " I N V E R S E " : #
# #
# #
# Author of '$xiird/.AC1C.5.11.$U' : #
# #
# Jean-Francois Colonna (LACTAMME, 20081126115253). #
# #
#######################################################################################################################################
$Z SformatI
$Z XYmaxNe $NOIR $BLANC $NOIR $BLANC
$Z # Dimensionnement de l'album a generer en {X,Y}. #
$c #include <stdio.h>
$c
$c #define N0 Premiere
$c #define N Derniere
$c
$c #define X0Y30 -1.0
$c #define X0Y3N +1.0
$c
$c int main()
$c {
$c int n;
$c
$c for (n=N0 ; n<=N ; n++)
$c {
$c double X0Y3=((X0Y3N*(n-N0))+(X0Y30*(N-n)))/(N-N0);
$c
$c printf("$xci/PolyCartes_2D$X
$c X0Y1=0
$c X1Y0=0
$c X0Y3=%f
$c standard=FAUX
$c $formatI |
$c $xci/acces$X
$c standard=FAUX zero=FAUX
$c R=$_____FAutoCellB.%04d
$c $formatI\n"
$c ,X0Y3
$c ,n
$c );
$c /* Generation de l'automate cellulaire "inverse"... */
$c }
$c }
$Z RformatI