home *** CD-ROM | disk | FTP | other *** search
/ ftp.xmission.com / 2014.06.ftp.xmission.com.tar / ftp.xmission.com / pub / lists / fractint / archive / v01.n311 < prev    next >
Internet Message Format  |  1998-10-08  |  42KB

  1. From: owner-fractint-digest@lists.xmission.com (fractint-digest)
  2. To: fractint-digest@lists.xmission.com
  3. Subject: fractint-digest V1 #311
  4. Reply-To: fractint-digest
  5. Sender: owner-fractint-digest@lists.xmission.com
  6. Errors-To: owner-fractint-digest@lists.xmission.com
  7. Precedence: bulk
  8.  
  9.  
  10. fractint-digest        Friday, October 9 1998        Volume 01 : Number 311
  11.  
  12.  
  13.  
  14.  
  15. ----------------------------------------------------------------------
  16.  
  17. Date: Fri, 9 Oct 1998 10:46:01 -0700 (PDT)
  18. From: Ken Childress <kchildre@uccs.jpl.nasa.gov>
  19. Subject: Re: (fractint) Re: [fractal-art] cost of images
  20.  
  21.  
  22. Kerry,
  23.  
  24. > Ken,
  25. > I agree with you in principle, but I think that you can still make good
  26. > enlargements from monitor shots, depending on your equipment, image, and
  27. > standards.  Current 17" monitors deliver 1600 x 1200 resolutions, and a
  28. > good video card and shoot that in true color, elminating any jpeg
  29. > artifacts.
  30.  
  31. I don't mean to say that this isn't a method worth consideration.  It
  32. just isn't worth the effort for me because I can get better results for
  33. less effort.  If you like the results, by all means use it.
  34.  
  35. > Also, actual dpi numbers lose relevance when you're talking
  36. > about putting a picture on the wall where people generally don't get their
  37. > noses into it.  Of course, you're right about making big and/or detailed
  38. > enlargements--you just can't do that from a monitor shot.
  39.  
  40. This is true.  Which is why religious arguments about Epson vs. HP vs.
  41. Canon printers are a waste of time.  Bigger enlargements can suffer less
  42. DPI since you are viewing them from farther away.  However, you can't
  43. take a 1600x1200 pixel image and get a very good 30" by 40" print from
  44. it, IMO.
  45.  
  46. > To print from transparencies like this, you should find a lab that does
  47. > Ilfochrome processing (used to be called, "Cibachrome").  It's a process
  48. > that prints directly from the trans, without an internegative.  There is a
  49. > bunch of other reasons why it's good (like color saturation and archival
  50. > life), but the main one is the "wow" factor.  Expensive, but definitely
  51. > worth it.
  52.  
  53. I agree completely here.  If anyone hasn't seen an Ilfochrome print, you
  54. should make an effort to see the results.  They can be absolutely
  55. stunning.  With the brilliant colors in so many of the fractal images,
  56. an Ilfochrome print would be dazzling.  Definitely worth it, plus the
  57. image will last for a long, long time.
  58.  
  59.  
  60. Ken...
  61.  
  62.  
  63.  
  64.  
  65.  
  66. - --------------------------------------------------------------
  67. Thanks for using Fractint, The Fractals and Fractint Discussion List
  68. Post Message:   fractint@lists.xmission.com
  69. Get Commands:   majordomo@lists.xmission.com "help"
  70. Administrator:  twegner@phoenix.net
  71. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractint"
  72.  
  73. ------------------------------
  74.  
  75. Date: Fri, 9 Oct 1998 18:49:42 +0100
  76. From: "Les St Clair" <les_stclair@crosstrees.prestel.co.uk>
  77. Subject: (fractint) September par collection
  78.  
  79. Hi everyone,
  80.  
  81. A little later than usual, but the September par collection is now available.
  82.  
  83. As usual there are two formats:
  84. 1. Just the pars - http://ourworld.compuserve.com/homepages/Les_StClair/
  85. 2. The pars with the text of the original messages -
  86. http://www.homeusers.prestel.co.uk/crosstrees/fractasi.htm
  87.  
  88. Now for a shameless plug...
  89. For some really nice fractal animations (Java applets) check out my new page at
  90. Prestel
  91. http://www.homeusers.prestel.co.uk/crosstrees/cube.htm
  92. (I first saw these on Sharon Webb's site and fell in love with them - thanks
  93. Sharon!).
  94.  
  95. cheers, Les
  96.  
  97.  
  98. - --------------------------------------------------------------
  99. Thanks for using Fractint, The Fractals and Fractint Discussion List
  100. Post Message:   fractint@lists.xmission.com
  101. Get Commands:   majordomo@lists.xmission.com "help"
  102. Administrator:  twegner@phoenix.net
  103. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractint"
  104.  
  105. ------------------------------
  106.  
  107. Date: Fri, 9 Oct 1998 11:52:11 -0700 (PDT)
  108. From: Ken Childress <kchildre@uccs.jpl.nasa.gov>
  109. Subject: Re: (fractint) September par collection
  110.  
  111. > Hi everyone,
  112. > A little later than usual, but the September par collection is now available.
  113. > As usual there are two formats:
  114. > 1. Just the pars - http://ourworld.compuserve.com/homepages/Les_StClair/
  115.  
  116. WOW!!!  I have arrived.  :-)
  117.  
  118. I made one of the thumbnail images on Les's page.
  119.  
  120. Thanks Les, I'm truly honored.
  121.  
  122.  
  123.  
  124. Ken...
  125. (I'm not worthy. :-) )
  126.  
  127.  
  128.  
  129. - --------------------------------------------------------------
  130. Thanks for using Fractint, The Fractals and Fractint Discussion List
  131. Post Message:   fractint@lists.xmission.com
  132. Get Commands:   majordomo@lists.xmission.com "help"
  133. Administrator:  twegner@phoenix.net
  134. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractint"
  135.  
  136. ------------------------------
  137.  
  138. Date: Fri, 9 Oct 1998 21:00:52 +0100
  139. From: "Kim Bach Petersen" <kimb@post8.tele.dk>
  140. Subject: Sv: (fractint) Re: [fractal-art] cost of images
  141.  
  142. Hi Steve - and all of you other great people outthere,
  143.  
  144. >I would LOVE....I say again LOVE...to hear a detailes description of the
  145. whole
  146. >process....starting with "This is the size I render to print a ??X??
  147. photo."
  148.  
  149.  
  150. I've been doing some 15"x10" digital prints (A3 paper). Many a photo shop
  151. provides such prints, usually made on a digital color photocopying machine,
  152. that can print as well. The machine my local printshop uses, prints at 400
  153. dpi allowing lots of detail. The colors are vivid and clear, I'm very
  154. satisfied with the results. Still, intense colors seems to do best, while
  155. more pale or dusty colors have a lesser "wow-factor".
  156.  
  157. A print cost some 5 $ (30 danish kroner), but if you want multible prints of
  158. the same picture, the price can be reduced greatly, even halfed. The method
  159. is easy, all you need is fractint, a disk and maybe a photoeditor, and you
  160. can make impressive posters.
  161.  
  162. In need of a portable harddisk or the like, I usually stick to 100 dpi
  163. prints, since it allows me to have the file on a standard floppy disk. I
  164. render a picture on 4500x3000 or 6000x4000 and then reduces it to 1500x1000
  165. to anti-alias it. Then I use the photoeditor to specify the wanted size
  166. (15"x10") and resolution (100 dpi), and the saves the ready-to-print file as
  167. jpeg (with lowest compression, unlike gif jpeg allows the specification of
  168. parameters such as size and resolution). Some photoeditors allows all this
  169. to be done in one process. Notice that I use a resolution that is dividable
  170. with the printers resolution (100 = 400 / 4). If I did not, it would
  171. generate aliasing while printing - and it's nicer to avoid.
  172.  
  173. Kind regards, Kim.
  174.  
  175.  
  176.  
  177. - --------------------------------------------------------------
  178. Thanks for using Fractint, The Fractals and Fractint Discussion List
  179. Post Message:   fractint@lists.xmission.com
  180. Get Commands:   majordomo@lists.xmission.com "help"
  181. Administrator:  twegner@phoenix.net
  182. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractint"
  183.  
  184. ------------------------------
  185.  
  186. Date: Fri, 9 Oct 1998 13:19:48 -0700 (MST)
  187. From: Kerry Mitchell <lkmitch@primenet.com>
  188. Subject: (fractint) 5 point star coloring methods
  189.  
  190. Fresh from the, "Just because you can doesn't mean that you should" files,
  191. :-) here are some formulas built around 5 point stars
  192.  
  193. - -------------------------------------------------------------------------------
  194. Kerry Mitchell
  195. lkmitch@primenet.com    www.primenet.com/~lkmitch/
  196. - -------------------------------------------------------------------------------
  197.  
  198. comment { ; narrative copyright Kerry Mitchell 09oct98
  199.  
  200. Seeing Stars
  201.  
  202. Most fractal images involve circles in some respect:  either stopping
  203. the iteration when the orbit moves outside of a given circle, or
  204. coloring by how close the orbit comes to a certain circle, or some
  205. variation.  These formulas use a 5 point star instead of a circle.
  206. The "starnear" formulas color by how close the orbit comes to a star.
  207. The "starbail" formulas are set up to stop iterating either when the
  208. orbit comes into a star or when it leaves a star.
  209.  
  210. The star is represented by the 5 outer points.  These are equally spaced
  211. on a circle.  The center and size of the circle are user-specified, as
  212. is the rotation angle of the star.
  213.  
  214. How z at any iteration relates to the star (inside, outside, how close)
  215. is determined by looking at each of the 10 sides, one at a time.  Each
  216. side can be represented by a line A*x + B*y + C = 0, where A, B, and C
  217. come from the coordinates of the 2 outer points that are joined to make
  218. the side.  Given the numbers A, B, and C, the quantity
  219.  
  220.         q = A*real(z) + B*imag(z) + C
  221.  
  222. is computed.  If q is positive, then z is on one side of the line, and
  223. if q is negative, then z is on the other side of the line.  If |q| is
  224. very small, that means that z is very close to that side of the star.
  225. Taking the signs of q for all 10 sides will determine if z is inside or
  226. outside of the star.  Using the smallest value of |q| gives the distance
  227. from z to the star.
  228.  
  229. To see this in action, use the formula "star".  It will draw the outline
  230. of a star, with the position, orientation and size that you choose.
  231. This formula, and the "starnear" formulas that are built on it, use a
  232. logarithmic transfer function from distance to angle (for decomposition
  233. coloring in Fractint).  This helps highlight the star without needing to
  234. find out if the point is exactly on the star or not.  The "star-inout"
  235. formula will draw a star in 2 colors.  Everything inside the star is one
  236. color, and everything outside of the star is the other color.  These 2
  237. formulas are simply to give an idea of how the method works.
  238.  
  239. The fractal formulas need a bit of extra explanation.  In the
  240. "starnear_jul" formula, you have the option of whether or not to check
  241. the pixel (initial value of z) for its distance from the star.  If the
  242. star is centered at the origin (p2=0/0), this can make quite a difference.
  243. For example, use the "starnear2" parameter set.  As written, the real
  244. part of p3 is -0.28. The magnitude of real(p3) is the radius of the circle
  245. containing the 5 outer points.  If real(p3) is negative, that tells the
  246. formula to check the pixel for its distance before iterating.  In the
  247. image, this shows up as a star in the center.  Now, make real(p3) +0.28.
  248. You'll see that the outer portion of the image is unchanged, but the star
  249. in the middle has gone away.  In the "starbail" formulas, the flag to
  250. check the pixel before iterating (pixelflag) has been set in the formula,
  251. and is not interactively changeable (too many parameters).
  252.  
  253. The "starnear" formulas use a standard bailout condition--stop when the
  254. iterate gets too big, or leaves a very large circle.  Conversely, in the
  255. "starbail" formulas, the bailout condition is built around a star.  If 
  256. the star is centered at the origin and is big enough, then you can
  257. essentially use the star instead of the traditional bailout circle.  This
  258. is what has been done in parameter set "starbail1".  The magnification
  259. was decreased to show the bailout star, and the fractal can clearly be
  260. seen in the middle.  It is also possible to bailout when the orbit enters
  261. a star.  This is similar to the orbit trap methods that others have
  262. written, and works particularly well for Julia sets that are dusts.  An
  263. example of this is in parameter set "starbail2".  Some care must be taken
  264. if the star is not centered on the origin.  The "starbail" formulas set
  265. z to a default (1,0) if the orbit was not caught by a star.  If the star
  266. is too far away or too small to catch many orbits, the majority of the
  267. screen will be one color (color 0 when using decomposition coloring).  If
  268. you use stars off of the origin, you may want to increase the size and
  269. set "pixelflag=0" in the formula, to prevent the image from being taken
  270. over by one huge rogue star.
  271.  
  272. One final note:  This method uses angles a lot to figure out which side
  273. belongs to whom.  Consequently, the ability to rotate the star is a bit
  274. limited.  If the rotations are kept to the range of 0 to 36 degrees, there
  275. shouldn't be any problems.  Rotations outside this range (try it with the
  276. "star" formula) will result in branch cuts as the formula gets its angles
  277. confused.  Fortunately, since the star is symmetric, there shouldn't be
  278. a need to rotate it beyond those bounds.
  279.  
  280. }
  281.  
  282. starnear1 { ; copyright Kerry Mitchell 09oct98
  283.   ;
  284.   ; sample of "near to 5 point star" coloring
  285.   ;
  286.   reset=1960 type=formula formulafile=fractint.frm
  287.   formulaname=starnear_jul center-mag=-0.358/0.651/8
  288.   params=0/1/0/0/0.25/18 float=y maxiter=256 inside=0
  289.   decomp=256 periodicity=0 colors=zrM<40>zzzzzzyyz<60>QQzPPzPP\
  290.   zPPy<61>000000110<60>yn0zo0zo0zo1<19>zrL cyclerange=0/255
  291.   }
  292.  
  293. starnear2 { ; copyright Kerry Mitchell 09oct98
  294.   ;
  295.   ; sample of "near to 5 point star" coloring
  296.   ;
  297.   reset=1960 type=formula formulafile=fractint.frm
  298.   formulaname=starnear_jul center-mag=0/0/1.1/1/-90
  299.   params=0.28/0/0/0/-0.28/36 float=y maxiter=256 inside=0
  300.   decomp=256 periodicity=0 colors=vlv<23>i1ih0hf0f<28>303\
  301.   101100<29>x99zAAzBB<30>zzz<30>i2ih0hg0g<29>202000000<30>\
  302.   y99zAAzCC<30>zzz<5>wnw cyclerange=0/255
  303.   }
  304.  
  305. starnear3 { ; copyright Kerry Mitchell 09oct98
  306.   ;
  307.   ;  Mandelbrot sample of coloring by nearest approach to 5 point star
  308.   ;
  309.   reset=1960 type=formula formulafile=fractint.frm
  310.   formulaname=starnear_man center-mag=-1/0/0.56/1/-90
  311.   params=-2/0/0.25/36 float=y maxiter=100 inside=0 decomp=256
  312.   periodicity=0 colors=000<35>x00z00z10<34>zx0zz0zz1<36>zzz<51>\
  313.   zz2zz0zy0<51>y20x00w00<30>200000000000000 cyclerange=0/255
  314.   }
  315.  
  316. starbail1 { ; copyright Kerry Mitchell 09oct98
  317.   ;
  318.   ; bails out when orbit leaves a 5 point star
  319.   ;
  320.   reset=1960 type=formula formulafile=fractint.frm
  321.   formulaname=starbail_jul center-mag=0/0/0.25 cyclerange=0/255
  322.   params=0.3795135923319061/0.3349323012073617/0/0/5/18 float=y
  323.   maxiter=256 inside=0 decomp=256 periodicity=0 colors=000<40>x00z\
  324.   00z00<40>zy0zz0zz1<39>zzxzzzzzz<40>1zz0zz0yz<39>02z00z00z<41>000
  325.   }
  326.  
  327. starbail2 { ; copyright Kerry Mitchell 09oct98
  328.   ;
  329.   ; bails out when orbit enters a 5 point star
  330.   ;
  331.   reset=1960 type=formula formulafile=fractint.frm
  332.   formulaname=starbail_jul passes=1 center-mag=0/0/1.1/1/-90
  333.   params=0.3/0/0/0/-0.5/36 float=y maxiter=256 inside=0
  334.   decomp=256 periodicity=0 colors=000<15>zo0<14>zyvzzzxxz<13>\
  335.   SSzPPzOOw<14>000<15>zo0<14>zywzzzxxz<13>RRzPPzOOv<11>55B337\
  336.   223110<13>tj0xm0zo1<13>zxtzyxyyz<12>VVzTTzRRzPPyNNu<12>3361\
  337.   12220<14>yn0zo2<14>zyyyyz<13>SSzQQzOOx<14>111 cyclerange=0/255
  338.   }
  339.  
  340. starbail3 { ; copyright Kerry Mitchell 09oct98
  341.   ;
  342.   ;  Mandelbrot sample of bailout out when moving inside a 5 point star
  343.   ;
  344.   reset=1960 type=formula formulafile=fractint.frm
  345.   formulaname=starbail_man center-mag=-0.407/0/0.813
  346.   params=1/0/-1/36 float=y maxiter=100 inside=0 decomp=256
  347.   periodicity=0 colors=000<35>x00z00z10<34>zx0zz0zz1<36>zzz<51>\
  348.   zz2zz0zy0<51>y20x00w00<30>200000000000000 cyclerange=0/255
  349.   }
  350.  
  351. frm:starbail_man { ; Kerry Mitchell 09oct98
  352.         ;
  353.         ; Mandelbrot, bails out when orbit enters/leaves 5 point star
  354.         ; p1 = center of star
  355.         ; cabs(real(p2)) = star size of star (try 1)
  356.         ; sign(real(p2)) = in/out flag:
  357.         ;   + = bailout when orbit leaves star
  358.         ;   - = bailout when orbit enters star
  359.         ; imag(p2) = star rotation angle, degrees
  360.         ;   only use angles from 0 to 36 degrees
  361.         ;
  362.         ;  initialize iteration parameters
  363.         ;
  364.         zc=0, c=pixel, done=0, iter=1, bailout=1e12
  365.         pixelflag=0  ; set by hand
  366.         ;
  367.         ;  star parameters
  368.         ;
  369.         center=p1, xcen=real(center), ycen=imag(center)
  370.         r=cabs(real(p2)), inout=1
  371.         if(real(p2)<0)
  372.           inout=0
  373.         endif
  374.         phi=imag(p2)/180*pi, twopi=2*pi, temp=twopi/10
  375.         t0=phi, t1=t0+temp
  376.         t2=t1+temp, t3=t2+temp, t4=t3+temp, t5=t4+temp
  377.         t6=t5+temp, t7=t6+temp, t8=t7+temp, t9=t8+temp
  378.         ;
  379.         ;  set up control points
  380.         ;
  381.         x0=r*cos(t0)+xcen, y0=r*sin(t0)+ycen
  382.         x1=r*cos(t2)+xcen, y1=r*sin(t2)+ycen
  383.         x2=r*cos(t4)+xcen, y2=r*sin(t4)+ycen
  384.         x3=r*cos(t6)+xcen, y3=r*sin(t6)+ycen
  385.         x4=r*cos(t8)+xcen, y4=r*sin(t8)+ycen
  386.         ;
  387.         ;  check pixel to see if it bailed
  388.         ;
  389.         if(pixelflag!=0)
  390.         x=real(zc), y=imag(zc), t=imag(log(zc-center))
  391.         if(t<0)
  392.           t=t+twopi
  393.         endif
  394.         flag=0
  395.         if((t>t0)&&(t<=t1))
  396.           f=x*(y0-y2)+y*(x2-x0)-x2*y0+x0*y2
  397.           if(f<0)
  398.             flag=1
  399.           endif
  400.         elseif((t>t1)&&(t<=t2))
  401.           f=x*(y1-y4)+y*(x4-x1)-x4*y1+x1*y4
  402.           if(f>0)
  403.             flag=1
  404.           endif
  405.         elseif((t>t2)&&(t<=t3))
  406.           f=x*(y1-y3)+y*(x3-x1)-x3*y1+x1*y3
  407.           if(f<0)
  408.             flag=1
  409.           endif
  410.         elseif((t>t3)&&(t<=t4))
  411.           f=x*(y2-y0)+y*(x0-x2)-x0*y2+x2*y0
  412.           if(f>0)
  413.             flag=1
  414.           endif
  415.         elseif((t>t4)&&(t<=t5))
  416.           f=x*(y2-y4)+y*(x4-x2)-x4*y2+x2*y4
  417.           if(f<0)
  418.             flag=1
  419.           endif
  420.         elseif((t>t5)&&(t<=t6))
  421.           f=x*(y3-y1)+y*(x1-x3)-x1*y3+x3*y1
  422.           if(f>0)
  423.             flag=1
  424.           endif
  425.         elseif((t>t6)&&(t<=t7))
  426.           f=x*(y3-y0)+y*(x0-x3)-x0*y3+x3*y0
  427.           if(f<0)
  428.             flag=1
  429.           endif
  430.         elseif((t>t7)&&(t<=t8))
  431.           f=x*(y4-y2)+y*(x2-x4)-x2*y4+x4*y2
  432.           if(f>0)
  433.             flag=1
  434.           endif
  435.         elseif((t>t8)&&(t<=t9))
  436.           f=x*(y4-y1)+y*(x1-x4)-x1*y4+x4*y1
  437.           if(f<0)
  438.             flag=1
  439.           endif
  440.         else
  441.           f=x*(y0-y3)+y*(x3-x0)-x3*y0+x0*y3
  442.           if(f>0)
  443.             flag=1
  444.           endif
  445.         endif
  446.         if(flag==inout)
  447.           done=1
  448.           z=zc-center
  449.         endif
  450.         endif
  451.         :
  452.         ;  standard iteration if pixel didn't bail
  453.         ;
  454.         if(done==0)
  455.         iter=iter+1, zc=sqr(zc)+c
  456.         x=real(zc), y=imag(zc), t=imag(log(zc-center))
  457.         if(t<0)
  458.           t=t+twopi
  459.         endif
  460.         ;
  461.         ;  see if orbit is inside or outside of star
  462.         ;    by checking each side one at a time
  463.         ;
  464.         flag=0
  465.         if((t>t0)&&(t<=t1))
  466.           f=x*(y0-y2)+y*(x2-x0)-x2*y0+x0*y2
  467.           if(f<0)
  468.             flag=1
  469.           endif
  470.         elseif((t>t1)&&(t<=t2))
  471.           f=x*(y1-y4)+y*(x4-x1)-x4*y1+x1*y4
  472.           if(f>0)
  473.             flag=1
  474.           endif
  475.         elseif((t>t2)&&(t<=t3))
  476.           f=x*(y1-y3)+y*(x3-x1)-x3*y1+x1*y3
  477.           if(f<0)
  478.             flag=1
  479.           endif
  480.         elseif((t>t3)&&(t<=t4))
  481.           f=x*(y2-y0)+y*(x0-x2)-x0*y2+x2*y0
  482.           if(f>0)
  483.             flag=1
  484.           endif
  485.         elseif((t>t4)&&(t<=t5))
  486.           f=x*(y2-y4)+y*(x4-x2)-x4*y2+x2*y4
  487.           if(f<0)
  488.             flag=1
  489.           endif
  490.         elseif((t>t5)&&(t<=t6))
  491.           f=x*(y3-y1)+y*(x1-x3)-x1*y3+x3*y1
  492.           if(f>0)
  493.             flag=1
  494.           endif
  495.         elseif((t>t6)&&(t<=t7))
  496.           f=x*(y3-y0)+y*(x0-x3)-x0*y3+x3*y0
  497.           if(f<0)
  498.             flag=1
  499.           endif
  500.         elseif((t>t7)&&(t<=t8))
  501.           f=x*(y4-y2)+y*(x2-x4)-x2*y4+x4*y2
  502.           if(f>0)
  503.             flag=1
  504.           endif
  505.         elseif((t>t8)&&(t<=t9))
  506.           f=x*(y4-y1)+y*(x1-x4)-x1*y4+x4*y1
  507.           if(f<0)
  508.             flag=1
  509.           endif
  510.         else
  511.           f=x*(y0-y3)+y*(x3-x0)-x3*y0+x0*y3
  512.           if(f>0)
  513.             flag=1
  514.           endif
  515.         endif
  516.         ;
  517.         ;  if the orbit was on the appropriate side,
  518.         ;    set "done" flag
  519.         ;    set z to iteration variable for coloring
  520.         ;
  521.         if(flag==inout)
  522.           done=1
  523.           z=zc-center
  524.         ;
  525.         ;  safety valve in case star doesn't catch orbit
  526.         ;  if orbit goes to infinity or max iterations reached:
  527.         ;     set "done" flag
  528.         ;     set z to 1 to differentiate it from star trap
  529.         ;
  530.         elseif((|zc|>bailout)||(iter==maxit))
  531.           done=1
  532.           z=1
  533.         endif
  534.         endif
  535.         done==0
  536.         }
  537.  
  538. frm:starbail_jul { ; Kerry Mitchell 09oct98
  539.         ;
  540.         ; Julia set, bails out when orbit enters/leaves 5 point star
  541.         ; p1 = Julia parameter
  542.         ; p2 = center of star
  543.         ; cabs(real(p3)) = star size of star (try 1)
  544.         ; sign(real(p3)) = in/out flag:
  545.         ;   + = bailout when orbit leaves star
  546.         ;   - = bailout when orbit enters star
  547.         ; imag(p3) = star rotation angle, degrees
  548.         ;   only use angles from 0 to 36 degrees
  549.         ;
  550.         ;  initialize iteration parameters
  551.         ;
  552.         c=p1, zc=pixel, done=0, iter=1, bailout=1e12
  553.         pixelflag=1  ; set by hand
  554.         ;
  555.         ;  star parameters
  556.         ;
  557.         center=p2, xcen=real(center), ycen=imag(center)
  558.         r=cabs(real(p3)), inout=1
  559.         if(real(p3)<0)
  560.           inout=0
  561.         endif
  562.         phi=imag(p3)/180*pi, twopi=2*pi, temp=twopi/10
  563.         t0=phi, t1=t0+temp
  564.         t2=t1+temp, t3=t2+temp, t4=t3+temp, t5=t4+temp
  565.         t6=t5+temp, t7=t6+temp, t8=t7+temp, t9=t8+temp
  566.         ;
  567.         ;  set up control points
  568.         ;
  569.         x0=r*cos(t0)+xcen, y0=r*sin(t0)+ycen
  570.         x1=r*cos(t2)+xcen, y1=r*sin(t2)+ycen
  571.         x2=r*cos(t4)+xcen, y2=r*sin(t4)+ycen
  572.         x3=r*cos(t6)+xcen, y3=r*sin(t6)+ycen
  573.         x4=r*cos(t8)+xcen, y4=r*sin(t8)+ycen
  574.         ;
  575.         ;  check pixel to see if it bailed
  576.         ;
  577.         if(pixelflag!=0)
  578.         x=real(zc), y=imag(zc), t=imag(log(zc-center))
  579.         if(t<0)
  580.           t=t+twopi
  581.         endif
  582.         flag=0
  583.         if((t>t0)&&(t<=t1))
  584.           f=x*(y0-y2)+y*(x2-x0)-x2*y0+x0*y2
  585.           if(f<0)
  586.             flag=1
  587.           endif
  588.         elseif((t>t1)&&(t<=t2))
  589.           f=x*(y1-y4)+y*(x4-x1)-x4*y1+x1*y4
  590.           if(f>0)
  591.             flag=1
  592.           endif
  593.         elseif((t>t2)&&(t<=t3))
  594.           f=x*(y1-y3)+y*(x3-x1)-x3*y1+x1*y3
  595.           if(f<0)
  596.             flag=1
  597.           endif
  598.         elseif((t>t3)&&(t<=t4))
  599.           f=x*(y2-y0)+y*(x0-x2)-x0*y2+x2*y0
  600.           if(f>0)
  601.             flag=1
  602.           endif
  603.         elseif((t>t4)&&(t<=t5))
  604.           f=x*(y2-y4)+y*(x4-x2)-x4*y2+x2*y4
  605.           if(f<0)
  606.             flag=1
  607.           endif
  608.         elseif((t>t5)&&(t<=t6))
  609.           f=x*(y3-y1)+y*(x1-x3)-x1*y3+x3*y1
  610.           if(f>0)
  611.             flag=1
  612.           endif
  613.         elseif((t>t6)&&(t<=t7))
  614.           f=x*(y3-y0)+y*(x0-x3)-x0*y3+x3*y0
  615.           if(f<0)
  616.             flag=1
  617.           endif
  618.         elseif((t>t7)&&(t<=t8))
  619.           f=x*(y4-y2)+y*(x2-x4)-x2*y4+x4*y2
  620.           if(f>0)
  621.             flag=1
  622.           endif
  623.         elseif((t>t8)&&(t<=t9))
  624.           f=x*(y4-y1)+y*(x1-x4)-x1*y4+x4*y1
  625.           if(f<0)
  626.             flag=1
  627.           endif
  628.         else
  629.           f=x*(y0-y3)+y*(x3-x0)-x3*y0+x0*y3
  630.           if(f>0)
  631.             flag=1
  632.           endif
  633.         endif
  634.         if(flag==inout)
  635.           done=1
  636.           z=zc-center
  637.         endif
  638.         endif
  639.         :
  640.         ;  standard iteration if pixel didn't bail
  641.         ;
  642.         if(done==0)
  643.         iter=iter+1, zc=sqr(zc)+c
  644.         x=real(zc), y=imag(zc), t=imag(log(zc-center))
  645.         if(t<0)
  646.           t=t+twopi
  647.         endif
  648.         ;
  649.         ;  see if orbit is inside or outside of star
  650.         ;    by checking each side one at a time
  651.         ;
  652.         flag=0
  653.         if((t>t0)&&(t<=t1))
  654.           f=x*(y0-y2)+y*(x2-x0)-x2*y0+x0*y2
  655.           if(f<0)
  656.             flag=1
  657.           endif
  658.         elseif((t>t1)&&(t<=t2))
  659.           f=x*(y1-y4)+y*(x4-x1)-x4*y1+x1*y4
  660.           if(f>0)
  661.             flag=1
  662.           endif
  663.         elseif((t>t2)&&(t<=t3))
  664.           f=x*(y1-y3)+y*(x3-x1)-x3*y1+x1*y3
  665.           if(f<0)
  666.             flag=1
  667.           endif
  668.         elseif((t>t3)&&(t<=t4))
  669.           f=x*(y2-y0)+y*(x0-x2)-x0*y2+x2*y0
  670.           if(f>0)
  671.             flag=1
  672.           endif
  673.         elseif((t>t4)&&(t<=t5))
  674.           f=x*(y2-y4)+y*(x4-x2)-x4*y2+x2*y4
  675.           if(f<0)
  676.             flag=1
  677.           endif
  678.         elseif((t>t5)&&(t<=t6))
  679.           f=x*(y3-y1)+y*(x1-x3)-x1*y3+x3*y1
  680.           if(f>0)
  681.             flag=1
  682.           endif
  683.         elseif((t>t6)&&(t<=t7))
  684.           f=x*(y3-y0)+y*(x0-x3)-x0*y3+x3*y0
  685.           if(f<0)
  686.             flag=1
  687.           endif
  688.         elseif((t>t7)&&(t<=t8))
  689.           f=x*(y4-y2)+y*(x2-x4)-x2*y4+x4*y2
  690.           if(f>0)
  691.             flag=1
  692.           endif
  693.         elseif((t>t8)&&(t<=t9))
  694.           f=x*(y4-y1)+y*(x1-x4)-x1*y4+x4*y1
  695.           if(f<0)
  696.             flag=1
  697.           endif
  698.         else
  699.           f=x*(y0-y3)+y*(x3-x0)-x3*y0+x0*y3
  700.           if(f>0)
  701.             flag=1
  702.           endif
  703.         endif
  704.         ;
  705.         ;  if the orbit was on the appropriate side,
  706.         ;    set "done" flag
  707.         ;    set z to iteration variable for coloring
  708.         ;
  709.         if(flag==inout)
  710.           done=1
  711.           z=zc-center
  712.         ;
  713.         ;  safety valve in case star doesn't catch orbit
  714.         ;  if orbit goes to infinity or max iterations reached:
  715.         ;     set "done" flag
  716.         ;     set z to 1 to differentiate it from star trap
  717.         ;
  718.         elseif((|zc|>bailout)||(iter==maxit))
  719.           done=1
  720.           z=1
  721.         endif
  722.         endif
  723.         done==0
  724.         }
  725.  
  726. frm:starnear_man { ; Kerry Mitchell 09oct98
  727.         ;
  728.         ; Mandelbrot, colors by nearest approach to 5 point star
  729.         ; p1 = center of star
  730.         ; cabs(real(p2)) = star size of star (try 1)
  731.         ; sign(real(p2)) = pixel flag:
  732.         ;   + = don't consider pixel--start after first iteration
  733.         ;   - = consider pixel
  734.         ; imag(p2) = star rotation angle, degrees
  735.         ;   only use angles from 0 to 36 degrees
  736.         ; use decomp=256, bailout hardcoded to 10^12
  737.         ;
  738.         ;  initialize iteration parameters
  739.         ;
  740.         zc=0, c=pixel, done=0, iter=1
  741.         bailout=1e12, fmin=bailout
  742.         ;
  743.         ;  star parameters
  744.         ;
  745.         center=p1, xcen=real(center), ycen=imag(center)
  746.         r=cabs(real(p2)), pixelflag=0
  747.         if(real(p2)<0)
  748.           pixelflag=1
  749.         endif
  750.         phi=imag(p2)/180*pi, twopi=2*pi, temp=twopi/10
  751.         t0=phi, t1=t0+temp
  752.         t2=t1+temp, t3=t2+temp, t4=t3+temp, t5=t4+temp
  753.         t6=t5+temp, t7=t6+temp, t8=t7+temp, t9=t8+temp
  754.         ;
  755.         ;  set up control points
  756.         ;
  757.         x0=r*cos(t0)+xcen, y0=r*sin(t0)+ycen
  758.         x1=r*cos(t2)+xcen, y1=r*sin(t2)+ycen
  759.         x2=r*cos(t4)+xcen, y2=r*sin(t4)+ycen
  760.         x3=r*cos(t6)+xcen, y3=r*sin(t6)+ycen
  761.         x4=r*cos(t8)+xcen, y4=r*sin(t8)+ycen
  762.         ;
  763.         ;  if pixel flag =/= 0, then check pixel for how close
  764.         ;    it is to star
  765.         ;
  766.         if(pixelflag!=0)
  767.           x=real(zc), y=imag(zc), t=imag(log(zc-center))
  768.           if(t<0)
  769.             t=t+twopi
  770.           endif
  771.           if((t>t0)&&(t<=t1))
  772.             f=x*(y0-y2)+y*(x2-x0)-x2*y0+x0*y2
  773.           elseif((t>t1)&&(t<=t2))
  774.             f=x*(y1-y4)+y*(x4-x1)-x4*y1+x1*y4
  775.           elseif((t>t2)&&(t<=t3))
  776.             f=x*(y1-y3)+y*(x3-x1)-x3*y1+x1*y3
  777.           elseif((t>t3)&&(t<=t4))
  778.             f=x*(y2-y0)+y*(x0-x2)-x0*y2+x2*y0
  779.           elseif((t>t4)&&(t<=t5))
  780.             f=x*(y2-y4)+y*(x4-x2)-x4*y2+x2*y4
  781.           elseif((t>t5)&&(t<=t6))
  782.             f=x*(y3-y1)+y*(x1-x3)-x1*y3+x3*y1
  783.           elseif((t>t6)&&(t<=t7))
  784.             f=x*(y3-y0)+y*(x0-x3)-x0*y3+x3*y0
  785.           elseif((t>t7)&&(t<=t8))
  786.             f=x*(y4-y2)+y*(x2-x4)-x2*y4+x4*y2
  787.           elseif((t>t8)&&(t<=t9))
  788.             f=x*(y4-y1)+y*(x1-x4)-x1*y4+x4*y1
  789.           else
  790.             f=x*(y3-y0)+y*(x0-x3)-x0*y3+x3*y0
  791.           endif
  792.           fmin=cabs(f)
  793.         endif
  794.         :
  795.         ;  standard iteration, find polar angle of iterate
  796.         ;
  797.         iter=iter+1, zc=sqr(zc)+c
  798.         x=real(zc), y=imag(zc), t=imag(log(zc-center))
  799.         if(t<0)
  800.           t=t+twopi
  801.         endif
  802.         ;
  803.         ;  compute how close iterate is to each side of star
  804.         ;
  805.         if((t>t0)&&(t<=t1))
  806.           f=x*(y0-y2)+y*(x2-x0)-x2*y0+x0*y2
  807.         elseif((t>t1)&&(t<=t2))
  808.           f=x*(y1-y4)+y*(x4-x1)-x4*y1+x1*y4
  809.         elseif((t>t2)&&(t<=t3))
  810.           f=x*(y1-y3)+y*(x3-x1)-x3*y1+x1*y3
  811.         elseif((t>t3)&&(t<=t4))
  812.           f=x*(y2-y0)+y*(x0-x2)-x0*y2+x2*y0
  813.         elseif((t>t4)&&(t<=t5))
  814.           f=x*(y2-y4)+y*(x4-x2)-x4*y2+x2*y4
  815.         elseif((t>t5)&&(t<=t6))
  816.           f=x*(y3-y1)+y*(x1-x3)-x1*y3+x3*y1
  817.         elseif((t>t6)&&(t<=t7))
  818.           f=x*(y3-y0)+y*(x0-x3)-x0*y3+x3*y0
  819.         elseif((t>t7)&&(t<=t8))
  820.           f=x*(y4-y2)+y*(x2-x4)-x2*y4+x4*y2
  821.         elseif((t>t8)&&(t<=t9))
  822.           f=x*(y4-y1)+y*(x1-x4)-x1*y4+x4*y1
  823.         else
  824.           f=x*(y3-y0)+y*(x0-x3)-x0*y3+x3*y0
  825.         endif
  826.         f=cabs(f)
  827.         ;
  828.         ;  update minimum distance
  829.         ;
  830.         if(f<fmin)
  831.           fmin=f
  832.           zmin=zc
  833.         endif
  834.         ;
  835.         ;  upon escape or maximum iterations:
  836.         ;    set "done" flag
  837.         ;    use minimum distance from star as polar angle of z
  838.         ;      for use with decomp coloring
  839.         ;
  840.         if((|zc|>bailout)||(iter==maxit))
  841.           done=1
  842.           t=log(fmin)
  843.           z=cos(t)+flip(sin(t))
  844.         endif
  845.         done==0
  846.         }
  847.  
  848. frm:starnear_jul { ; Kerry Mitchell 09oct98
  849.         ;
  850.         ; Julia set, colors by nearest approach to 5 point star
  851.         ; p1 = Julia parameter
  852.         ; p2 = center of star
  853.         ; cabs(real(p3)) = star size of star (try 1)
  854.         ; sign(real(p3)) = pixel flag:
  855.         ;   + = don't consider pixel--start after first iteration
  856.         ;   - = consider pixel
  857.         ; imag(p3) = star rotation angle, degrees
  858.         ;   only use angles from 0 to 36 degrees
  859.         ; use decomp=256, bailout hardcoded to 10^12
  860.         ;
  861.         ;  initialize iteration parameters
  862.         ;
  863.         c=p1, zc=pixel, done=0, iter=1
  864.         bailout=1e12, fmin=bailout
  865.         ;
  866.         ;  star parameters
  867.         ;
  868.         center=p2, xcen=real(center), ycen=imag(center)
  869.         r=cabs(real(p3)), pixelflag=0
  870.         if(real(p3)<0)
  871.           pixelflag=1
  872.         endif
  873.         phi=imag(p3)/180*pi, twopi=2*pi, temp=twopi/10
  874.         t0=phi, t1=t0+temp
  875.         t2=t1+temp, t3=t2+temp, t4=t3+temp, t5=t4+temp
  876.         t6=t5+temp, t7=t6+temp, t8=t7+temp, t9=t8+temp
  877.         ;
  878.         ;  set up control points
  879.         ;
  880.         x0=r*cos(t0)+xcen, y0=r*sin(t0)+ycen
  881.         x1=r*cos(t2)+xcen, y1=r*sin(t2)+ycen
  882.         x2=r*cos(t4)+xcen, y2=r*sin(t4)+ycen
  883.         x3=r*cos(t6)+xcen, y3=r*sin(t6)+ycen
  884.         x4=r*cos(t8)+xcen, y4=r*sin(t8)+ycen
  885.         ;
  886.         ;  if pixel flag =/= 0, then check pixel for how close
  887.         ;    it is to star
  888.         ;
  889.         if(pixelflag!=0)
  890.           x=real(zc), y=imag(zc), t=imag(log(zc-center))
  891.           if(t<0)
  892.             t=t+twopi
  893.           endif
  894.           if((t>t0)&&(t<=t1))
  895.             f=x*(y0-y2)+y*(x2-x0)-x2*y0+x0*y2
  896.           elseif((t>t1)&&(t<=t2))
  897.             f=x*(y1-y4)+y*(x4-x1)-x4*y1+x1*y4
  898.           elseif((t>t2)&&(t<=t3))
  899.             f=x*(y1-y3)+y*(x3-x1)-x3*y1+x1*y3
  900.           elseif((t>t3)&&(t<=t4))
  901.             f=x*(y2-y0)+y*(x0-x2)-x0*y2+x2*y0
  902.           elseif((t>t4)&&(t<=t5))
  903.             f=x*(y2-y4)+y*(x4-x2)-x4*y2+x2*y4
  904.           elseif((t>t5)&&(t<=t6))
  905.             f=x*(y3-y1)+y*(x1-x3)-x1*y3+x3*y1
  906.           elseif((t>t6)&&(t<=t7))
  907.             f=x*(y3-y0)+y*(x0-x3)-x0*y3+x3*y0
  908.           elseif((t>t7)&&(t<=t8))
  909.             f=x*(y4-y2)+y*(x2-x4)-x2*y4+x4*y2
  910.           elseif((t>t8)&&(t<=t9))
  911.             f=x*(y4-y1)+y*(x1-x4)-x1*y4+x4*y1
  912.           else
  913.             f=x*(y3-y0)+y*(x0-x3)-x0*y3+x3*y0
  914.           endif
  915.           fmin=cabs(f)
  916.         endif
  917.         :
  918.         ;  standard iteration, find polar angle of iterate
  919.         ;
  920.         iter=iter+1, zc=sqr(zc)+c
  921.         x=real(zc), y=imag(zc), t=imag(log(zc-center))
  922.         if(t<0)
  923.           t=t+twopi
  924.         endif
  925.         ;
  926.         ;  compute how close iterate is to each side of star
  927.         ;
  928.         if((t>t0)&&(t<=t1))
  929.           f=x*(y0-y2)+y*(x2-x0)-x2*y0+x0*y2
  930.         elseif((t>t1)&&(t<=t2))
  931.           f=x*(y1-y4)+y*(x4-x1)-x4*y1+x1*y4
  932.         elseif((t>t2)&&(t<=t3))
  933.           f=x*(y1-y3)+y*(x3-x1)-x3*y1+x1*y3
  934.         elseif((t>t3)&&(t<=t4))
  935.           f=x*(y2-y0)+y*(x0-x2)-x0*y2+x2*y0
  936.         elseif((t>t4)&&(t<=t5))
  937.           f=x*(y2-y4)+y*(x4-x2)-x4*y2+x2*y4
  938.         elseif((t>t5)&&(t<=t6))
  939.           f=x*(y3-y1)+y*(x1-x3)-x1*y3+x3*y1
  940.         elseif((t>t6)&&(t<=t7))
  941.           f=x*(y3-y0)+y*(x0-x3)-x0*y3+x3*y0
  942.         elseif((t>t7)&&(t<=t8))
  943.           f=x*(y4-y2)+y*(x2-x4)-x2*y4+x4*y2
  944.         elseif((t>t8)&&(t<=t9))
  945.           f=x*(y4-y1)+y*(x1-x4)-x1*y4+x4*y1
  946.         else
  947.           f=x*(y3-y0)+y*(x0-x3)-x0*y3+x3*y0
  948.         endif
  949.         f=cabs(f)
  950.         ;
  951.         ;  update minimum distance
  952.         ;
  953.         if(f<fmin)
  954.           fmin=f
  955.           zmin=zc
  956.         endif
  957.         ;
  958.         ;  upon escape or maximum iterations:
  959.         ;    set "done" flag
  960.         ;    use minimum distance from star as polar angle of z
  961.         ;      for use with decomp coloring
  962.         ;
  963.         if((|zc|>bailout)||(iter==maxit))
  964.           done=1
  965.           t=log(fmin)
  966.           z=cos(t)+flip(sin(t))
  967.         endif
  968.         done==0
  969.         }
  970.  
  971. frm:star-inout { ; Kerry Mitchell 09oct98
  972.         ;
  973.         ; draws 5 point star--1 color inside, 1 color outside
  974.         ; p1 = center of star
  975.         ; real(p2) = size of star (try 1)
  976.         ; imag(p2) = rotation angle, degrees (0 for point at top)
  977.         ; use decomp=256
  978.         ;
  979.         zc=pixel, done=1
  980.         center=p1, xcen=real(center), ycen=imag(center), r=real(p2)
  981.         phi=(imag(p2)+18)/180*pi, twopi=2*pi, temp=twopi/10
  982.         if((phi<0)||(phi>=temp))
  983.           phi=0
  984.         endif
  985.         t0=phi, t1=temp+phi, t2=2*temp+phi, t3=3*temp+phi
  986.         t4=4*temp+phi, t5=5*temp+phi, t6=6*temp+phi
  987.         t7=7*temp+phi, t8=8*temp+phi, t9=9*temp+phi
  988.         x0=r*cos(t0)+xcen, y0=r*sin(t0)+ycen
  989.         x1=r*cos(t2)+xcen, y1=r*sin(t2)+ycen
  990.         x2=r*cos(t4)+xcen, y2=r*sin(t4)+ycen
  991.         x3=r*cos(t6)+xcen, y3=r*sin(t6)+ycen
  992.         x4=r*cos(t8)+xcen, y4=r*sin(t8)+ycen
  993.         :
  994.         x=real(zc), y=imag(zc), t=imag(log(zc-center))
  995.         if(t<0)
  996.           t=t+twopi
  997.         endif
  998.         flag=0
  999.         if((t>t0)&&(t<=t1))
  1000.           f=x*(y0-y2)+y*(x2-x0)-x2*y0+x0*y2
  1001.           if(f<0)
  1002.             flag=1
  1003.           endif
  1004.         elseif((t>t1)&&(t<=t2))
  1005.           f=x*(y1-y4)+y*(x4-x1)-x4*y1+x1*y4
  1006.           if(f>0)
  1007.             flag=1
  1008.           endif
  1009.         elseif((t>t2)&&(t<=t3))
  1010.           f=x*(y1-y3)+y*(x3-x1)-x3*y1+x1*y3
  1011.           if(f<0)
  1012.             flag=1
  1013.           endif
  1014.         elseif((t>t3)&&(t<=t4))
  1015.           f=x*(y2-y0)+y*(x0-x2)-x0*y2+x2*y0
  1016.           if(f>0)
  1017.             flag=1
  1018.           endif
  1019.         elseif((t>t4)&&(t<=t5))
  1020.           f=x*(y2-y4)+y*(x4-x2)-x4*y2+x2*y4
  1021.           if(f<0)
  1022.             flag=1
  1023.           endif
  1024.         elseif((t>t5)&&(t<=t6))
  1025.           f=x*(y3-y1)+y*(x1-x3)-x1*y3+x3*y1
  1026.           if(f>0)
  1027.             flag=1
  1028.           endif
  1029.         elseif((t>t6)&&(t<=t7))
  1030.           f=x*(y3-y0)+y*(x0-x3)-x0*y3+x3*y0
  1031.           if(f<0)
  1032.             flag=1
  1033.           endif
  1034.         elseif((t>t7)&&(t<=t8))
  1035.           f=x*(y4-y2)+y*(x2-x4)-x2*y4+x4*y2
  1036.           if(f>0)
  1037.             flag=1
  1038.           endif
  1039.         elseif((t>t8)&&(t<=t9))
  1040.           f=x*(y4-y1)+y*(x1-x4)-x1*y4+x4*y1
  1041.           if(f<0)
  1042.             flag=1
  1043.           endif
  1044.         else
  1045.           f=x*(y0-y3)+y*(x3-x0)-x3*y0+x0*y3
  1046.           if(f>0)
  1047.             flag=1
  1048.           endif
  1049.         endif
  1050.         z=0
  1051.         if(flag==1)
  1052.           z=(0.0,1.0)
  1053.         endif
  1054.         done==0
  1055.         }
  1056.  
  1057. frm:star { ; Kerry Mitchell 09oct98
  1058.         ;
  1059.         ; draws 5-point star, not a fractal
  1060.         ;
  1061.         ; p1 = center of star
  1062.         ; real(p2) = size of star (try 1)
  1063.         ; imag(p2) = rotation angle, degrees (0 for point at top)
  1064.         ; use decomp=256
  1065.         ;
  1066.         zc=pixel, done=1
  1067.         center=p1, xcen=real(center), ycen=imag(center), r=real(p2)
  1068.         phi=imag(p2)/180*pi, twopi=2*pi, temp=twopi/10
  1069.         t0=phi, t1=temp+phi, t2=2*temp+phi, t3=3*temp+phi
  1070.         t4=4*temp+phi, t5=5*temp+phi, t6=6*temp+phi
  1071.         t7=7*temp+phi, t8=8*temp+phi, t9=9*temp+phi
  1072.         x0=r*cos(t0)+xcen, y0=r*sin(t0)+ycen
  1073.         x1=r*cos(t2)+xcen, y1=r*sin(t2)+ycen
  1074.         x2=r*cos(t4)+xcen, y2=r*sin(t4)+ycen
  1075.         x3=r*cos(t6)+xcen, y3=r*sin(t6)+ycen
  1076.         x4=r*cos(t8)+xcen, y4=r*sin(t8)+ycen
  1077.         :
  1078.         x=real(zc), y=imag(zc), t=imag(log(zc-center))
  1079.         if(t<0)
  1080.           t=t+twopi
  1081.         endif
  1082.         if((t>t0)&&(t<=t1))
  1083.           f=x*(y0-y2)+y*(x2-x0)-x2*y0+x0*y2
  1084.         elseif((t>t1)&&(t<=t2))
  1085.           f=x*(y1-y4)+y*(x4-x1)-x4*y1+x1*y4
  1086.         elseif((t>t2)&&(t<=t3))
  1087.           f=x*(y1-y3)+y*(x3-x1)-x3*y1+x1*y3
  1088.         elseif((t>t3)&&(t<=t4))
  1089.           f=x*(y2-y0)+y*(x0-x2)-x0*y2+x2*y0
  1090.         elseif((t>t4)&&(t<=t5))
  1091.           f=x*(y2-y4)+y*(x4-x2)-x4*y2+x2*y4
  1092.         elseif((t>t5)&&(t<=t6))
  1093.           f=x*(y3-y1)+y*(x1-x3)-x1*y3+x3*y1
  1094.         elseif((t>t6)&&(t<=t7))
  1095.           f=x*(y3-y0)+y*(x0-x3)-x0*y3+x3*y0
  1096.         elseif((t>t7)&&(t<=t8))
  1097.           f=x*(y4-y2)+y*(x2-x4)-x2*y4+x4*y2
  1098.         elseif((t>t8)&&(t<=t9))
  1099.           f=x*(y4-y1)+y*(x1-x4)-x1*y4+x4*y1
  1100.         else
  1101.           f=x*(y3-y0)+y*(x0-x3)-x0*y3+x3*y0
  1102.         endif
  1103.         t=log(cabs(f))
  1104.         z=cos(t)+flip(sin(t))
  1105.         done==0
  1106.         }
  1107.  
  1108.  
  1109.  
  1110. - --------------------------------------------------------------
  1111. Thanks for using Fractint, The Fractals and Fractint Discussion List
  1112. Post Message:   fractint@lists.xmission.com
  1113. Get Commands:   majordomo@lists.xmission.com "help"
  1114. Administrator:  twegner@phoenix.net
  1115. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractint"
  1116.  
  1117. ------------------------------
  1118.  
  1119. Date: Fri, 9 Oct 1998 17:41:38 EDT
  1120. From: SKarl52884@aol.com
  1121. Subject: Re: (fractint) Re: [fractal-art] cost of images
  1122.  
  1123. In a message dated 10/9/98 1:44:48 PM Eastern Daylight Time,
  1124. kchildre@uccs.jpl.nasa.gov writes:
  1125.  
  1126. << The best way I know to do
  1127.  that is to use slides for photographs for underwater photographs, and
  1128.  go from digital to a print for digital images. >>
  1129.  
  1130. Hi there...
  1131.  
  1132. Which brings to mind the digital camera.
  1133.  
  1134. My brother is bringing it over tonight.
  1135. It produces jpg and he claims that to get prints on paper all one needs to do
  1136. is deliver them to the right service agency.
  1137. Appearently the files aren't huge as he sent me a few shots of the of the
  1138. mountains last week while on vacation. They seemed to be at
  1139. 1280x768...downloaded fast
  1140. and looked very very good!
  1141. Steve
  1142.  
  1143.  
  1144.  
  1145.  
  1146.  
  1147.  
  1148.  
  1149.  
  1150. - --------------------------------------------------------------
  1151. Thanks for using Fractint, The Fractals and Fractint Discussion List
  1152. Post Message:   fractint@lists.xmission.com
  1153. Get Commands:   majordomo@lists.xmission.com "help"
  1154. Administrator:  twegner@phoenix.net
  1155. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractint"
  1156.  
  1157. ------------------------------
  1158.  
  1159. Date: Fri, 9 Oct 1998 17:51:19 EDT
  1160. From: SKarl52884@aol.com
  1161. Subject: Re: Sv: (fractint) Re: [fractal-art] cost of images/videomode?
  1162.  
  1163. In a message dated 10/9/98 3:06:47 PM Eastern Daylight Time,
  1164. kimb@post8.tele.dk writes:
  1165.  
  1166. << I
  1167.  render a picture on 4500x3000 or 6000x4000 and then reduces it to 1500x1000
  1168.  to anti-alias it.  >>
  1169.  
  1170. Hi Kim
  1171.  
  1172. Have i missed a fractint up-date???  The highest videomode I have
  1173. [in 19.6.... disk ram ] is 2048x2048 or 2048x1536.
  1174. How are you getting 4500x3000 and 6000x4000?
  1175. Steve
  1176.  
  1177. - --------------------------------------------------------------
  1178. Thanks for using Fractint, The Fractals and Fractint Discussion List
  1179. Post Message:   fractint@lists.xmission.com
  1180. Get Commands:   majordomo@lists.xmission.com "help"
  1181. Administrator:  twegner@phoenix.net
  1182. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractint"
  1183.  
  1184. ------------------------------
  1185.  
  1186. Date: Fri, 09 Oct 1998 17:02:28 -0500
  1187. From: "Paul N. Lee" <Paul.N.Lee@Worldnet.att.net>
  1188. Subject: Re: Sv: (fractint) Re: [fractal-art] cost of images/videomode?
  1189.  
  1190. SKarl52884@aol.com wrote:
  1191. >
  1192. > Have i missed a fractint up-date???  The highest videomode
  1193. > I have [in 19.6.... disk ram ] is 2048x2048 or 2048x1536.
  1194. > How are you getting 4500x3000 and 6000x4000?
  1195.  
  1196. Fractint still generates images at 2048x2048, but if you want higher
  1197. resolution images for printing quality prints, then use Fractint's
  1198. "pieces" divide-and-conquer feature.  You can create multiple PAR
  1199. entries that break an image up into pieces so that you can generate the
  1200. image pieces one by one.  There are two reasons for doing this.  The
  1201. first is in case the fractal is very slow, and you want to generate
  1202. parts of the image at the same time on several computers.  The second is
  1203. that you might want to make an image greater than 2048x2048.  The 
  1204. parameters for this feature are:
  1205.     X Multiples - How many divisions of final image in the x direction
  1206.     Y Multiples - How many divisions of final image in the y direction
  1207.     Video mode  - Fractint video mode for each piece (e.g. "F3")
  1208.  
  1209. The last item defaults to the current video mode.  If either X Multiples
  1210. or Y Multiples are greater than 1, then multiple numbered PAR entries
  1211. for the pieces are added to the PAR file, and a MAKEMIG.BAT file is
  1212. created that builds all of the component pieces and then stitches them
  1213. together into a "multi-image" GIF.  The current limitations of the
  1214. "divide and conquer" algorithm are 36 or fewer X and Y multiples (so you
  1215. are limited to "only" 36x36=1296 component images), and a final
  1216. resolution limit in both the X and Y directions of 65,535 (a limitation
  1217. of "only" four billion pixels or so).
  1218.  
  1219. The final image generated by MAKEMIG is a "multi-image" GIF file called
  1220. FRACTMIG.GIF.  In case you have other software that can't handle
  1221. multi-image GIF files, MAKEMIG includes a final (but commented out) call
  1222. to SIMPLGIF, a companion program that reads a GIF file that may contain
  1223. little tricks like multiple images and creates a simple GIF from it. 
  1224. Fair warning: SIMPLGIF needs room to build a composite image while it
  1225. works, and it does that using a temporary disk file equal to the size of
  1226. the final image - and a 64Kx64K GIF image requires a 4GB temporary disk
  1227. file!
  1228.  
  1229. P.N.L.
  1230. - -------------------------------------------------
  1231. http://www.fractalus.com/cgi-bin/theway?ring=fractals&id=43&go
  1232.  
  1233. - --------------------------------------------------------------
  1234. Thanks for using Fractint, The Fractals and Fractint Discussion List
  1235. Post Message:   fractint@lists.xmission.com
  1236. Get Commands:   majordomo@lists.xmission.com "help"
  1237. Administrator:  twegner@phoenix.net
  1238. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractint"
  1239.  
  1240. ------------------------------
  1241.  
  1242. End of fractint-digest V1 #311
  1243. ******************************
  1244.  
  1245.