|
![](/i/fill.gif) |
Nathan or Ron. Would any of you be so kind of including my humble patch
to your great ones when it's done? I think that there's no point in compiling
an independent patched version which only have the official features besides
the fractal things.
The fractal patch has currently the following new pattern types:
- mandel3, mandel4: Like mandel, but the formula is: z(n+1) = z(n)^p + c,
where 'p' is 3 and 4 respectively.
- julia, julia3, julia4: Julia sets, where 'p' is 2, 3 and 4 respectively.
- magnet1m, magnet2m: Fractals derived from some magnetic renormalisation
transformations (see the fractint help for more details).
- magnet1j, magnet2j: The julia versions of the same fractals.
The syntax for the mandel-type patterns is the same as with the regular
mandel pattern:
PATTERN_TYPE ITERATIONS
The syntax for the julia-type patterns is:
PATTERN_TYPE COORDINATE ITERATIONS
The COORDINATE is a 2-dimensional vector (denoting a complex number)
about which the set is calculated. For example:
julia <.353,.288> 30
Besides this the patch has two new keywords which work with all the fractal
types (including mandel):
fractal_interior_type TYPE, FACTOR
fractal_exterior_type TYPE, FACTOR
This sets how the interior and the exterior of the fractals are colored.
Currently the value of TYPE can be an integer between 0 and 6.
All return values (except type 2 for exterior) are multiplied by FACTOR
before returning.
The types are the following:
Type Coloring method
---- ---------------
0 Returns just 1 (which is multiplied by FACTOR)
1 For exterior: The number of iterations until bailout divided by
ITERATIONS
For interior: The absolute value of the smallest point in the
orbit of the calculated point.
2 Real part of the last point in the orbit
3 Imaginary part of the last point in the orbit
4 Squared real part of the last point in the orbit
5 Squared imaginary part of the last point in the orbit
6 Absolute value of the last point in the orbit
When not specified, the default value for fractal_exterior_type is 1,
for fractal_interior_type it is 0 and for FACTOR it's 1.
For examples see my posts in p.b.images.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
![](/i/fill.gif) |