Combining fractals with images

Tip: This example assumes that you are familiar with formulas that use plug-ins, as explained in the Plug-ins chapter.

As explained in Using images, you can do more with image import in Ultra Fractal than just adding images as a separate layer. Let's try a different way of importing images.

 

Again, use the browser to open the Default parameter set in Examples.upr.

 

This time, we're going to use a Julia fractal. Click the Browse button in the Formula tab of the Layer Properties tool window to select Julia in Standard.ufm.

 

To make the fractal more interesting, locate the Julia seed parameter and enter -0.6 for the (Re) part, and 0.7 for the (Im) part. (Tip: Normally you would use Switch mode to find values such as these.)

  On the Location tab of the Layer Properties tool window, click the Reset Location button to reset the location to the default for the currently loaded Julia formula.
  Go to the Outside tab in the Layer Properties tool window, and click the Browse button here to select Plug-In Coloring (Direct) in Standard.ucl.

The Plug-In Coloring (Direct) coloring algorithm contains the Direct Orbit Traps plug-in by default, which is perfect for our purpose.

 

Locate the Color Trap plug-in parameter (currently set to Trap Shape Wrapper) and click the Browse button next to it. Navigate to the common.ulb file in the Public folder and select the Image Trap plug-in.

 

Observe that the Image Trap plug-in contains an image parameter, which is currently empty. Click the Open button next to it, and select the Ultra Fractal.png image that comes with Ultra Fractal.

The fractal now fills itself with the Ultra Fractal text from this image, but the image is rotated and transformed according to the structure of the fractal! Try zooming in to see that the text is repeated infinitely. It's a true fractal, but using texture from an image that you choose. This works very well if the image contains transparent areas, which is possible with the PNG image format.

This is just a simple example, but the parameters for the Direct Orbit Traps algorithm let you take this much further, so feel free to experiment. Also, in the public formula library, you will find more coloring algorithms that let you use images to color the fractal structure.

Notes

Next: Coloring settings

See Also
Coloring algorithms
Example 2 - Orbit trap plug-ins