/[opencvs]/eyes/enlightenment67.txt
ViewVC logotype

Contents of /eyes/enlightenment67.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations)
Tue Feb 2 04:02:35 2016 UTC (2 years, 8 months ago) by hib
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +36 -76 lines
File MIME type: text/plain
added is_image_grey
1 # copied from enlightenment3.txt
2
3
4
5 cd /b/art/2011/enlightenment/source69/common/pics
6 ls | awk '{print "convert " $1 " -type Grayscale ../../../source67_pearl/common/pics/" $1}' | bash
7
8
9
10 # got rid of HOMEB - that was only saving for the hologram being different.
11 # SET -> set of pictures. Normally subset3 now, because that has 1400 fractals.
12 # HOME -> source for alpha, hologram, and base picture. From Common to various sizes.
13 # orifingal : SET and HOME /source
14 # tounge variation - SET to /source_no_acid (more pics) and HOME set to /source_no_acid
15 # standard 16 wide or with border: SET to /source_no_acid and HOME set to /source
16 # old stuff. Now for the new stuff.
17 # modern standard - SET to subset3 and home to source
18 # modern no toung - SET to subset3 and home to source_no_acid
19 # modern amy - SET to subset3 and home to source69
20 # cassis - SET to subset3 and home to sourcecassidi
21
22
23
24 # add 68's extra pictures to the mainstream.
25 # Also increase the pictures to 1024 - minus eyes and tongue.
26 # use doll as standard, not Amy. Because Amy is special.
27 # note - we use list.txt now because there might be duplicates or undesireables in the "list"
28 #also note - the m is twice as big as for enlightenment 68 and 69 so you know.
29 # !* remove g1202 from list.
30
31 #2048
32
33 # This is better than enlightenmnet.txt because
34 # 1. we always do the hologram now.
35 # 2. A border 1 square wide offsets the bigger squares so the eyes and tongue have only one image under them.
36 # 3. the tongue color can also be decided
37 #
38 # This evolutionary version was created for image number 17 of the set.
39
40 # build_final.sh was the old code for this
41 #
42
43 # note - ENlIGHTENMENT_SET is the set of fractals to use
44 # ENLIGHTENMENT_HOME is
45
46 export PATH=$PATH:~/cvs/player/bin
47
48 #Size:
49 # 4800 - old school demos
50 # 2048 - new school demos
51 # 31200 - 43.3333333 inches at 720 dpi
52 # 31680 - 44 inches at 720 dpi/22 inches at 1440 dpi
53 # 63360 - 44 inches at 1440 dpi
54 # 28000 - 23.33333 inches at 1200 dpi
55 # 28800 - 24 inches at 1200 dpi
56 # 33600 - 23.333333 inches at 1440 dpi
57 # 16800 - 23.333333 inches at 720 dpi
58 # 131072 - 8192x8192 - this is for handling the fact that the lines are somewhat off kilter.
59 # 11200 - new size 23.33333 inches at 480 dpi
60 # 14080 29.33333333 incehes ar 480 dpi - for beth, and others!
61 # 19840 42 inches at 480 dpi cause is silk
62 # 7392 - 12.33333 inches at 600 dpi for aj
63 # 20800 - 43.3333333 inches at 480 dpi yo!
64 # 30400 - 63.3333333 inches at 480 dpi - for Mike
65
66 export ENLIGHTENMENT_SIZE=27200
67 # 27200 is 11.3333333 feet square which will give us a good nova effect.
68
69 28800 is the final size
70
71 export ENLIGHTENMENT_SIZE=4800
72 cd
73
74
75 # setup for source and size
76 #export ENLIGHTENMENT_HOME=/t/enlightenment/source
77 # SET is the set for hte squres. HOME and HOMEB- I don't know
78 export ENLIGHTENMENT_SET=/t/enlightenment/source67_pearl
79 export ENLIGHTENMENT_HOME=/t/enlightenment/source67_pearl
80 export MAGICK_TMPDIR=/t/tmp
81 export ENLIGHTENMENT_DOT=`expr $ENLIGHTENMENT_SIZE / 32`
82 # note - we use ENLIGHTENMNET_BIGDOT because we need the double size for accurate eyes and accurate tongue area
83 # m is bigdot size, so compatible with the 16 stuff
84 # and m2 is the smalldot size so compatible with the 32 stuff
85 export ENLIGHTENMENT_BIGDOT=`expr $ENLIGHTENMENT_SIZE / 16`
86 export ENLIGHTENMENT_ROWS=32
87 export ENLIGHTENMENT_COLUMNS=32
88 export ENLIGHTENMENT_SQUARES=`expr $ENLIGHTENMENT_ROWS \* $ENLIGHTENMENT_COLUMNS`
89 export ENLIGHTENMENT_SQUARES_TOTAL=`expr $ENLIGHTENMENT_SQUARES - 9`
90 export ENLIGHTENMENT_SAMPLE_SIZE=$ENLIGHTENMENT_SIZE
91 export ENLIGHTENMENT_SQUARES_MINUS_3=`expr $ENLIGHTENMENT_SQUARES_TOTAL - 3`
92 # ^^^ above did not work so I redid it for the source_no_acid below
93 # left 16 left and down right 16 left and down
94 export ENLIGHTENMENT_LEFT_S=`expr $ENLIGHTENMENT_BIGDOT \* 160 / 300`
95 export ENLIGHTENMENT_LEFT_X=`expr $ENLIGHTENMENT_BIGDOT \* 65 / 300`
96 export ENLIGHTENMENT_LEFT_Y=`expr $ENLIGHTENMENT_BIGDOT \* 36 / 300`
97 export ENLIGHTENMENT_RIGHT_S=`expr $ENLIGHTENMENT_BIGDOT \* 160 / 300`
98 export ENLIGHTENMENT_RIGHT_X=`expr $ENLIGHTENMENT_BIGDOT \* 32 / 300`
99 export ENLIGHTENMENT_RIGHT_Y=`expr $ENLIGHTENMENT_BIGDOT \* 26 / 300`
100 export ENLIGHTENMENT_LSD_S=`expr $ENLIGHTENMENT_BIGDOT \* 133 / 300`
101 export ENLIGHTENMENT_LSD_X=`expr $ENLIGHTENMENT_BIGDOT \* 80 / 300`
102 export ENLIGHTENMENT_LSD_Y=`expr $ENLIGHTENMENT_BIGDOT \* 150 / 300`
103
104
105 # ^^^ set to 131072 to have the squares skewed to the picture
106
107
108
109
110
111 # make a new size:
112 mkdir $ENLIGHTENMENT_SET/$ENLIGHTENMENT_SIZE
113 mkdir $ENLIGHTENMENT_SET/$ENLIGHTENMENT_SIZE/m
114 mkdir $ENLIGHTENMENT_SET/$ENLIGHTENMENT_SIZE/m2
115 mkdir $ENLIGHTENMENT_HOME/$ENLIGHTENMENT_SIZE
116
117 me # can multiply by 6 if want to, but there are multiple lines
118 perl $e/squarethem_32.pl <$ENLIGHTENMENT_SET/common/analysis.txt $ENLIGHTENMENT_DOT 1 m2 | multiproc.sh bash
119 perl $e/squarethem_32.pl <$ENLIGHTENMENT_SET/common/analysis.txt $ENLIGHTENMENT_BIGDOT 1 m | multiproc.sh bash
120
121
122
123
124
125 # new code: to make the squares accurate witht eh performations.
126 perl $e/enl_box_range.pl > $ENLIGHTENMENT_HOME/$ENLIGHTENMENT_SIZE/box_range.txt
127
128 #new way:
129 echo $ENLIGHTENMENT_HOME/common/base18k.bmp | \
130 enlightenment_straighten /t/enlightenment/source/18000/box_range.txt $ENLIGHTENMENT_SIZE 0 0 $ENLIGHTENMENT_SIZE $ENLIGHTENMENT_SIZE \
131 >$ENLIGHTENMENT_HOME/$ENLIGHTENMENT_SIZE/base.txt
132 #echo $ENLIGHTENMENT_HOME/common/08_alpha_guassian.png | \
133 # enlightenment_straighten /t/enlightenment/source/18000/box_range.txt $ENLIGHTENMENT_SIZE 0 0 $ENLIGHTENMENT_SIZE $ENLIGHTENMENT_SIZE \
134 # >$ENLIGHTENMENT_HOME/$ENLIGHTENMENT_SIZE/alpha_hologram.txt
135 echo $ENLIGHTENMENT_HOME/common/alpha_hologram.png | \
136 enlightenment_straighten /t/enlightenment/source/common/box_range4800.txt $ENLIGHTENMENT_SIZE 0 0 $ENLIGHTENMENT_SIZE $ENLIGHTENMENT_SIZE \
137 >$ENLIGHTENMENT_HOME/$ENLIGHTENMENT_SIZE/alpha_hologram.txt
138
139 perl $e/enl_4800_to_x.pl </t/enlightenment/source/4800/enl_source.txt $ENLIGHTENMENT_SIZE >$ENLIGHTENMENT_HOME/$ENLIGHTENMENT_SIZE/enl_source.txt
140
141 # for 4800x4800 build_greya enl_source.txt 4 4800 4800 480 480 0 4800 0 4800 convert $ENLIGHTENMENT_HOME/$ENLIGHTENMENT_SIZE/hologram.bmp
142
143 build_greya enl_source.txt 4 4800 4800 200 200 0 4800 0 4800 | convert txt: l0.png &
144
145 cd $ENLIGHTENMENT_HOME/$ENLIGHTENMENT_SIZE
146 build_greya enl_source.txt 4 27200 27200 200 200 0 27200 0 3000 | convert txt: l0.png &
147 build_greya enl_source.txt 4 27200 27200 200 200 0 27200 3000 6000 | convert txt: l1.png &
148 build_greya enl_source.txt 4 27200 27200 200 200 0 27200 6000 9000 | convert txt: l2.png &
149 build_greya enl_source.txt 4 27200 27200 200 200 0 27200 9000 12000 | convert txt: l3.png &
150 build_greya enl_source.txt 4 27200 27200 200 200 0 27200 12000 16000 | convert txt: l4.png &
151 build_greya enl_source.txt 4 27200 27200 200 200 0 27200 16000 20000 | convert txt: l5.png &
152 build_greya enl_source.txt 4 27200 27200 200 200 0 27200 20000 24000 | convert txt: l6.png &
153 build_greya enl_source.txt 4 27200 27200 200 200 0 27200 24000 27200 | convert txt: l7.png &
154 wait
155
156 convert -limit memory 6000000000 -limit map 6000000000 l0.png l1.png l2.png l3.png l4.png l5.png l6.png l7.png \
157 -append $ENLIGHTENMENT_HOME/$ENLIGHTENMENT_SIZE/hologram.bmp
158
159 #bash $e/analyze_fast_image.sh $ENLIGHTENMENT_HOME/$ENLIGHTENMENT_SIZE/hologram.bmp >$ENLIGHTENMENT_HOME/$ENLIGHTENMENT_SIZE/hologram.txt
160 bash $e/analyze_source_image.sh $ENLIGHTENMENT_HOME/$ENLIGHTENMENT_SIZE/hologram.bmp >$ENLIGHTENMENT_HOME/$ENLIGHTENMENT_SIZE/hologram.txt
161
162
163
164
165
166
167
168
169
170
171
172
173 # eye color specific
174 # make templates
175 cd /t/enlightenment/.../build
176 export MAGICK_TMPDIR=/t/tmp
177
178 #Nicole
179
180
181 export EYE_COLOR=violet
182 export TONGUE_COLOR=multi
183 export SEED=333333333
184 export POS=0
185 echo $SEED >seed.txt
186 # note - karl did not have the sort
187
188
189
190
191
192 #izzy
193 export EYE_COLOR=cyan
194 export EYE_COLOR2=$EYE_COLOR
195 export EYE_COLOR3=$EYE_COLOR
196 export TONGUE_COLOR=multi
197 export SEED=44
198 export POS=0
199 echo $SEED >seed.txt
200
201 #aj
202 export EYE_COLOR=blue
203 export EYE_COLOR2=$EYE_COLOR
204
205 export EYE_COLOR3=$EYE_COLOR
206 export TONGUE_COLOR=purple
207 export SEED=909090909
208 export POS=0
209 echo $SEED >seed.txt
210
211 #hayden
212 export EYE_COLOR=green
213 export EYE_COLOR2=$EYE_COLOR
214 export EYE_COLOR3=$EYE_COLOR
215 export TONGUE_COLOR=blue
216 export SEED=88888888
217 export POS=0
218 echo $SEED >seed.txt
219
220
221
222 # pearl
223 export EYE_COLOR=all
224 export EYE_COLOR2=$EYE_COLOR
225 export EYE_COLOR3=$EYE_COLOR
226 export TONGUE_COLOR=all
227 export SEED=9696969
228 export POS=0
229 echo $SEED >seed.txt
230
231 for i in `seq 1 20`
232 do
233
234
235
236 #specific_pickvv
237
238 awk < $ENLIGHTENMENT_SET/common/list.txt '{print "'$ENLIGHTENMENT_SET/$ENLIGHTENMENT_SAMPLE_SIZE/m2/'" $0}' | \
239 randomize $SEED | head -$ENLIGHTENMENT_SQUARES >set$POS.txt
240
241 {
242 rm 2>/dev/null >/dev/null p$POS.txt lsd$POS.png rta$POS.png lea$POS.png
243 mknod p$POS.txt p
244 enlightenment_montage_32 <set$POS.txt $ENLIGHTENMENT_SIZE 0 0 $ENLIGHTENMENT_SIZE $ENLIGHTENMENT_SIZE >p$POS".txt" &
245
246
247 randomify $ENLIGHTENMENT_SIZE $ENLIGHTENMENT_SIZE $SEED $ENLIGHTENMENT_HOME/$ENLIGHTENMENT_SIZE/base.txt \
248 p$POS.txt $ENLIGHTENMENT_HOME/$ENLIGHTENMENT_SIZE/alpha_hologram.txt $ENLIGHTENMENT_HOME/$ENLIGHTENMENT_SIZE/hologram.txt \
249 | convert txt: holo_pixeled$POS"".png &
250
251 } &
252
253
254 export SEED=`expr $SEED + 1000000`
255 export POS=`expr $POS + 1`
256
257
258 if [ $(($i%6)) == 0 ]
259 then
260 echo "Waiting to catch up $i"
261 wait
262 fi
263
264 done
265 wait
266
267
268
269
270
271 # Qi she variant - to put image on left shoulder
272 # convert source/qi2.png -resize 1980x1980 source/qi_bigger.png
273 # me +170 set9.txt
274 # Change to
275 # /t/enlightenment/038_qi_she/source/qi_bigger.png
276
277
278
279 convert holo_pixeled0.png -resize '50%x50%' h0.png
280 convert holo_pixeled1.png -resize '50%x50%' h1.png
281 convert holo_pixeled2.png -resize '50%x50%' h2.png
282 convert holo_pixeled3.png -resize '50%x50%' h3.png
283 convert holo_pixeled4.png -resize '50%x50%' h4.png
284 convert holo_pixeled5.png -resize '50%x50%' h5.png
285 convert holo_pixeled6.png -resize '50%x50%' h6.png
286 convert holo_pixeled7.png -resize '50%x50%' h7.png
287 convert holo_pixeled8.png -resize '50%x50%' h8.png
288 convert holo_pixeled9.png -resize '50%x50%' h9.png
289
290 convert holo_pixeled10.png -resize '50%x50%' h10.png
291 convert holo_pixeled11.png -resize '50%x50%' h11.png
292 convert holo_pixeled12.png -resize '50%x50%' h12.png
293 convert holo_pixeled13.png -resize '50%x50%' h13.png
294 convert holo_pixeled14.png -resize '50%x50%' h14.png
295 convert holo_pixeled15.png -resize '50%x50%' h15.png
296 convert holo_pixeled16.png -resize '50%x50%' h16.png
297 convert holo_pixeled17.png -resize '50%x50%' h17.png
298 convert holo_pixeled18.png -resize '50%x50%' h18.png
299 convert holo_pixeled19.png -resize '50%x50%' h19.png
300 convert holo_pixeled20.png -resize '50%x50%' h20.png
301
302
303
304
305
306 convert holo_pixeled0.png -resize '25%x25%' h0.png
307 convert holo_pixeled1.png -resize '25%x25%' h1.png
308 convert holo_pixeled2.png -resize '25%x25%' h2.png
309 convert holo_pixeled3.png -resize '25%x25%' h3.png
310 convert holo_pixeled4.png -resize '25%x25%' h4.png
311 convert holo_pixeled5.png -resize '25%x25%' h5.png
312 convert holo_pixeled6.png -resize '25%x25%' h6.png
313 convert holo_pixeled7.png -resize '25%x25%' h7.png
314 convert holo_pixeled8.png -resize '25%x25%' h8.png
315 convert holo_pixeled9.png -resize '25%x25%' h9.png
316
317 convert holo_pixeled10.png -resize '25%x25%' h10.png
318 convert holo_pixeled11.png -resize '25%x25%' h11.png
319 convert holo_pixeled12.png -resize '25%x25%' h12.png
320 convert holo_pixeled13.png -resize '25%x25%' h13.png
321 convert holo_pixeled14.png -resize '25%x25%' h14.png
322 convert holo_pixeled15.png -resize '25%x25%' h15.png
323 convert holo_pixeled16.png -resize '25%x25%' h16.png
324 convert holo_pixeled17.png -resize '25%x25%' h17.png
325 convert holo_pixeled18.png -resize '25%x25%' h18.png
326 convert holo_pixeled19.png -resize '25%x25%' h19.png
327 convert holo_pixeled20.png -resize '25%x25%' h20.png
328
329 scp -P 26 h[0-9].png h1[0-9].png hib@killercool.com:
330
331 # FINAL
332 # then the final - set the size to be the big final size and
333 #export SEED=`expr $SEED + ?000000`
334 #export POS=?
335
336
337
338
339
340
341
342 #Then edit font_bottom.sh to add the bottom text
343
344
345
346
347
348
349 # signing it
350 {
351 echo >title.txt '
352 Document of title.
353
354 This document certifies that the digital piece "Enlightenment First Edition 46/69 created as of 7/8/2015
355 is authentic.
356
357 Here is the documentation that describes this digital artwork:
358
359
360
361 '
362
363
364 echo "identity" `/usr/local/bin/identity_of_file *.png` >>title.txt
365
366 gpg --print-md '*' *.png >>title.txt
367 }
368 unix2dos <title.txt >t2.txt
369 mv t2.txt title.txt
370
371 #As user chamelion:
372 gpg --export -a chamelion >chamelion.key
373 gpg --detach-sign title.txt
374 gpg --detach-sign *.png
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396 # special - adding new images to the fray.
397 cd /b/art/2011/enlightenment/source_no_acid/common/newerpics/outbox/batch1
398 # make everything a png
399 mkdir png
400 mkdir other
401 mv *.png png
402
403 # make sure no spaces if filenames
404 ls | grep ' '
405 # should be no - rename if not
406 ls *.*.*
407 # should be no - rename if not
408
409 for i in $(ls *.jpg | awk -F "." '{print $1}'); do convert $i.jpg png/$i.png;mv $i.jpg other ; done
410 for i in $(ls *.JPG | awk -F "." '{print $1}'); do convert $i.JPG png/$i.png;mv $i.JPG other ; done
411 for i in $(ls *.jpeg | awk -F "." '{print $1}'); do convert $i.jpeg png/$i.png;mv $i.jpeg other ; done
412 for i in $(ls *.gif | awk -F "." '{print $1}'); do convert $i.gif png/$i.png;mv $i.gif other ; done
413 cd png
414 bash compute_all_averages.sh >../analysis_batch2.txt
415 for i in $(ls *.png); do ln $i ../../../../pics ; done
416
417 # neet to cpy analysis.txt so we know what to use it for and such
418
419 cp ../analysis_batch2.txt ../../../..
420 cd /b/art/2011/enlightenment/source_no_acid/common
421 cat >>analysis.txt analysis_batch2.txt
422
423 #??? compute the images for analysis
424 # assume other env vars are set
425 export MAGICK_TMPDIR=/t/tmp
426 export ENLIGHTENMENT_SET=/t/enlightenment/source_no_acid
427
428 export ENLIGHTENMENT_SIZE=11200
429 export ENLIGHTENMENT_DOT=`expr $ENLIGHTENMENT_SIZE / 16`
430 perl $e/squarethem.pl <$ENLIGHTENMENT_SET/common/analysis_batch2.txt $ENLIGHTENMENT_DOT 718 | bash multiproc.sh bash
431
432 export ENLIGHTENMENT_SIZE=16800
433 export ENLIGHTENMENT_DOT=`expr $ENLIGHTENMENT_SIZE / 16`
434 perl $e/squarethem.pl <$ENLIGHTENMENT_SET/common/analysis_batch2.txt $ENLIGHTENMENT_DOT 718 | bash multiproc.sh bash
435
436 export ENLIGHTENMENT_SIZE=17280
437 export ENLIGHTENMENT_DOT=`expr $ENLIGHTENMENT_SIZE / 16`
438 perl $e/squarethem.pl <$ENLIGHTENMENT_SET/common/analysis_batch2.txt $ENLIGHTENMENT_DOT 718 | bash multiproc.sh bash
439
440
441 export ENLIGHTENMENT_SIZE=2048
442 export ENLIGHTENMENT_DOT=`expr $ENLIGHTENMENT_SIZE / 16`
443 perl $e/squarethem.pl <$ENLIGHTENMENT_SET/common/analysis_batch2.txt $ENLIGHTENMENT_DOT 718 | bash multiproc.sh bash
444
445 export ENLIGHTENMENT_SIZE=28000
446 export ENLIGHTENMENT_DOT=`expr $ENLIGHTENMENT_SIZE / 16`
447 perl $e/squarethem.pl <$ENLIGHTENMENT_SET/common/analysis_batch2.txt $ENLIGHTENMENT_DOT 718 | bash multiproc.sh bash
448
449 export ENLIGHTENMENT_SIZE=31200
450 export ENLIGHTENMENT_DOT=`expr $ENLIGHTENMENT_SIZE / 16`
451 perl $e/squarethem.pl <$ENLIGHTENMENT_SET/common/analysis_batch2.txt $ENLIGHTENMENT_DOT 718 | bash multiproc.sh bash
452
453 export ENLIGHTENMENT_SIZE=33600
454 export ENLIGHTENMENT_DOT=`expr $ENLIGHTENMENT_SIZE / 16`
455 perl $e/squarethem.pl <$ENLIGHTENMENT_SET/common/analysis_batch2.txt $ENLIGHTENMENT_DOT 718 | bash multiproc.sh bash
456
457 export ENLIGHTENMENT_SIZE=4800
458 export ENLIGHTENMENT_DOT=`expr $ENLIGHTENMENT_SIZE / 16`
459 perl $e/squarethem.pl <$ENLIGHTENMENT_SET/common/analysis_batch2.txt $ENLIGHTENMENT_DOT 718 | bash multiproc.sh bash
460
461 # then add the new colors to the text fields
462 perl -e 'for ($i = 718;$i<1385;$i++) { print "g$i.bmp\n" } ' >list_batch2.txt
463 edit it for l1 l2 ???
464 awk <list_batch2.txt '{print $1, $2; if ($3 != "") print $1, $3; if ($4 != "") print $1, $4}' >l
465 mv l list_batch2.txt
466
467
468 # verify that there are no spelling mistakes
469 awk <list_batch2.txt '{print $2}' | sort -u
470
471
472
473 # add to the files
474 awk <list_batch2.txt '{print "echo >>" $2 ".txt " $1}' | bash
475
476
477
478
479 time convert +append left.png holo_pixeled0.png right.png f1.png
480 time convert -append top.png f1.png bottom.png ../067_pearl_ship.png

  ViewVC Help
Powered by ViewVC 1.1.5