1 |
3245x2592
|
2 |
3200 x 2500 resize
|
3 |
them we convert to 96x75, or to 128x100, nah 64x50 will be more
|
4 |
printable
|
5 |
|
6 |
~ 60x47 inches
|
7 |
lets say 64 to 60 inches to about 46 inches
|
8 |
at 1440 dpi = 33750
|
9 |
|
10 |
|
11 |
convert source_image.jpg -crop 3200x2500 source2.png
|
12 |
mv source2-0.png source2.png
|
13 |
rm source2-*
|
14 |
|
15 |
convert source2.png -resize 64x50 small.png
|
16 |
analyze_source_image.sh small.png >source.txt
|
17 |
|
18 |
Modify points.c
|
19 |
|
20 |
points - 42,43
|
21 |
60,40
|
22 |
51,51 - nose
|
23 |
52,62 - mouth
|
24 |
25,54 - ear
|
25 |
71,47 ear
|
26 |
27,24 - hair
|
27 |
41, 8 - hair
|
28 |
65,15 - hair
|
29 |
|
30 |
|
31 |
|
32 |
points >points.txt
|
33 |
|
34 |
|
35 |
eyes >eyes.txt
|
36 |
|
37 |
|
38 |
Then clean
|
39 |
|
40 |
|
41 |
Then edit workeyes.pl
|
42 |
for 720 dpi set $val to 675
|
43 |
|
44 |
1440 dpi set $val to 1350
|
45 |
63200
|
46 |
|
47 |
632 * pixels
|
48 |
|
49 |
|
50 |
bash analyze_source_image.sh vortex.png >vortex.txt
|
51 |
grep '255|255|255' vortex.txt > dots.txt
|
52 |
mv dots.txt vortex.txt
|
53 |
|
54 |
perl $e/points_to_hologram_vectors.pl <vortex.txt >moot_source.txt
|
55 |
cp moot_source.txt eyes_source.txt
|
56 |
|
57 |
mkdir m
|
58 |
|
59 |
bash workeyes.sh
|
60 |
ln -s m n
|
61 |
mkdir o p q
|
62 |
perl $e/makemontage.pl >/tmp/f
|
63 |
bash /tmp/f
|
64 |
|
65 |
|
66 |
|
67 |
Well, that looked like shit. for the graphics.
|
68 |
So I will cut the number of points by a factor of 40
|
69 |
and I will change from 4 inches to 12 inches away
|
70 |
|
71 |
perl $e/points_to_hologram_vectors.pl <vortex.txt >moot_source.txt
|
72 |
flip_flop <moot_source.txt 5 2>/dev/null 3>/dev/null 4>/dev/null 5>/dev/null |
|
73 |
flip_flop 2 2>/dev/null |
|
74 |
flip_flop 4 2>/dev/null 3>/dev/null 4>/dev/null 5>/dev/null >eye_source.txt
|
75 |
|
76 |
|
77 |
then after mods to workeyes.pl
|
78 |
bash workeyes.sh
|
79 |
|
80 |
|
81 |
edit makemontage.pl
|
82 |
perl $e/makemontage.pl >/tmp/f
|
83 |
bash /tmp/f
|
84 |
|
85 |
|