Scroll or pinch to zoom · drag to pan · double-click/tap to reset

Nmax

This is the escape-time page's wilder sibling. The Mandelbrot page holds Fractint's own fractal types, each written out and checked against its source. Fractint also let anyone write a new one: a formula file is a list of short programs in Fractint's formula language, one per fractal, and over the years the community filled a dozen of them. They are here as they were distributed, so the lab is the unreviewed, community side of Fractint: some of the pictures are stunning, a few are broken, and nobody has checked every one against Fractint.

A formula has the shape Name(Symmetry) { start : step, test }. Before the colon is what happens once for each pixel; after it is repeated, and the last statement is the test: while its real part is not zero the orbit goes on, and the number of repetitions that passed is the color (the pixels that last until Nmax are the inside). Every variable is a complex number, pixel is the point being drawn, z the usual orbit, p1 to p5 are parameters you set above the text, and fn1 to fn4 are functions you choose (sin, sqr, and so on). |z| is the square of the size of z, which is why the tests read |z| <= 4. Operators are + - * / ^, the comparisons (< <= > >= == !=, which look at the real parts), && and ||, with if/elseif/else/endif for choices, and (1,2) writes the complex number 1 + 2i. Try changing pixel in a test, or the number 4 in a bailout, and press Run.

Not carried over from Fractint: its integer and extended-precision arithmetic (everything here is ordinary floating point, so the float=y hint some formulas carry means nothing), periodicity checking and symmetry (both only made Fractint faster), and the Mandelbrot page's distance estimator, finite attractors, bailout tests, potential and biomorph (a formula has its own bailout in its last statement). The Inside and Outside modes, the Log palette and Inversion do work on every formula: the formula's own stop is the escape, and the modes read the orbit as on the Mandelbrot page. Those pictures can differ slightly from Fractint's where its integer math ran out of range. The parser is lib/larsi.org/frm-parser.js, which compiles each formula to a small JavaScript function; its header comment describes the language in full. The formula files are the ones that came with Fractint 20, by their many authors, whose names and comments are in the text above.

Credits: the formulas are from the Fractint 20 distribution, by their many authors (named in each formula's comments), and are shown here exactly as they were distributed, unchanged. Fractint is copyrighted freeware of the Stone Soup Group, who allow it to be freely copied and distributed in unmodified form. The three files marked tutorial come from Bradley Beacham's formula tutorial (frmtutor.frm), Sylvie Gallet's PHC and PTC tutorial (phctutor.frm) and the flow-control tutorial for Fractint 19.6 (if_else.frm, with formulas by Beacham rewritten by Gallet); they are the examples those texts walk through, so they make most sense read beside them. The pictures in "Fractint's own pictures" are from the .par files of the same distribution.

This page was created with Claude Code.