home *** CD-ROM | disk | FTP | other *** search
/ ftp.xmission.com / 2014.06.ftp.xmission.com.tar / ftp.xmission.com / pub / lists / fractint / archive / v01.n354 < prev    next >
Internet Message Format  |  1999-01-21  |  40KB

  1. From: owner-fractint-digest@lists.xmission.com (fractint-digest)
  2. To: fractint-digest@lists.xmission.com
  3. Subject: fractint-digest V1 #354
  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, January 22 1999        Volume 01 : Number 354
  11.  
  12.  
  13.  
  14.  
  15. ----------------------------------------------------------------------
  16.  
  17. Date: Wed, 20 Jan 1999 00:24:04 -0500
  18. From: Gedeon Peteri <gedeon@InfoAve.Net>
  19. Subject: (fractint) Ultra Fractal pages
  20.  
  21. Two pages at my Geocities website have been extensively revised. The
  22. Chebyshev and the Zf_Ang pages are now entirely made up of multi-layered
  23. true color images generated with Ultra Fractal. Some of the images are
  24. reworked Fractint pars; others
  25. are new. I hope you'll enjoy your visit.
  26.  
  27. Gedeon
  28.  
  29. - --
  30. - --------------------------------------------------------------
  31. Fractals: http://www.geocities.com/~gedeonp/index.html
  32. Member Infinite Fractal Loop
  33. Last updated: January 20, 1999 - two Ultra Fractal pages added
  34. Photography: http://members.xoom.com/gedeonp/index.html
  35. Last updated: November 8, 1998
  36. - --------------------------------------------------------------
  37.  
  38.  
  39.  
  40. - --------------------------------------------------------------
  41. Thanks for using Fractint, The Fractals and Fractint Discussion List
  42. Post Message:   fractint@lists.xmission.com
  43. Get Commands:   majordomo@lists.xmission.com "help"
  44. Administrator:  twegner@phoenix.net
  45. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractint"
  46.  
  47. ------------------------------
  48.  
  49. Date: Tue, 19 Jan 1999 23:44:27 -0600
  50. From: "Paul N. Lee" <Paul.N.Lee@Worldnet.att.net>
  51. Subject: (fractint) The FOTD website....
  52.  
  53. Greetings,
  54.  
  55. I got an email this evening from the folks at my ISP.  A portion of that
  56. message reads as follows:
  57.  
  58.     Your AT&T WorldNet Personal Web Page at
  59.     http://home.att.net/~Paul.N.Lee/FotD/FotD.html
  60.     is terrific-- so good, in fact, that weÆve added it to
  61.     our Member Showcase listing for Science & Technology.
  62.     ItÆs where we feature the most interesting and active
  63.     community sites in AT&T WorldNet Community Port. YouÆll
  64.     definitely get more traffic and visibility for your site
  65.     as a result of your hard work.
  66.  
  67. To see the Web site listed with their other top community Web sites,
  68. please go to  http://community.att.net/community/showcase/index.html.
  69.  
  70. P.N.L.
  71. - --------------------------------------------------------------
  72. http://www.fractalus.com/cgi-bin/theway?ring=fractals&id=43&go
  73.  
  74. - --------------------------------------------------------------
  75. Thanks for using Fractint, The Fractals and Fractint Discussion List
  76. Post Message:   fractint@lists.xmission.com
  77. Get Commands:   majordomo@lists.xmission.com "help"
  78. Administrator:  twegner@phoenix.net
  79. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractint"
  80.  
  81. ------------------------------
  82.  
  83. Date: Wed, 20 Jan 1999 00:44:12 -0500
  84. From: Gedeon Peteri <gedeon@InfoAve.Net>
  85. Subject: (fractint) True color Zf_Angs
  86.  
  87. Paul,
  88.  
  89. I have missed your postings lately. Having started working with Ultra
  90. Fractal a short time ago, the first formula I worked with in it was my
  91. old favorite, your Zf_Ang. I have replaced the images on my old Zf_Ang
  92. page at my Geocities website with these true color images. I thought you
  93. might like to see them. Thanks for your fine formula!
  94.  
  95. Gedeon
  96. - --
  97. - --------------------------------------------------------------
  98. Fractals: http://www.geocities.com/~gedeonp/index.html
  99. Member Infinite Fractal Loop
  100. Last updated: January 20, 1999 - two Ultra Fractal pages added
  101. Photography: http://members.xoom.com/gedeonp/index.html
  102. Last updated: November 8, 1998
  103. - --------------------------------------------------------------
  104.  
  105.  
  106.  
  107. - --------------------------------------------------------------
  108. Thanks for using Fractint, The Fractals and Fractint Discussion List
  109. Post Message:   fractint@lists.xmission.com
  110. Get Commands:   majordomo@lists.xmission.com "help"
  111. Administrator:  twegner@phoenix.net
  112. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractint"
  113.  
  114. ------------------------------
  115.  
  116. Date: Wed, 20 Jan 1999 10:38:54 -0600
  117. From: "Damien M. Jones" <dmj@fractalus.com>
  118. Subject: Re: (fractint) The FOTD website....
  119.  
  120. Paul, Jim,
  121.  
  122. Congratulations!
  123.  
  124. Damien M. Jones   \\
  125. dmj@fractalus.com  \\  Fractalus Galleries & Info:
  126.                     \\  http://www.fractalus.com/
  127.  
  128. Please do not post my e-mail address on a web site or
  129. in a newsgroup.  Thank you.
  130.  
  131. - --------------------------------------------------------------
  132. Thanks for using Fractint, The Fractals and Fractint Discussion List
  133. Post Message:   fractint@lists.xmission.com
  134. Get Commands:   majordomo@lists.xmission.com "help"
  135. Administrator:  twegner@phoenix.net
  136. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractint"
  137.  
  138. ------------------------------
  139.  
  140. Date: Wed, 20 Jan 1999 16:27:31 EST
  141. From: RENRAD1@aol.com
  142. Subject: Re: (fractint) The FOTD website....
  143.  
  144. Congratulations Paul and Jim!   
  145.  
  146. - --------------------------------------------------------------
  147. Thanks for using Fractint, The Fractals and Fractint Discussion List
  148. Post Message:   fractint@lists.xmission.com
  149. Get Commands:   majordomo@lists.xmission.com "help"
  150. Administrator:  twegner@phoenix.net
  151. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractint"
  152.  
  153. ------------------------------
  154.  
  155. Date: Wed, 20 Jan 1999 18:09:34 -0500
  156. From: Paul DeCelle <PaulDC@prodigy.net>
  157. Subject: Re: (fractint) Fabio
  158.  
  159. Fabio Fazzi wrote:
  160. > I can change colors in Winfract but not in Fractint, can somebody explain me how i can
  161. > change colors (as Volcano, Blue, etc...)? 
  162.  
  163. Fabio--
  164.  
  165. With your image loaded (or even while it's still loading), press "C",
  166. then press "L".  This will allow you to load any colormap in the
  167. Fractint directory.  You can cycle the colors by pressing "C" again, and
  168. stop cycling by pressing "C" yet again.  The "<" and ">" keys change the
  169. cycling direction.  Once you have the look you want, press "ESC" to get
  170. back to normal Fractint operations.  I hope this is clear; I change and
  171. cycle colors without really hinking about the steps...
  172.  
  173. Regards, Paul DeCelle
  174.  
  175. - --------------------------------------------------------------
  176. Thanks for using Fractint, The Fractals and Fractint Discussion List
  177. Post Message:   fractint@lists.xmission.com
  178. Get Commands:   majordomo@lists.xmission.com "help"
  179. Administrator:  twegner@phoenix.net
  180. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractint"
  181.  
  182. ------------------------------
  183.  
  184. Date: Wed, 20 Jan 1999 18:21:53 -0500
  185. From: Paul DeCelle <PaulDC@prodigy.net>
  186. Subject: Re: (fractint) Changing Colors
  187.  
  188. Oops, looks like Fabio's question already got answered.  Guess I should
  189. read ALL my mail before replying (66 messages waiting after a two day
  190. absence!)
  191.  
  192. Paul
  193.  
  194. - --------------------------------------------------------------
  195. Thanks for using Fractint, The Fractals and Fractint Discussion List
  196. Post Message:   fractint@lists.xmission.com
  197. Get Commands:   majordomo@lists.xmission.com "help"
  198. Administrator:  twegner@phoenix.net
  199. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractint"
  200.  
  201. ------------------------------
  202.  
  203. Date: Thu, 21 Jan 1999 00:35:57 +0100
  204. From: "Ognen Ivanovski" <milkman@soros.org.mk>
  205. Subject: (fractint) Fw: Fractint & it's color decomposition
  206.  
  207. Hi everyone.
  208. I found the address of Lee Crocker, the author of the Decomposition coloring
  209. method on Fractint's cerdits screen.
  210. I've sent the message below to that address but the author could not be
  211. reached thatways.
  212. So I am hoping that he'll read this message.
  213. Also, if anyone else knows the answer, it would be nice to read it.
  214. Once my project is built, be sure it will be a good source of unusual
  215. "geneticaly engeineered" formulas.
  216.  
  217. Thanks in advance.
  218. Ognen
  219.  
  220. - -----Original Message-----
  221. From: Ognen Ivanovski <milkman@soros.org.mk>
  222. To: Lee Crocker <lcrocker@netcom.com>
  223. Date: Monday, January 18, 1999 6:56 PM
  224. Subject: Fractint & it's color decomposition
  225.  
  226.  
  227. >Hello,
  228. >
  229. >I'm a computer science student who has his love for fractals since early
  230. >highschool. At last I got the oportunity to do something with it, i.e. to
  231. >learn about fractals better.
  232. >
  233. >Now, I am working on a project that I call The Genetic Artist. Using
  234. Genetic
  235. >Algorithm I'm supposed to make a population of fractals (roughly speaking)
  236. >to mate between themselves and produce "better" ones. The more the fractal
  237. >is "fit" the better are the chances to spread it's genes. The fitness is
  238. >based on votes from the visitors of the project's page.
  239. >
  240. >I borrowed the idea from a project that appears at  gatech.edu (called
  241. DNA).
  242. >They are using fractint to generate their images. But I want to make my own
  243. >generator (so I can learn the process throughly) and some of the images
  244. that
  245. >I intend to use as generation one are that beautiful due to using
  246. >decomposition.
  247. >
  248. >In Fractint's Help there is a rough explanation of how it is done. Could
  249. you
  250. >explain the process to me in short terms. All I need to know is:
  251. >
  252. >When the iterations stop at a value of (x, z) and the decomposition factor
  253. >is 64 (I like that value best) how do I determine the color of the pixel
  254. >(ranging 0..255)?
  255. >
  256. >I hope I'm not asking too much of your time. I'd love to send a .par file
  257. in
  258. >exchange for the information. Also when I finish the project I'd like you
  259. to
  260. >come to the web page and see how the generations are going.
  261. >
  262. >Needless to say that my first mean of relaxation at home is of course
  263. >spending hours in front of fractint. :)
  264. >
  265. >Thanks in advance,
  266. >Ognen Ivanovski
  267. >student at the Institute of Informatics
  268. >University of "St. Cyril and Methodius"
  269. >Skopje, Macedonia (former Yougoslav Republic of)
  270. >
  271. >_____
  272. >http://eon.pmf.ukim.edu.mk/~milkman/ [coming soon]
  273. >
  274.  
  275.  
  276. - --------------------------------------------------------------
  277. Thanks for using Fractint, The Fractals and Fractint Discussion List
  278. Post Message:   fractint@lists.xmission.com
  279. Get Commands:   majordomo@lists.xmission.com "help"
  280. Administrator:  twegner@phoenix.net
  281. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractint"
  282.  
  283. ------------------------------
  284.  
  285. Date: Wed, 20 Jan 1999 19:43:00 -0500
  286. From: Barry N Merenoff <110144.2274@compuserve.com>
  287. Subject: (fractint) Re: Decomposition
  288.  
  289. I would assume that the way this is done is by repeatedly squaring the
  290. value from the final iteration. A binary number would be built up from le=
  291. ft
  292. to right. The first (leftmost) bit would be one when the final iteration
  293. has a negative real part or zero when the final iteration has a positive
  294. real part. The second bit would be determined the same way from the squar=
  295. e
  296. of the final iteration; the third, from the fourth power of the final
  297. iteration; etc.
  298.  
  299. If any of these values has a zero real part, it would be grouped with
  300. either the positive or negative real parts; it's up to you. However, you
  301. would have to be consistent.
  302.  
  303. Note: I haven't actually checked the source code on this. It just seems t=
  304. he
  305. sensible way decomposition would be done. If someone knows a mistake in
  306. this algorithm, please let both of us know.
  307.  
  308. Collin Merenoff
  309.  
  310. - --------------------------------------------------------------
  311. Thanks for using Fractint, The Fractals and Fractint Discussion List
  312. Post Message:   fractint@lists.xmission.com
  313. Get Commands:   majordomo@lists.xmission.com "help"
  314. Administrator:  twegner@phoenix.net
  315. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractint"
  316.  
  317. ------------------------------
  318.  
  319. Date: Wed, 20 Jan 1999 19:35:58 -0600
  320. From: "Damien M. Jones" <dmj@fractalus.com>
  321. Subject: Re: (fractint) Re: Decomposition
  322.  
  323. Collin,
  324.  
  325. Actually I'd expect the decomposition to simply be read off from the angle
  326. directly. You could keep squaring the number, but if you don't add c each
  327. time this has precisely the same effect, but it also increases the
  328. magnitude of the number substantially each time, and if your bailout is set
  329. too high you will overflow.
  330.  
  331. Damien M. Jones   \\
  332. dmj@fractalus.com  \\  Fractalus Galleries & Info:
  333.                     \\  http://www.fractalus.com/
  334.  
  335. Please do not post my e-mail address on a web site or
  336. in a newsgroup.  Thank you.
  337.  
  338. - --------------------------------------------------------------
  339. Thanks for using Fractint, The Fractals and Fractint Discussion List
  340. Post Message:   fractint@lists.xmission.com
  341. Get Commands:   majordomo@lists.xmission.com "help"
  342. Administrator:  twegner@phoenix.net
  343. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractint"
  344.  
  345. ------------------------------
  346.  
  347. Date: Wed, 20 Jan 1999 18:47:28 -0700 (MST)
  348. From: Kerry Mitchell <lkmitch@primenet.com>
  349. Subject: Re: (fractint) Re: Decomposition
  350.  
  351. That's my understanding, too.  Setting "decomp=n" will cause Fractint to
  352. color the image by breaking the final polar angle into n segments.  Binary
  353. decomposition would come from setting decomp=2.  Then, all the angles from
  354. 0 to pi would be rendered in one color, and pi to 2*pi in another.
  355.  
  356. Kerry
  357.  
  358. - -------------------------------------------------------------------------------
  359. Kerry Mitchell
  360. lkmitch@primenet.com    www.primenet.com/~lkmitch/
  361. - -------------------------------------------------------------------------------
  362.  
  363. On Wed, 20 Jan 1999, Damien M. Jones wrote:
  364.  
  365. > Collin,
  366. > Actually I'd expect the decomposition to simply be read off from the angle
  367. > directly. You could keep squaring the number, but if you don't add c each
  368. > time this has precisely the same effect, but it also increases the
  369. > magnitude of the number substantially each time, and if your bailout is set
  370. > too high you will overflow.
  371. > Damien M. Jones   \\
  372.  
  373.  
  374. - --------------------------------------------------------------
  375. Thanks for using Fractint, The Fractals and Fractint Discussion List
  376. Post Message:   fractint@lists.xmission.com
  377. Get Commands:   majordomo@lists.xmission.com "help"
  378. Administrator:  twegner@phoenix.net
  379. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractint"
  380.  
  381. ------------------------------
  382.  
  383. Date: Wed, 20 Jan 1999 21:12:53 -0500
  384. From: JoWeber <JoWeber@compuserve.com>
  385. Subject: (fractint) web-site has been moved
  386.  
  387. Hi All,
  388.  
  389. I moved my site to
  390.  
  391. http://www.joweber.de
  392.  
  393. and added a new page. Cheers --Jo--
  394.  
  395. - --------------------------------------------------------------
  396. Thanks for using Fractint, The Fractals and Fractint Discussion List
  397. Post Message:   fractint@lists.xmission.com
  398. Get Commands:   majordomo@lists.xmission.com "help"
  399. Administrator:  twegner@phoenix.net
  400. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractint"
  401.  
  402. ------------------------------
  403.  
  404. Date: Thu, 21 Jan 1999 10:36:45 GMT
  405. From: "Andrew Coppin" <KHCM8AC@dmu.ac.uk>
  406. Subject: (fractint) Algorithm for Decomposition
  407.  
  408. To draw a fractal with binary decomposition, e.i. decomp="n":
  409.  
  410.   1. Do the usual calculation for the pixel colour exactly as normal.
  411.   2. Instead of using the iteration count for the colour value...
  412.     a) Work out the imaginary part of the final value of Z (or 
  413. whatever) divided by the real part.
  414.     b) Take the arc-tangent of this value.
  415.     c) You now have an angle (radians!) between +Pi and -Pi.
  416.     d) Split that range into "n" intervals, and see which interval 
  417. contains your angle. The number of this interval is than the pixel 
  418. colour.
  419.  
  420. Simple.
  421. Nam et ipsa scientia potestus est!
  422. Andrew Orphi Coppin
  423. DMU MK.
  424.  
  425. - --------------------------------------------------------------
  426. Thanks for using Fractint, The Fractals and Fractint Discussion List
  427. Post Message:   fractint@lists.xmission.com
  428. Get Commands:   majordomo@lists.xmission.com "help"
  429. Administrator:  twegner@phoenix.net
  430. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractint"
  431.  
  432. ------------------------------
  433.  
  434. Date: Thu, 21 Jan 1999 11:23:37 GMT
  435. From: "Andrew Coppin" <KHCM8AC@dmu.ac.uk>
  436. Subject: (fractint) Set Union
  437.  
  438. I'm working with the formula (Z^3) - 3(A^2)Z + B, which is 
  439. (apparently) a generalization of all possible 3rd degree polynomials. 
  440. I've got Julia sets working fine, but I'm having trouble with the M 
  441. set. You see, with the good old quadratic M you must iterate one 
  442. point, zero, and see where that goes. However, for this Cubic M, 
  443. there are two points to worry about, +A and -A. So there are two M 
  444. sets, M+ and M-. I've got formulas for these working just fine, but M 
  445. itself is the Union of M+ and M-. How do I do that in FractInt?
  446.  
  447. P.S. For anyone interested, you can do these Julias with
  448.  
  449. CubicJulia = {
  450.   A = p1,
  451.   B = p2,
  452.   T = 3*A*A,
  453.   Z = Pixel:
  454.     Z = Z*Z*Z - T*Z + B,
  455.   |Z| < 4
  456. }
  457.  
  458. For anyone wanting to see the M set (or M+ or M-), there's an 
  459. additional problem: they're 4-dimensional!!! I can do slices parallel 
  460. to the "A" plane of the "B" plane (B looks best). For example
  461.  
  462. CubicMandelbrotBP = {
  463.   A = p1,
  464.   B = Pixel,
  465.   T = 3*A*A,
  466.   Z = A:
  467.     Z = Z*Z*Z - T*Z + B,
  468.   |Z| < 4
  469. }
  470.  
  471. That gives you M+ in the B plane. To change it to the M- set, change 
  472. "Z=A" to "Z=-A". To change to the "A" plane, replace "A=p1" with 
  473. "A=Pixel" and replace "B=Pixel" with "B=p1".
  474.  
  475. P.P.S Yes, I *KNOW* that M+ and M- are symmetrical.
  476.  
  477. - ---------------------------------
  478. Nam et ipsa scientia potestus est!
  479. Andrew Orphi Coppin
  480. DMU MK.
  481.  
  482. - --------------------------------------------------------------
  483. Thanks for using Fractint, The Fractals and Fractint Discussion List
  484. Post Message:   fractint@lists.xmission.com
  485. Get Commands:   majordomo@lists.xmission.com "help"
  486. Administrator:  twegner@phoenix.net
  487. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractint"
  488.  
  489. ------------------------------
  490.  
  491. Date: Thu, 21 Jan 1999 11:50:24 GMT
  492. From: "Andrew Coppin" <KHCM8AC@dmu.ac.uk>
  493. Subject: Re: (fractint) Set Union
  494.  
  495. O.K., I've solved it. I've managed to find a quick work arround. If 
  496. you use two orbit variables, X and Y, and initalize them to +A and -A 
  497. respectivly, then run them both though the normal iteration formula, 
  498. then at the end of each iteration assign the one with the highest 
  499. magnitude to be the value of Z, then use |Z| < 4 as your bailout. 
  500. Behold:
  501.  
  502. CubicMandelbrotB = {
  503.   A = p1,
  504.   B = Pixel,
  505.   T = 3*A*A,
  506.   X = A,
  507.   Y =-A,
  508.     X = X*X*X - T*X + B,
  509.     Y = Y*Y*Y - T*Y + B,
  510.     if(|X|>|Y|)
  511.       Z=X
  512.     else
  513.       Z=Y
  514.     endif
  515.   |Z| < 4
  516. }
  517.  
  518. By reversing the ">" in the if() to an "<" you can do intersection 
  519. instead. So this method works, but it's sssssllooooowwww. If anyone 
  520. has a faster idea I'd just love to hear it.
  521.  
  522. - ---------------------------------
  523. Nam et ipsa scientia potestus est!
  524. Andrew Orphi Coppin
  525. DMU MK.
  526.  
  527. - --------------------------------------------------------------
  528. Thanks for using Fractint, The Fractals and Fractint Discussion List
  529. Post Message:   fractint@lists.xmission.com
  530. Get Commands:   majordomo@lists.xmission.com "help"
  531. Administrator:  twegner@phoenix.net
  532. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractint"
  533.  
  534. ------------------------------
  535.  
  536. Date: Thu, 21 Jan 1999 10:25:21 -0300
  537. From: "Alejandro Kainer" <alejandro.kainer@usa.net>
  538. Subject: RE: (fractint) Set Union
  539.  
  540. Hi Andrew,
  541.  
  542. I know that maybe it's nonsense, but have you tried putting A^2 and X^3 and
  543. Y^3 instead of A*A and X*X*X and Y*Y*Y?. Maybe the formula parser process it
  544. faster if it doesn't have to work with three or two variables at the same
  545. time...
  546.  
  547. Ale
  548.  
  549. PS: I'm still trying to understand how the formulas work, so forgive me if I
  550. ignore some facts that may result obvious to others.
  551.  
  552. ________________________________
  553. Alejandro Gustavo Kainer
  554. e-mail: alejandro.kainer@usa.net
  555. ________________________________
  556.  
  557. - -----Original Message-----
  558. De: Andrew Coppin <KHCM8AC@dmu.ac.uk>
  559. Para: fractint@xmission.com <fractint@xmission.com>
  560. Fecha: Jueves 21 de Enero de 1999 09:01
  561. Asunto: Re: (fractint) Set Union
  562.  
  563.  
  564. O.K., I've solved it. I've managed to find a quick work arround. If
  565. you use two orbit variables, X and Y, and initalize them to +A and -A
  566. respectivly, then run them both though the normal iteration formula,
  567. then at the end of each iteration assign the one with the highest
  568. magnitude to be the value of Z, then use |Z| < 4 as your bailout.
  569. Behold:
  570.  
  571. CubicMandelbrotB = {
  572.   A = p1,
  573.   B = Pixel,
  574.   T = 3*A*A,
  575.   X = A,
  576.   Y =-A,
  577.     X = X*X*X - T*X + B,
  578.     Y = Y*Y*Y - T*Y + B,
  579.     if(|X|>|Y|)
  580.       Z=X
  581.     else
  582.       Z=Y
  583.     endif
  584.   |Z| < 4
  585. }
  586.  
  587. By reversing the ">" in the if() to an "<" you can do intersection
  588. instead. So this method works, but it's sssssllooooowwww. If anyone
  589. has a faster idea I'd just love to hear it.
  590.  
  591. - ---------------------------------
  592. Nam et ipsa scientia potestus est!
  593. Andrew Orphi Coppin
  594. DMU MK.
  595.  
  596. - --------------------------------------------------------------
  597. Thanks for using Fractint, The Fractals and Fractint Discussion List
  598. Post Message:   fractint@lists.xmission.com
  599. Get Commands:   majordomo@lists.xmission.com "help"
  600. Administrator:  twegner@phoenix.net
  601. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractint"
  602.  
  603.  
  604. - --------------------------------------------------------------
  605. Thanks for using Fractint, The Fractals and Fractint Discussion List
  606. Post Message:   fractint@lists.xmission.com
  607. Get Commands:   majordomo@lists.xmission.com "help"
  608. Administrator:  twegner@phoenix.net
  609. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractint"
  610.  
  611. ------------------------------
  612.  
  613. Date: Thu, 21 Jan 1999 10:24:14 -0500
  614. From: Paul Derbyshire <pderbysh@usa.net>
  615. Subject: Re: (fractint) Set Union
  616.  
  617. At 11:23 AM 1/21/99 GMT, you wrote:
  618. >I'm working with the formula (Z^3) - 3(A^2)Z + B, which is 
  619. >(apparently) a generalization of all possible 3rd degree polynomials. 
  620. >I've got Julia sets working fine, but I'm having trouble with the M 
  621. >set. You see, with the good old quadratic M you must iterate one 
  622. >point, zero, and see where that goes. However, for this Cubic M, 
  623. >there are two points to worry about, +A and -A. So there are two M 
  624. >sets, M+ and M-. I've got formulas for these working just fine, but M 
  625. >itself is the Union of M+ and M-. How do I do that in FractInt?
  626.  
  627. I've created images for this type of fractal by superimposing images for
  628. both critical points. I even have Fractint formulas to generate such
  629. images; they use color ranges to color various areas...
  630. - -- 
  631.    .*.  "Clouds are not spheres, mountains are not cones, coastlines are not
  632. - -()  <  circles, and bark is not smooth, nor does lightning travel in a
  633.    `*'  straight line."    -------------------------------------------------
  634.         -- B. Mandelbrot  |http://surf.to/pgd.net
  635. _____________________ ____|________     Paul Derbyshire     pderbysh@usa.net
  636. Programmer & Humanist|ICQ: 10423848|
  637.  
  638. - --------------------------------------------------------------
  639. Thanks for using Fractint, The Fractals and Fractint Discussion List
  640. Post Message:   fractint@lists.xmission.com
  641. Get Commands:   majordomo@lists.xmission.com "help"
  642. Administrator:  twegner@phoenix.net
  643. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractint"
  644.  
  645. ------------------------------
  646.  
  647. Date: Thu, 21 Jan 1999 11:22:14 -0500
  648. From: George Martin <GGMARTIN@compuserve.com>
  649. Subject: RE: (fractint) Set Union
  650.  
  651. Ale wrote:
  652.  
  653. >
  654. I know that maybe it's nonsense, but have you tried putting A^2 and X^3 a=
  655. nd
  656. Y^3 instead of A*A and X*X*X and Y*Y*Y?. Maybe the formula parser process=
  657.  
  658. it  faster if it doesn't have to work with three or two variables at the
  659. same time...
  660. <
  661.  
  662. The "fast" parser used with floating point math calculates x*x with the
  663. same function as x^2, so there is no speed up here.
  664.  
  665. George Martin
  666.  
  667.  =
  668.  
  669.  
  670. - --------------------------------------------------------------
  671. Thanks for using Fractint, The Fractals and Fractint Discussion List
  672. Post Message:   fractint@lists.xmission.com
  673. Get Commands:   majordomo@lists.xmission.com "help"
  674. Administrator:  twegner@phoenix.net
  675. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractint"
  676.  
  677. ------------------------------
  678.  
  679. Date: Thu, 21 Jan 1999 10:03:47 -0600
  680. From: "Damien M. Jones" <dmj@fractalus.com>
  681. Subject: RE: (fractint) Set Union
  682.  
  683. Ale,
  684.  
  685.  - I know that maybe it's nonsense, but have you tried putting A^2 and
  686.  - X^3 and Y^3 instead of A*A and X*X*X and Y*Y*Y?. Maybe the formula
  687.  - parser process it faster if it doesn't have to work with three or
  688.  - two variables at the same time...
  689.  
  690. Not at all--exponentiation is a very expensive process, but multiplication
  691. is relatively cheap. In fact, sqr(A) is faster than A*A.
  692.  
  693. Damien M. Jones   \\
  694. dmj@fractalus.com  \\  Fractalus Galleries & Info:
  695.                     \\  http://www.fractalus.com/
  696.  
  697. Please do not post my e-mail address on a web site or
  698. in a newsgroup.  Thank you.
  699.  
  700. - --------------------------------------------------------------
  701. Thanks for using Fractint, The Fractals and Fractint Discussion List
  702. Post Message:   fractint@lists.xmission.com
  703. Get Commands:   majordomo@lists.xmission.com "help"
  704. Administrator:  twegner@phoenix.net
  705. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractint"
  706.  
  707. ------------------------------
  708.  
  709. Date: Thu, 21 Jan 1999 14:11:50 -0300
  710. From: "Alejandro Kainer" <alejandro.kainer@usa.net>
  711. Subject: RE: (fractint) Set Union
  712.  
  713. Damien,
  714.  
  715. OK, I understand that exponentiation is expensive. But you wrote "In fact,
  716. sqr(A) is faster than A*A". How could that be? I mean, I think that the
  717. function sqr() acts the same as A*A, but first the parser has to translate
  718. it. Doesn't it mean an expensive way of doing the same thing too?
  719.  
  720. Ale
  721.  
  722. - -----Original Message-----
  723. De: Damien M. Jones <dmj@fractalus.com>
  724. Para: fractint@lists.xmission.com <fractint@lists.xmission.com>
  725. Fecha: Jueves 21 de Enero de 1999 13:52
  726. Asunto: RE: (fractint) Set Union
  727.  
  728.  
  729. >Ale,
  730. >
  731. > - I know that maybe it's nonsense, but have you tried putting A^2 and
  732. > - X^3 and Y^3 instead of A*A and X*X*X and Y*Y*Y?. Maybe the formula
  733. > - parser process it faster if it doesn't have to work with three or
  734. > - two variables at the same time...
  735. >
  736. >Not at all--exponentiation is a very expensive process, but multiplication
  737. >is relatively cheap. In fact, sqr(A) is faster than A*A.
  738. >
  739. >Damien M. Jones   \\
  740. >dmj@fractalus.com  \\  Fractalus Galleries & Info:
  741. >                    \\  http://www.fractalus.com/
  742. >
  743. >Please do not post my e-mail address on a web site or
  744. >in a newsgroup.  Thank you.
  745. >
  746. >--------------------------------------------------------------
  747. >Thanks for using Fractint, The Fractals and Fractint Discussion List
  748. >Post Message:   fractint@lists.xmission.com
  749. >Get Commands:   majordomo@lists.xmission.com "help"
  750. >Administrator:  twegner@phoenix.net
  751. >Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractint"
  752.  
  753.  
  754. - --------------------------------------------------------------
  755. Thanks for using Fractint, The Fractals and Fractint Discussion List
  756. Post Message:   fractint@lists.xmission.com
  757. Get Commands:   majordomo@lists.xmission.com "help"
  758. Administrator:  twegner@phoenix.net
  759. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractint"
  760.  
  761. ------------------------------
  762.  
  763. Date: Thu, 21 Jan 1999 12:25:10 -0500
  764. From: Barry N Merenoff <110144.2274@compuserve.com>
  765. Subject: (fractint) Re: Sqr function
  766.  
  767. The expansion of (a+bi)^2 is (a^2-b^2)+2abi. If this were done with regul=
  768. ar
  769. multiplication, you would multiply a by a, multiply b by b, and then
  770. subtract. However, a faster way to do this, which Sqr probably takes
  771. advantage of, is to factor the real part as (a+b)(a-b). This would give y=
  772. ou
  773. one addition, one subtraction, and one multiplication. Since addition is
  774. cheaper (faster) than multiplication, this is probably how Sqr(z) can be
  775. faster than z*z. Note that this shortcut works only when the two complex
  776. factors are equal, so it couldn't be programmed into the regular
  777. multiplication operation.
  778.  
  779. Collin Merenoff
  780.  
  781. PS: Yes, of course, repeated squaring would cause overflow; I should have=
  782.  
  783. realized that. However, an easy way to avoid this would be to halve each
  784. square until it is within a certain "safety zone." I think this would be
  785. faster than computing the arctangent.
  786.  
  787. - --------------------------------------------------------------
  788. Thanks for using Fractint, The Fractals and Fractint Discussion List
  789. Post Message:   fractint@lists.xmission.com
  790. Get Commands:   majordomo@lists.xmission.com "help"
  791. Administrator:  twegner@phoenix.net
  792. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractint"
  793.  
  794. ------------------------------
  795.  
  796. Date: Thu, 21 Jan 1999 11:59:25 -0600
  797. From: "Damien M. Jones" <dmj@fractalus.com>
  798. Subject: Re: (fractint) Re: Sqr function
  799.  
  800. Collin,
  801.  
  802.  - The expansion of (a+bi)^2 is (a^2-b^2)+2abi. If this were done with
  803.  - regular multiplication, you would multiply a by a, multiply b by b,
  804.  - and then subtract. However, a faster way to do this, which Sqr
  805.  - probably takes advantage of, is to factor the real part as (a+b)(a-b).
  806.  - This would give you one addition, one subtraction, and one
  807.  - multiplication. Since addition is cheaper (faster) than
  808.  - multiplication, this is probably how Sqr(z) can be faster than z*z.
  809.  
  810. Actually, the differences in cost between multiplication and addition are
  811. almost negligible on a Pentium, and still minor on a Pentium-II. Unless you
  812. are doing assembly programming, you might as well totally ignore the
  813. difference and treat them as equal (at least for floating-point work;
  814. integers are another matter). And when you DO get to the floating-point
  815. level, other considerations come into play, such as pipelining, register
  816. availability, etc. I actually found in several cases it's faster to skip
  817. this "optimization" entirely and use a^2-b^2, especially if you need
  818. a^2+b^2 for bailout (as you do for the M-set and J-sets).
  819.  
  820. For architectures where multiplication is still expensive (80x486 and
  821. earlier; 680x0; others, no doubt) this optimization makes more sense.
  822.  
  823.  - PS: Yes, of course, repeated squaring would cause overflow; I should
  824.  - have realized that. However, an easy way to avoid this would be to
  825.  - halve each square until it is within a certain "safety zone." I think
  826.  - this would be faster than computing the arctangent.
  827.  
  828. Not so much as you'd think. Figure at least ten cycles per bit for the
  829. squaring method, versus 35 to 150 cycles for directly computing the
  830. arctangent (on a Pentium). You can get eight bits in eighty cycles, which
  831. is faster than arctangent in some cases. If you need more bits, you might
  832. as well compute it directly. And don't forget, you only do this calculation
  833. once per point, not once per iteration; this makes optimizing it
  834. considerably less important.
  835.  
  836. Damien M. Jones   \\
  837. dmj@fractalus.com  \\  Fractalus Galleries & Info:
  838.                     \\  http://www.fractalus.com/
  839.  
  840. Please do not post my e-mail address on a web site or
  841. in a newsgroup.  Thank you.
  842.  
  843. - --------------------------------------------------------------
  844. Thanks for using Fractint, The Fractals and Fractint Discussion List
  845. Post Message:   fractint@lists.xmission.com
  846. Get Commands:   majordomo@lists.xmission.com "help"
  847. Administrator:  twegner@phoenix.net
  848. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractint"
  849.  
  850. ------------------------------
  851.  
  852. Date: Thu, 21 Jan 1999 11:41:55 -0600
  853. From: "Damien M. Jones" <dmj@fractalus.com>
  854. Subject: RE: (fractint) Set Union
  855.  
  856. Ale,
  857.  
  858.  - OK, I understand that exponentiation is expensive. But you wrote "In
  859.  - fact, sqr(A) is faster than A*A". How could that be? I mean, I think
  860.  - that the function sqr() acts the same as A*A, but first the parser
  861.  - has to translate it. Doesn't it mean an expensive way of doing the
  862.  - same thing too?
  863.  
  864. sqr(A) returns the same result as A*A, of course. But as Collin points out,
  865. it is slightly faster because the calculation can be optimized a bit. The
  866. FractInt parser only parses the formula once, it doesn't parse it over and
  867. over. So the cost of parsing sqr(A) versus A*A is only incurred once.
  868.  
  869. Damien M. Jones   \\
  870. dmj@fractalus.com  \\  Fractalus Galleries & Info:
  871.                     \\  http://www.fractalus.com/
  872.  
  873. Please do not post my e-mail address on a web site or
  874. in a newsgroup.  Thank you.
  875.  
  876. - --------------------------------------------------------------
  877. Thanks for using Fractint, The Fractals and Fractint Discussion List
  878. Post Message:   fractint@lists.xmission.com
  879. Get Commands:   majordomo@lists.xmission.com "help"
  880. Administrator:  twegner@phoenix.net
  881. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractint"
  882.  
  883. ------------------------------
  884.  
  885. Date: Thu, 21 Jan 1999 13:16:06 -0500
  886. From: Paul Derbyshire <pderbysh@usa.net>
  887. Subject: RE: (fractint) Set Union
  888.  
  889. At 02:11 PM 1/21/99 -0300, you wrote:
  890. >Damien,
  891. >
  892. >OK, I understand that exponentiation is expensive. But you wrote "In fact,
  893. >sqr(A) is faster than A*A". How could that be? I mean, I think that the
  894. >function sqr() acts the same as A*A, but first the parser has to translate
  895. >it. Doesn't it mean an expensive way of doing the same thing too?
  896.  
  897. No, the parser doesn't change sqr(x) into x*x and reparse it...
  898. it parses x*y where x=a+bi and y=c+di as (ac-bd) + (bc+ad)i, four fmuls and
  899. an fadd and fsub. (It doesn't care whether y=x in particular so x*x is
  900. still four fmuls...)
  901. It parses sqr(x) into (a+b)(a-b) + 2abi, which is two fmuls and two fadds
  902. and a fsub. (The 2ab is one fmul and a fadd since, assuming Tim Wegener
  903. wasn't drunk or deranged on the day he wrote that particular line of code,
  904. he has it actually work as ab + ab, since the add is less expensive than
  905. another multiply.)
  906.  
  907. Since multiplies are the main contributors to cycle-eating in mathematical
  908. iterations, we highlight this as follows: x*x causes four multiples and
  909. sqr(x) only two. sqr(x) may be as much as twice as fast depending on how
  910. much more expensive fmuls are than fadds. This might depend on your
  911. processor of course...
  912. - -- 
  913.    .*.  "Clouds are not spheres, mountains are not cones, coastlines are not
  914. - -()  <  circles, and bark is not smooth, nor does lightning travel in a
  915.    `*'  straight line."    -------------------------------------------------
  916.         -- B. Mandelbrot  |http://surf.to/pgd.net
  917. _____________________ ____|________     Paul Derbyshire     pderbysh@usa.net
  918. Programmer & Humanist|ICQ: 10423848|
  919.  
  920. - --------------------------------------------------------------
  921. Thanks for using Fractint, The Fractals and Fractint Discussion List
  922. Post Message:   fractint@lists.xmission.com
  923. Get Commands:   majordomo@lists.xmission.com "help"
  924. Administrator:  twegner@phoenix.net
  925. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractint"
  926.  
  927. ------------------------------
  928.  
  929. Date: Fri, 22 Jan 1999 01:16:03 -0600
  930. From: "Paul N. Lee" <Paul.N.Lee@Worldnet.att.net>
  931. Subject: Re: (fractint) The FOTD website....
  932.  
  933. Michael Traynor wrote:
  934. >
  935. > Paul,
  936. >
  937. > No surprise, and well deserved.  Congrats.
  938. >
  939.  
  940. Damien M. Jones wrote:
  941. >
  942. > Paul, Jim,
  943. >
  944. > Congratulations!
  945. >
  946.  
  947. RENRAD1@aol.com wrote:
  948. >
  949. > Congratulations Paul and Jim!
  950. >
  951.  
  952.  
  953. Thank you (one and all) very much !!!
  954.  
  955. The comments and praise are most welcome.   :-)
  956.  
  957. Later,
  958. P.N.L.
  959. - --------------------------------------------------------------
  960. http://www.fractalus.com/cgi-bin/theway?ring=fractals&id=43&go
  961.  
  962. - --------------------------------------------------------------
  963. Thanks for using Fractint, The Fractals and Fractint Discussion List
  964. Post Message:   fractint@lists.xmission.com
  965. Get Commands:   majordomo@lists.xmission.com "help"
  966. Administrator:  twegner@phoenix.net
  967. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractint"
  968.  
  969. ------------------------------
  970.  
  971. Date: Fri, 22 Jan 1999 10:25:10 GMT
  972. From: "Andrew Coppin" <KHCM8AC@dmu.ac.uk>
  973. Subject: (fractint) Re: Alejandro Kainer's Message
  974.  
  975. Yeh, it is nonsense. If you read the documents (I can't remember 
  976. exactly where it says so) you'll see that the FractInt authors 
  977. strongly warn *against* using, e.g. Q^5, and say that Q*Q*Q*Q*Q is 
  978. raster (about 4 times faster in my experience). The reason is that 
  979. the "^" operator is designed to work with complex number powers as 
  980. well, which means it's programmed with an X. X. Complicated Formula. 
  981. But never mind, and thanks for the message all the same.
  982.  
  983. - ---------------------------------
  984. Nam et ipsa scientia potestus est!
  985. Andrew Orphi Coppin
  986. DMU MK.
  987.  
  988. - --------------------------------------------------------------
  989. Thanks for using Fractint, The Fractals and Fractint Discussion List
  990. Post Message:   fractint@lists.xmission.com
  991. Get Commands:   majordomo@lists.xmission.com "help"
  992. Administrator:  twegner@phoenix.net
  993. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractint"
  994.  
  995. ------------------------------
  996.  
  997. Date: Fri, 22 Jan 1999 10:41:48 GMT
  998. From: "Andrew Coppin" <KHCM8AC@dmu.ac.uk>
  999. Subject: (fractint) MIDI
  1000.  
  1001. I had a look on the semi-offical FractInt Wish List, and at the 
  1002. botton one of the Authors wrote "MIDI support requires someone who 
  1003. understands MIDI". Well, I do, so what on earth is it going to be 
  1004. used for in a graphics program?!?!
  1005.  
  1006. - ---------------------------------
  1007. Nam et ipsa scientia potestus est!
  1008. Andrew Orphi Coppin
  1009. DMU MK.
  1010.  
  1011. - --------------------------------------------------------------
  1012. Thanks for using Fractint, The Fractals and Fractint Discussion List
  1013. Post Message:   fractint@lists.xmission.com
  1014. Get Commands:   majordomo@lists.xmission.com "help"
  1015. Administrator:  twegner@phoenix.net
  1016. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractint"
  1017.  
  1018. ------------------------------
  1019.  
  1020. Date: Fri, 22 Jan 1999 09:07:23 -0500
  1021. From: George Martin <GGMARTIN@compuserve.com>
  1022. Subject: (fractint) Re: Alejandro Kainer's Message
  1023.  
  1024. Ale wrote:
  1025.  
  1026. >
  1027. Yeh, it is nonsense. If you read the documents (I can't remember =
  1028.  
  1029. exactly where it says so) you'll see that the FractInt authors =
  1030.  
  1031. strongly warn *against* using, e.g. Q^5, and say that Q*Q*Q*Q*Q is =
  1032.  
  1033. faster (about 4 times faster in my experience). The reason is that =
  1034.  
  1035. the "^" operator is designed to work with complex number powers as =
  1036.  
  1037. well...
  1038. <
  1039.  
  1040. This is correct. If the power is a real integer constant -1, 0, 1, or 2,
  1041. the parser recognizes this and does not run the power function ("^"), but=
  1042.  
  1043. instead runs recip, one, ident, or sqr respectively. Any other power,
  1044. whether real, imaginary or complex, runs the power function, which is one=
  1045.  
  1046. of the slowest in the arsenal. Thus real postive integers greater than tw=
  1047. o
  1048. are likely to run much faster if expressed as multiplication rather than
  1049. power, e.g. X*X*X is better than x^3.
  1050.  
  1051.  
  1052. Paul wrote:
  1053.  
  1054. >
  1055. It parses sqr(x) into (a+b)(a-b) + 2abi, which is two fmuls and two fadds=
  1056.  
  1057. and a fsub. (The 2ab is one fmul and a fadd since, assuming Tim Wegener
  1058. wasn't drunk or deranged on the day he wrote that particular line of code=
  1059. ,
  1060. he has it actually work as ab + ab, since the add is less expensive than
  1061. another multiply.)
  1062. <
  1063.  
  1064. Paul is right. Here is the ASM code for the sqr function:
  1065.  
  1066.       fld          st(0)               ; x x y
  1067.       fld          st(0)               ; x x x y
  1068.       fmul         st,st(3)            ; xy x x y
  1069.       fadd         st,st               ; 2xy x x y
  1070.       fxch         st(3)               ; y x x 2xy
  1071.       fadd         st(2),st            ; y x x+y 2xy
  1072.       fsubp        st(1),st            ; x-y x+y 2xy
  1073.       fmulp        st(1),st            ; xx-yy 2xy
  1074.  
  1075. Note line 4. This code was written by the eminently sober Chuck Ebbert. :=
  1076. )
  1077.  
  1078. George Martin
  1079.  
  1080. - --------------------------------------------------------------
  1081. Thanks for using Fractint, The Fractals and Fractint Discussion List
  1082. Post Message:   fractint@lists.xmission.com
  1083. Get Commands:   majordomo@lists.xmission.com "help"
  1084. Administrator:  twegner@phoenix.net
  1085. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractint"
  1086.  
  1087. ------------------------------
  1088.  
  1089. Date: Fri, 22 Jan 1999 15:14 0000
  1090. From: comdotatdotcom@csi.com
  1091. Subject: RE: (fractint) MIDI
  1092.  
  1093. Hi Andrew
  1094. > "MIDI support requires someone who
  1095. >understands MIDI". Well, I do, so what on earth is it going to be
  1096. >used for in a graphics program?!?!
  1097.  
  1098. It's OK, I'm dealing with it :-) there have been a number of people
  1099. interested in turning the chaotic orbits of  fractal caculation into music
  1100. of some sort, and since most modern sound cards include
  1101. comprehensive wavetable support I guess folks just want their favorite
  1102. program to use their new hardware :-)
  1103.  
  1104. Cheers,
  1105.         Robin.
  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. End of fractint-digest V1 #354
  1120. ******************************
  1121.  
  1122.