/[opencvs]/eyes/build_ben_eye_source.pl
ViewVC logotype

Contents of /eyes/build_ben_eye_source.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations)
Thu Jun 23 05:07:56 2011 UTC (8 years, 8 months ago) by hib
Branch: MAIN
File MIME type: text/plain
adding stuff - ben ,arissa partially done.  Havent started stephanie.
Kelly and vikroia are shipped - did a demo of edition 2 of enlightenment
and building first version of japan
.

1 $x1 = 4578;
2 $y1 = 3027;
3 $x2 = 5454;
4 $y2 = 2085;
5 # spiral going out 10 centimeters very thin at first then changing to the width
6 # of bens eye.
7 # set to be red - we will see how it comes out
8
9
10 srand(3427619);
11
12 $phase = 0;
13
14 for ($i=0;$i<1000;$i++) {
15 $d = $i / 10000;
16 $phase = $i * 6.28 * 79;
17 $rad = $i/20; # increases slowly to 80 */
18
19 $x = $x1 + $rad*cos($phase/13.);
20 $y = $y1 + $rad*sin($phase/13.);
21 $z = $d;
22 print "$x|$y|$z|1|671e-9|$phase\n";
23 }

  ViewVC Help
Powered by ViewVC 1.1.26