home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / sci / fractals / 284 < prev    next >
Encoding:
Internet Message Format  |  1992-11-07  |  1.2 KB

  1. Path: sparky!uunet!utcsri!newsflash.concordia.ca!sifon!thunder.mcrcim.mcgill.edu!sobeco!zap!unimtl!elevia!alain
  2. From: alain@elevia.uniforum.qc.ca (W.A.Simon)
  3. Newsgroups: sci.fractals
  4. Subject: something for the stone soup
  5. Message-ID: <14060@elevia.uniforum.qc.ca>
  6. Date: 05 Nov 92 16:23:49 EST
  7. Lines: 38
  8.  
  9. Here is a proposal for another way of picking colours in
  10. escape orbit type fractals:
  11.  
  12. For every pixel
  13.     If NOT coloured
  14.         Do Until ( maxiter OR escaped )
  15.             [Begin Proposal]
  16.             calculate distance of calculated point z(n+1) from z(n)
  17.             set colour of z(n+1) according to calculated distance
  18.             [End Proposal]
  19.         Done
  20.     EndIf
  21. EndFor
  22.  
  23. This is essentially an escape velocity representation of
  24. the orbits.  Yet another variation would consist in giving
  25. all pixels in the orbit the same colour as the last pixel
  26. of the orbit.
  27.  
  28. There is also an interesting way of generating the image
  29. in slow motion:
  30.  
  31. Do Until ( maxiter )
  32.     For every pixel
  33.         If ( ( NOT escaped ) AND ( NOT coloured ) )
  34.             perform just one iteration
  35.             [escape velocity colouring would fit here]
  36.         EndIf
  37.     EndFor
  38. Done
  39.  
  40. Enjoy...
  41.  
  42.  
  43.  
  44. --
  45.  Alain
  46.  [ ... usual disclaimer... ]
  47.