A particle is released some distance from a seed and wanders at random, one step at a time in x and y, until it touches the cluster, where it sticks. Then the next one is released. That is all, and the cluster that grows from it is a fractal: a branching tree with long arms that shield the inside, because a wandering particle is much more likely to hit a tip than to reach into a fjord. Real things grow like this: mineral dendrites, electrodeposited metal, soot, lightning's path, mold colonies. Fractint's diffusion type was inspired by a Scientific American article on them, and the code is Adrian Mariano's, with the extra growth types by Juan J. Buhler.

Center starts from a single point in the middle. Falling starts from a line along the bottom, and the particles are released from a segment at the top of a box above the cluster, so a tree grows up from the line. With Fractint's release segment (twice the border wide, centered) it grows a thin stalk; release width sets that width in pixels instead, and the full width of the picture gives an even, bushy growth. Square cavity starts from the outline of a square that fills the picture, releases the particles on a circle just inside it, and grows inward from the walls; it is very slow, because the particles are released far from where the cluster is.

Walking a particle all the way from far away would take forever, so the particles are released from a box (or circle) only border pixels beyond the cluster, and the box grows as the cluster does. A small border makes a more solid cluster and a faster one, a large border a sparser one with longer arms. Color shift 0 gives every point a random color; otherwise the color goes up by one every so many points, so the age of each part of the cluster shows as rings. The cluster is finished when it reaches the edge of the picture (or, in the cavity, comes within the border of the center). Play, Pause and Step control the growth, and the speed is how many particles are added per frame.

Left out of Fractint's version: its show orbits option that draws the particle's walk (it would be a single moving pixel here), and resuming an interrupted image.

This page was created with Claude Code.