-


Dejong attractor visualization - by Josh Yang

This program uses a modified version of a dejong attractor, a type of iterative fractal. The fractal uses the parametric equations below:

x = sin(a * y) - cos(b * x)
y = sin(c * x) - cos(d * y)

It also uses a log-map of the 3D coordinate to act as a basis for color. Colors are finalized via iteration with 6 other color coefficients.

z = sin(e * x) - cos(f * z)

In the preview editor on the left, you can see a low-resolution preview of the fractal to be generated from the 6 shape coefficients and 6 color coefficients.

You can fine-tune the coefficients via the +/- buttons, which act on a default 0.1 increment. You can change this value to 0.01 or 1. You can alternatively just type in a value. Click on the UPDATE button to update your preview.

Once you're satisfied with your current parameters, you can click on the DOWNLOAD button to download a 2048 by 2048 hi-res image of the fractal. You will need to WAIT up to a MINUTE for the web app to render the final image.

You may also change the resolution to 1024px or 4096px. Default is still 2048x. Additionally, you can shange the sample count, which controls how bright the colors are. Default for preview is 1 and for render is 10. For best render results, 1024px needs 10, 2048px needs 30, and 4096px needs 50.

However, some computers may not be able to handle the 4096px rendering because of insufficient ram. Try a lower resolution for now. (Blame the RAM cap on a webpage for the slow speed)
Credit to Grant Schindler's Attractors and Fractals and Paul Bourke for the core logic inside dejong attractors.

Code