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

Contents of /eyes/japan.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations)
Tue Jul 24 10:18:46 2012 UTC (6 years, 3 months ago) by hib
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +112 -2 lines
File MIME type: text/plain
cleanup
1
2 1. make a heart at 15840x15840 using windows 7 ms paint binary - this is heart15840.bmp
3 2. rotate 90 degrees to the right using gimp or something
4
5
6 export MAGICK_TMPDIR=/t/tmp
7 export TMP=/t/tmp
8 export TMP2=/t/tmp
9
10
11 rm 2>/dev/null h.txt
12 mknod h.txt p
13
14 convert heart15840.bmp h.txt &
15 grep -v white <h.txt | analyze_source_image_filter >dots.txt
16
17 So dots should be workable by our field tools - we then convert this to a list of points - 44 inches out
18 or maybee 33 inches out. Have the phase change 7 times the pixel size in the X, and 11 times in the y - or something like that
19 and then with tehse points, we can generate a section of the image.
20
21
22
23 Then we can generate some dark red - color 192 64 64 with a range of 64 looks pretty good. But it is worth playing around with it.
24
25 Maybee range 96?
26
27 Then somehow convert the square ( which is 38016 pixels) to a circle (which is 38016 pixels in diameter.
28
29 then give the image to Kevin at Ross imaging.
30
31 The heart will probably be green - or maybee the yellow color of our cone - Green would be rejected better depending on the color.
32
33
34
35
36
37 OK next:
38
39 perl $e/points_to_hologram_vectors.pl <dots.txt >heart_hologram.txt
40
41 perl $e/japan_blocks.pl >/tmp/a
42 flip_flop </tmp/a >oj1 2>oj2 3>oj3 4>oj4 5>oj5 6>oj6 6
43 nohup bash oj1 >oj1.log 2>&1 &
44 nohup bash oj2 >oj2.log 2>&1 &
45 nohup bash oj3 >oj3.log 2>&1 &
46 nohup bash oj4 >oj4.log 2>&1 &
47 nohup bash oj5 >oj5.log 2>&1 &
48 nohup bash oj6 >oj6.log 2>&1 &
49
50
51 u is current cpu.
52 Wait 36 days.
53
54 Then copy everything from both machiens into v
55
56 Then lets rotate it so it is easier to montage
57
58 cd v
59 find . -name '*.png' -print | awk '{print "convert " $1 " -rotate 270 ../w/" $1 } ' | bash
60
61 cd ..
62
63
64
65
66
67
68 time montage w/es_026*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_00.png &
69 time montage w/es_025*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_01.png &
70 time montage w/es_024*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_02.png &
71 time montage w/es_023*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_03.png &
72 time montage w/es_022*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_04.png &
73 time montage w/es_021*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_05.png &
74 time montage w/es_020*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_06.png &
75 wait
76 time montage w/es_019*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_07.png &
77 time montage w/es_018*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_08.png &
78 time montage w/es_017*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_09.png &
79 time montage w/es_016*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_10.png &
80 time montage w/es_015*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_11.png &
81 time montage w/es_014*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_12.png &
82 wait
83 time montage w/es_013*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_13.png &
84 time montage w/es_012*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_14.png &
85 time montage w/es_011*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_15.png &
86 time montage w/es_010*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_16.png &
87 time montage w/es_009*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_17.png &
88 time montage w/es_008*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_18.png &
89 wait
90 time montage w/es_007*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_19.png &
91 time montage w/es_006*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_20.png &
92 time montage w/es_005*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_21.png &
93 time montage w/es_004*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_22.png &
94 time montage w/es_003*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_23.png &
95 time montage w/es_002*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_24.png &
96 wait
97 time montage w/es_001*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_25.png &
98 time montage w/es_000*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_26.png &
99 wait
100
101
102
103 time montage -limit memory 5000000000 -limit map 5000000000 ww/strip*.png -geometry 38880x1440+0+0 -tile 1x27 raw_27_x_27.png &
104 #time montage --enable-openmp ww/strip*.png -geometry 38880x1440+0+0 -tile 1x27 raw_27_x_27.png &
105
106 61 minutes
107
108 608 pixels will be clipped off the front
109
110 convert w/es_000_013*.png -gravity northeast -crop 832x0+0+0 u.bmp
111
112 832 - 1440 - 608
113
114
115
116 time analyze_source_image.sh raw_27_x_27.png > raw_27_x_27.txt
117
118 # note - encirculate has parameters now
119 time encirculate 38272 19136 19136 <raw_27_x_27.txt | convert txt: ship/disk_full.png
120 time encirculate_bw <raw_27_x_27.txt | convert txt: ship/bwdisk_full.png
121 time encirculate_bbw <raw_27_x_27.txt | convert txt: -depth 1 ship/bbwdisk_full.png
122 time encirculate_grey <raw_27_x_27.txt | convert txt: -depth 1 ship/greydisk_full.png
123 time encirculate_yellow_magenta <raw_27_x_27.txt | convert txt: ship/yellow_magenta_disk_full.png
124
125 time rgbify <raw_27_x_27.txt | convert txt: ship/rgb_full.png
126
127
128 time convert ship/disk_full.png -resize "2560x1600" ship/disk_2560_x_1600.png
129 time convert ship/bwdisk_full.png -resize "2560x1600" ship/bwdisk_2560_x_1600.png
130 time convert ship/disk_full.png -resize "1600x1200" ship/disk_1600_x_1200.png
131 time convert ship/bwdisk_full.png -resize "1600x1200" ship/bwdisk_1600_x_1200.png
132 time convert ship/disk_full.png -resize "1920x1080" ship/disk_1920_x_1080.png
133 time convert ship/bwdisk_full.png -resize "1920x1080" ship/bwdisk_1920_x_1080.png
134
135 time convert -limit memory 5000000000 -limit map 5000000000 ship/disk_full.png -bordercolor white -border 28384x12544 ship/flag_full.png
136 time convert -limit memory 5000000000 -limit map 5000000000
137 ship/bwdisk_full.png -bordercolor white -border 28384x12544 ship/bwflag_full.png
138
139 time convert -limit memory 5000000000 -limit map 5000000000 ship/flag_full.png -rotate 270 ship/flag_full_rotate.png
140 time convert -limit memory 5000000000 -limit map 5000000000 ship/bwflag_full.png -rotate 270 ship/bwflag_full_rotate.png
141
142 time convert ship/disk_full.png -rotate 270 ship/disk_full_rotate.png
143 time convert ship/bwdisk_full.png -rotate 270 ship/bwdisk_full_rotate.png
144
145
146
147
148 To show it off on an 8 1/2 by 11
149 time convert cooked_6600_x_6600.png -crop 4800x6600+847+0 cooked_4800_6600.bmp
150 convert cooked_4800_6600.bmp -depth 1 cooked_4800_6600_d1.bmp
151
152
153
154 To show it off as bigger pieces:
155 time convert ship/greydisk_full.png -crop 12228x9600 +repage rprint/split%02d.png
156 convert rprint/grey07.png -background white -extent 12228x9600 rprint/grey07b.png
157 convert rprint/grey11.png -background white -extent 12228x9600 rprint/grey11b.png
158 convert rprint/grey12.png -background white -extent 12228x9600 rprint/grey12b.png
159 convert rprint/grey13.png -background white -extent 12228x9600 rprint/grey13b.png
160 convert rprint/grey14.png -background white -extent 12228x9600 rprint/grey14b.png
161
162 time convert ship/yellow_magenta_disk_full.png -crop 12228x9600 +repage rprint/ym%02d.png
163 convert rprint/ym07.png -background white -extent 12228x9600 rprint/ym07b.png
164 convert rprint/ym11.png -background white -extent 12228x9600 rprint/ym11b.png
165 convert rprint/ym12.png -background white -extent 12228x9600 rprint/ym12b.png
166 convert rprint/ym13.png -background white -extent 12228x9600 rprint/ym13b.png
167 convert rprint/ym14.png -background white -extent 12228x9600 rprint/ym14b.png
168
169 time convert ship/yellow_purple_full.png -crop 12228x9600 +repage rprint/yp%02d.png
170 convert rprint/yp07.png -background white -extent 12228x9600 rprint/yp07b.png
171 convert rprint/yp11.png -background white -extent 12228x9600 rprint/yp11b.png
172 convert rprint/yp12.png -background white -extent 12228x9600 rprint/yp12b.png
173 convert rprint/yp13.png -background white -extent 12228x9600 rprint/yp13b.png
174 convert rprint/yp14.png -background white -extent 12228x9600 rprint/yp14b.png
175
176
177
178
179
180 NEW: make every_other to reduce the size to 50% without loosing quality
181
182 Miniature edition
183 We will make multiple disks at different places.
184
185 time encirculate 19136 19136 9568 <raw_27_x_27.txt | convert txt: ship/mini_01_disk.png
186 time encirculate 19136 19136 25385 <raw_27_x_27.txt | convert txt: ship/mini_02_disk.png
187 time encirculate 19136 19136 10458 <raw_27_x_27.txt | convert txt: ship/mini_03_disk.png
188
189 time encirculate 19136 19136 12482 <raw_27_x_27.txt | convert txt: ship/mini_04_disk.png
190 time encirculate 19136 19136 15771 <raw_27_x_27.txt | convert txt: ship/mini_05_disk.png
191 time encirculate 19136 19136 17542 <raw_27_x_27.txt | convert txt: ship/mini_06_disk.png
192 time encirculate 19136 19136 24626 <raw_27_x_27.txt | convert txt: ship/mini_07_disk.png
193 time encirculate 19136 19136 22855 <raw_27_x_27.txt | convert txt: ship/mini_08_disk.png
194 time encirculate 19136 19136 26144 <raw_27_x_27.txt | convert txt: ship/mini_09_disk.png
195 time encirculate 19136 19136 14253 <raw_27_x_27.txt | convert txt: ship/mini_10_disk.png
196 time encirculate 19136 19136 12988 <raw_27_x_27.txt | convert txt: ship/mini_11_disk.png
197 time encirculate 19136 19136 21337 <raw_27_x_27.txt | convert txt: ship/mini_12_disk.png
198 time encirculate 19136 19136 11470 <raw_27_x_27.txt | convert txt: ship/mini_13_disk.png
199 time encirculate 19136 19136 19819 <raw_27_x_27.txt | convert txt: ship/mini_14_disk.png
200 time encirculate 19136 19136 28674 <raw_27_x_27.txt | convert txt: ship/mini_15_disk.png
201 time encirculate 19136 19136 13241 <raw_27_x_27.txt | convert txt: ship/mini_16_disk.png
202 time encirculate 19136 19136 27915 <raw_27_x_27.txt | convert txt: ship/mini_17_disk.png
203 time encirculate 19136 19136 25638 <raw_27_x_27.txt | convert txt: ship/mini_18_disk.png
204 time encirculate 19136 19136 18301 <raw_27_x_27.txt | convert txt: ship/mini_19_disk.png
205 time encirculate 19136 19136 18048 <raw_27_x_27.txt | convert txt: ship/mini_20_disk.png
206 time encirculate 19136 19136 26903 <raw_27_x_27.txt | convert txt: ship/mini_21_disk.png
207 time encirculate 19136 19136 11976 <raw_27_x_27.txt | convert txt: ship/mini_22_disk.png
208 time encirculate 19136 19136 24120 <raw_27_x_27.txt | convert txt: ship/mini_23_disk.png
209 time encirculate 19136 19136 18807 <raw_27_x_27.txt | convert txt: ship/mini_24_disk.png
210 time encirculate 19136 19136 23361 <raw_27_x_27.txt | convert txt: ship/mini_25_disk.png
211 time encirculate 19136 19136 16024 <raw_27_x_27.txt | convert txt: ship/mini_26_disk.png
212 time encirculate 19136 19136 27409 <raw_27_x_27.txt | convert txt: ship/mini_27_disk.png
213 time encirculate 19136 19136 22602 <raw_27_x_27.txt | convert txt: ship/mini_28_disk.png
214 time encirculate 19136 19136 13747 <raw_27_x_27.txt | convert txt: ship/mini_29_disk.png
215 time encirculate 19136 19136 28421 <raw_27_x_27.txt | convert txt: ship/mini_30_disk.png
216 time encirculate 19136 19136 21084 <raw_27_x_27.txt | convert txt: ship/mini_31_disk.png
217 time encirculate 19136 19136 15012 <raw_27_x_27.txt | convert txt: ship/mini_32_disk.png
218 time encirculate 19136 19136 15518 <raw_27_x_27.txt | convert txt: ship/mini_33_disk.png
219 time encirculate 19136 19136 27156 <raw_27_x_27.txt | convert txt: ship/mini_34_disk.png
220 time encirculate 19136 19136 19566 <raw_27_x_27.txt | convert txt: ship/mini_35_disk.png
221 time encirculate 19136 19136 28168 <raw_27_x_27.txt | convert txt: ship/mini_36_disk.png
222 time encirculate 19136 19136 9699 <raw_27_x_27.txt | convert txt: ship/mini_37_disk.png
223 time encirculate 19136 19136 10711 <raw_27_x_27.txt | convert txt: ship/mini_38_disk.png
224 time encirculate 19136 19136 20578 <raw_27_x_27.txt | convert txt: ship/mini_39_disk.png
225 time encirculate 19136 19136 11723 <raw_27_x_27.txt | convert txt: ship/mini_40_disk.png
226 time encirculate 19136 19136 20325 <raw_27_x_27.txt | convert txt: ship/mini_41_disk.png
227 time encirculate 19136 19136 12229 <raw_27_x_27.txt | convert txt: ship/mini_42_disk.png
228 time encirculate 19136 19136 23614 <raw_27_x_27.txt | convert txt: ship/mini_43_disk.png
229 time encirculate 19136 19136 20831 <raw_27_x_27.txt | convert txt: ship/mini_44_disk.png
230 time encirculate 19136 19136 10205 <raw_27_x_27.txt | convert txt: ship/mini_45_disk.png
231 time encirculate 19136 19136 21843 <raw_27_x_27.txt | convert txt: ship/mini_46_disk.png
232 time encirculate 19136 19136 27662 <raw_27_x_27.txt | convert txt: ship/mini_47_disk.png
233 time encirculate 19136 19136 16783 <raw_27_x_27.txt | convert txt: ship/mini_48_disk.png
234 time encirculate 19136 19136 13494 <raw_27_x_27.txt | convert txt: ship/mini_49_disk.png
235 time encirculate 19136 19136 10964 <raw_27_x_27.txt | convert txt: ship/mini_50_disk.png
236 time encirculate 19136 19136 14759 <raw_27_x_27.txt | convert txt: ship/mini_51_disk.png
237 time encirculate 19136 19136 22349 <raw_27_x_27.txt | convert txt: ship/mini_52_disk.png
238 time encirculate 19136 19136 20072 <raw_27_x_27.txt | convert txt: ship/mini_53_disk.png
239 time encirculate 19136 19136 12735 <raw_27_x_27.txt | convert txt: ship/mini_54_disk.png
240 time encirculate 19136 19136 18554 <raw_27_x_27.txt | convert txt: ship/mini_55_disk.png
241 time encirculate 19136 19136 19060 <raw_27_x_27.txt | convert txt: ship/mini_56_disk.png
242 time encirculate 19136 19136 24373 <raw_27_x_27.txt | convert txt: ship/mini_57_disk.png
243 time encirculate 19136 19136 17036 <raw_27_x_27.txt | convert txt: ship/mini_58_disk.png
244 time encirculate 19136 19136 16530 <raw_27_x_27.txt | convert txt: ship/mini_59_disk.png
245 time encirculate 19136 19136 23108 <raw_27_x_27.txt | convert txt: ship/mini_60_disk.png
246 time encirculate 19136 19136 15265 <raw_27_x_27.txt | convert txt: ship/mini_61_disk.png
247 time encirculate 19136 19136 26650 <raw_27_x_27.txt | convert txt: ship/mini_62_disk.png
248 time encirculate 19136 19136 14000 <raw_27_x_27.txt | convert txt: ship/mini_63_disk.png
249 time encirculate 19136 19136 14506 <raw_27_x_27.txt | convert txt: ship/mini_64_disk.png
250 time encirculate 19136 19136 17795 <raw_27_x_27.txt | convert txt: ship/mini_65_disk.png
251 time encirculate 19136 19136 21590 <raw_27_x_27.txt | convert txt: ship/mini_66_disk.png
252 time encirculate 19136 19136 24879 <raw_27_x_27.txt | convert txt: ship/mini_67_disk.png
253 time encirculate 19136 19136 23867 <raw_27_x_27.txt | convert txt: ship/mini_68_disk.png
254 time encirculate 19136 19136 11217 <raw_27_x_27.txt | convert txt: ship/mini_69_disk.png
255 time encirculate 19136 19136 16277 <raw_27_x_27.txt | convert txt: ship/mini_70_disk.png
256 time encirculate 19136 19136 9952 <raw_27_x_27.txt | convert txt: ship/mini_71_disk.png
257 time encirculate 19136 19136 26397 <raw_27_x_27.txt | convert txt: ship/mini_72_disk.png
258 time encirculate 19136 19136 17289 <raw_27_x_27.txt | convert txt: ship/mini_73_disk.png
259 time encirculate 19136 19136 19313 <raw_27_x_27.txt | convert txt: ship/mini_74_disk.png
260 time encirculate 19136 19136 25891 <raw_27_x_27.txt | convert txt: ship/mini_75_disk.png
261 time encirculate 19136 19136 25132 <raw_27_x_27.txt | convert txt: ship/mini_76_disk.png
262 time encirculate 19136 19136 22096 <raw_27_x_27.txt | convert txt: ship/mini_77_disk.png
263
264
265
266 export SERID=03
267
268
269
270 time convert ship/mini_$SERID""_disk.png -bordercolor white -border 14192x6272 ship/mini_$SERID""_flag.png
271
272 convert -depth 8 -size 47520x500 -background white -gravity East -fill '#bc002d'\
273 -font Purisa-Medium -pointsize 330 \
274 label:\""Love for a Shaken Japan"\"" by Chamelion. Miniature Edition $SERID""/77 Copyright 2011-2012 " \
275 ship/mini_$SERID""_label.png
276
277 convert ship/mini_$SERID""_flag.png -gravity SouthEast ship/mini_$SERID""_label.png \
278 -composite -density 1440x1440 ship/mini_$SERID""_labelled_flag.png
279
280 time convert -limit memory 5000000000 -limit map 5000000000 \
281 ship/mini_$SERID""_labelled_flag.png -rotate 270 ship/mini_$SERID""_labelled_flag_rotate.png
282
283

  ViewVC Help
Powered by ViewVC 1.1.5