Title: SuperFormula Colorings... Post by: cKleinhuis on February 03, 2007, 02:39:28 PM Hi all, look i have used the Orbit Traps coloring with SuperShape Formula, to produce these images with mutatorkammer:
(http://www.fractalmovies.com/gallery2/main.php?g2_view=core.DownloadItem&g2_itemId=750&g2_serialNumber=1&g2_GALLERYSID=b62b3fe7f08da7e35cfda7fd18f05857) (http://www.fractalmovies.com/gallery2/main.php?g2_view=core.DownloadItem&g2_itemId=747&g2_serialNumber=1&g2_GALLERYSID=b62b3fe7f08da7e35cfda7fd18f05857) Title: Re: SuperFormula Colorings... Post by: Nahee_Enterprises on February 03, 2007, 04:03:56 PM Christian Kleinhuis (Trifox) wrote:
> > Hi all, look i have used the Orbit Traps coloring with SuperShape Formula, > to produce these images with mutatorkammer: Hey there!! Have not downloaded your most recent version of Mutatorkammer, which you have made available, and so I am wondering if these options are in the latest version or is this something new you have added in the past few hours?? Hopefully I will have some time over the next few days to get the latest version and do some exploring of my own. :-) Title: Re: SuperFormula Colorings... TUTORIAL Post by: cKleinhuis on February 03, 2007, 04:55:46 PM There has been a minor update, the Superformula Implementation did not work properly,
i am collecting some formulas to include as example workspaces, check for the latest download 0.61 i know the program lacks documentation, and i need help on that, i will produce some more tutorials on how to build interesting formulas ;D here is a "short" description on how to do Orbit Traps Coloring basically this is done with the new iteration function ITERATECOL, Short explanaition of the Iteration formula of Mutatorkammer ITERATE(par1,par2) Iterate function takes an initialisator for $Z variable ( par1 ) par2 is the formula actually taken for iteration, so for example the mandelbrot formula is ITERATE(#0,ADD(POW($Z,#2),$PIXEL))) this should look familar to fractal nerds ;) ok, then Mutatorkammer has a the possibility to make alternating fractals, this is done with the ALTERNATE Function ALTERNATE(par1,par2,par3,[,par4,par5...parN]) par1=initialisator for $Z variable at each iteration step formula par1,par2 and so on is switched for example an alternating mandelbrot would be done with the following formula: ITERATE(#0,ADD(POW($Z,#2),$PIXEL)),ADD(POW($Z,#3),$PIXEL))) switching a z^2 and a z^3 mandelbrot fractal in each iteration ok folks, now it is getting more interesting i come to the conclusion that just offering an iteration function is not enough, so i incporporated the ITERATECOL function, ITERATECOL(par1,par2,par3) par1 is still the initialisator par2 is a function to evaluate each step, this is known as the coloring methods known in popular fractal programs the return value for the second parameter is set to the $W variable par3 is the function wich gets iterated for $Z ok, and now the method on how to implement orbit traps coloring with these functions Orbit Trap Coloring with Mutatorkammer the orbit trap coloring method is based on checking the $Z variable for a lowest distance to a generator function, each iteration step, Step 1 Take the standard mandelbrot iteration function from above 1 - ITERATE(#0,ADD(POW($Z,#2),$PIXEL))) Now we need to initialise the $w variable, this is done with the SETW2(par1,par2) Function , this function takes a value which will be set to var $W ( par1) and a return value par2 further on we use the ITERATECOL function 2. ITERATECOL(SETW2(#1000,#0),MINABS($Z,$W),ADD(POW($Z,#2),$PIXEL))) so, what have we done here ? we initialise $w with a big enough value ( 1000 ) initialise the $Z value with #0 the second parameter is the MINABS($Z,$W) part, this is also known as point coloring, making big blobs on the fractal At last we have to tell that we want to use the $W parameter as colorthis is done with the GETW function, it simply evaluates its parameter, and returns the current value of variable $W 3. GETW(ITERATECOL(SETW2(#1000,#0),MINABS($Z,$W),ADD(POW($Z,#2),$PIXEL)))) so, now is a good time to save the function in the library, i will now talk on how to further modify the function the interesting part of the funtion is the MINABS($Z,$W) part, first modification is the center, if we write MINABS(ADD($Z,0),$W) we simply have the possibility to move the center of the orbit trap, and now we can incorporate any function build into mutatorkammer to change the trap shape MINABS(SPIRAL(ADD($Z,0)) would make some nice lines, the pictures on these pages are done with a trap shape formula like this one MINABS(SUPER(ADD($Z,0),#1#1,#2#2,#3#3)) the super function is basically an implementation of the Superformula http://local.wasp.uwa.edu.au/~pbourke/surfaces_curves/supershape/ so, the formula wich created these images looked like this: GETW(ITERATECOL(SETW2(#1000,#0),MINABS(MINABS(SUPER(ADD($Z,0),#1#1,#2#2,#3#3)),$W),ADD(POW($Z,#2),$PIXEL)))) After that the value of $W is mapped to a color with the Voronoi Method, a method to color 2dimensional values, as Complex numbers are! You can edit formulas in mutatorkammer in the Single Image Tree View, you can drag and drop formula nodes to anywhere else in the tree, and make new formulas with RIGHT-CLICK! now i go and include a workspace which contains the above described coloring method! i will post the update here again! Title: Re: SuperFormula Colorings... Post by: cKleinhuis on February 03, 2007, 05:26:49 PM ok, i have set up the current download 0.61, featuring an additional workspace with the coloring method
described above: Download Mutatorkammer v0.61 (http://fractalmovies.com/index.php?option=com_remository&Itemid=21&func=fileinfo&id=94) Title: Re: SuperFormula Colorings... Post by: Sockratease on February 03, 2007, 05:54:03 PM This program is evolving so fast I think you may wish to consider a means to import my old libraries into the new versions!
I can drag and drop the formulas from previous versions (provided I don't overwrite the old version!) by opening the old and the new together, but importing a whole library might be nice. I have got to make time to help with your English Documentation! I play with this program more than any other besides Chaoscope, so I owe it to you! I may have a trick or two to contribute for working with Photos too. We'll see. Great Work! This tutorial you just posted helps quite a lot. I hope to get more active here again soon. Peace. Title: Re: SuperFormula Colorings... Post by: Nahee_Enterprises on February 03, 2007, 06:00:49 PM Christian Kleinhuis (Trifox) wrote:
> > ok, i have set up the current download 0.61, featuring an > additional workspace with the coloring method... Great !!! :) Am now going to get this latest download to give it a whirl. ;) Thanks for all the work you have been putting into your program. And I have spread the word about MutatorKammer to a few other Lists and Forums. Title: Re: SuperFormula Colorings... Post by: cKleinhuis on February 03, 2007, 06:04:39 PM ? Problem with importing old libraries !
Hi Sokratease, my first real user ! have you gotten the planned milestones list ? 0.65 Extend voronoi region to infinity ( meaning that the voronoi graph you create supports an range for real AND imaginary parts from -infinity to +infinity) Include Layer Editor in v0.7 Include Formula Editor in v0.8 Web Sharing of Formulas in v0.9 Help/Documentation and Examples in v1.0 Ok, now to the problem with your old formula files, Currently each new installation overwrites existing Library Files ! BUT, the libraries have not changed since the first version, so, to easily import your old library files to the programm, you should consider the following : The Library files are stored in .xml files in INSTALLDIR/LIBRARY/filename.xml So, the programm overwrites at each new installation the following library files: SetOutPath $INSTDIR\LIBRARY\Base \LIBRARY\Base\Basics.xml" \LIBRARY\Base\Fractals.xml" \LIBRARY\Base\Flame.xml" \LIBRARY\Base\Alternating Fractals.xml" \LIBRARY\Imagefun.xml" \LIBRARY\Example_Set_2.xml" \LIBRARY\Examples_1.xml" Each of this file gets overwritten, BUT, you can simply rename the files on disk, e.g. you have saved all your own formulas in the Basics.xml file, simply locate it on your harddisk and rename it to MyFormulas.xml, a new installation will not touch this file, so all your saved formulas keep the same, it is not suggested that you abuse these delivered library files with your own formulas, because i want to put special functions and examples in these files ok, i hope this helps a bit, what do you mean by importing a whole library ? you want to merge 2 library folders ? anyhow, the library gets a bit reworked in next releases, so that different locations can be saved for a single formula, and naming of formulas with author, comments and creation date, this will all be done for future WEB Sharing of formulas and locations. @paul : thank you for spreading the word! With version 0.6 i am quite happy, because i got rid of the old coloring methods, and overall speed improvements, further modifications to the color palette ( infinity, weighted colors ) will be straightforward and downwards compatible. @sockratease: have you played around with the import animation function ? if you choose a image sequence ( e.g. from a previous render ) by filename, e.g. filename00000.jpg the program checks for sequences, if then rendered as movie, the program loads a new image each time a frame changes, you can even use smaller animations, e.g. small loops with 50 frames, the program then repeats the sequence over and over when rendering the sequence ... Title: Re: SuperFormula Colorings... Post by: Sockratease on February 03, 2007, 06:12:44 PM I think I misused the words Library and Formula!
I had a few saved items that were more image twisting, and wanted to work on them in the new version, but could not reproduce the effects by setting the image. So I just opened the old version, and dragged the formula into the new version's window, and it stayed! I always rename the old Mutatorkammer folders so I have everything I worked on previously intact, and nothing gets overwritten. Thanks for the tips about the xml files! It never occurred to me to rename those. I'm still learning how new programming works... I only recently made my first computer upgrade in over 20 years! A lot has changed. Title: Re: SuperFormula Colorings... Post by: cKleinhuis on February 03, 2007, 06:16:47 PM ok, so, importing of formulas shouldn't be a problem, rename the files, and copy them to the current version of the mutatorkammer LIBRARY folder :)
the management of the library is quite messy at the moment, but those .xml files contain a bunch of formulas, the directory structure is also read from the filesystem, you could make a folder MyFormulas in the Library folder, e.g. INSTALLDIR/LIBRARY/MyFormulas/ and then put all you .xml files in there, so new installations of the program do not mess up your current formulas, btw. i am quite interrested in your formulas, would be great if you could send me some of your work ;) Title: Re: SuperFormula Colorings... Post by: cKleinhuis on February 03, 2007, 06:28:50 PM and, have you seen my TileAble Images collection made with the latest version of mutatorkammer?
Give them a try as tile able Desktop Backgrounds, you will see, be sure to set it to Tile instead of Stretch! watch gallery of Tileable Wallpapers (http://fractalmovies.com/index.php?option=com_gallery2&Itemid=3&g2_itemId=720) Some examples from the gallery (http://www.fractalmovies.com/gallery2/main.php?g2_view=core.DownloadItem&g2_itemId=723&g2_serialNumber=2&g2_GALLERYSID=b62b3fe7f08da7e35cfda7fd18f05857) (http://www.fractalmovies.com/gallery2/main.php?g2_view=core.DownloadItem&g2_itemId=733&g2_serialNumber=2&g2_GALLERYSID=b62b3fe7f08da7e35cfda7fd18f05857) (http://www.fractalmovies.com/gallery2/main.php?g2_view=core.DownloadItem&g2_itemId=736&g2_serialNumber=2&g2_GALLERYSID=b62b3fe7f08da7e35cfda7fd18f05857) Title: Re: SuperFormula Colorings... Post by: Sockratease on February 03, 2007, 06:31:30 PM btw. i am quite interrested in your formulas, would be great if you could send me some of your work ;) Thanks, but most of what I do is playing with images, and as you have seen... They are quit dependent on having the correct image set in the program! The same distortions that look great on one image look horrible on another! Look at the "Mickey Mouse" I posted HERE: http://www.fractalforums.com/index.php?topic=473.msg2747#new and at your own forum! That formula ONLY looks good with that image set! Set another image and it is an ugly mess. But I do have great fun playing with your program anyhow! If you want any, I'll send them. But I don't have much "pure" fractal art from Mutatorkammer. Just a lot of "Image Fun" and some nice tiles. Title: Re: SuperFormula Colorings... Post by: dentaku2 on February 03, 2007, 09:12:51 PM Wow, these orbit trap coloring algorithms look sexy! I have to dive into this, too ... :o Any algorithms available?
Title: Re: SuperFormula Colorings... Post by: David Makin on February 03, 2007, 10:58:03 PM Wow, these orbit trap coloring algorithms look sexy! I have to dive into this, too ... :o Any algorithms available? The best sources of algorithms I know for colourings based on orbit trapping are the free colouring formulas from the ultrafractal formula database: http://formulas.ultrafractal.com/ (http://formulas.ultrafractal.com/) The colouring formula files are the "*.ucl" ones - they're just text files in disguise and I don't think you'll have much trouble following how they work (basically the "loop" section gets passed the "z" value from the main fractal formula on each iteration). Title: Re: SuperFormula Colorings... Post by: cKleinhuis on February 03, 2007, 11:28:20 PM @dentaku: yes orbit trap coloring is my favorite one!!! And the best is it works fine for inside AND outside the divergent parts of the fractal
i agree for coloring reference to look into ultrafractal formulas, they are sometimes a bit overcrowded with options and stuff, but the best source to look for fractal algorithms and formulas ! ultrafractal description: http://www.ultrafractal.com/help/index.html?/help/coloring/standard/orbittraps.html it works as described above, you need a function, the absolute function will do fine for the first tries, simply initialise a mindist value with a big value e.g. 1 so, now at each iteration step you check if |z|<mindist if so, then mindist becomes |z| at the end of the iteration you can use the mindist value as color index, but as stated before, the interesting part is the distance function, taking simply |z| is not nice enough, lookin into ultrafractal formula files, you can see, that ring trapping is done with if abs(abs(z) - diameter)<mindist then mindist = abs(abs(z) - diameter) with diameter a real value it can be much fun exploring the formulas used here, as said before, the images at the top of this posting are done using the Super Shape Formula http://local.wasp.uwa.edu.au/~pbourke/surfaces_curves/supershape/ here is how i calculate the super function for a complex number: as you can see, the supershape needs 6 additional parameters have fun! Code: // The super Shape Function Title: Re: SuperFormula Colorings... Post by: cKleinhuis on February 05, 2007, 12:59:11 AM small but effective update:
v0.62 Direct Palette Update, without Re-Rendering the Formula Download (http://fractalmovies.com/index.php?option=com_remository&Itemid=21&func=fileinfo&id=94) http://fractalmovies.com/index.php?option=com_gallery2&Itemid=3&g2_itemId=756 (http://www.fractalmovies.com/gallery2/main.php?g2_view=core.DownloadItem&g2_itemId=758&g2_serialNumber=2&g2_GALLERYSID=7864e27f64670785cd736b9f7088c1cd) http://fractalmovies.com/index.php?option=com_gallery2&Itemid=3&g2_itemId=753 (http://www.fractalmovies.com/gallery2/main.php?g2_view=core.DownloadItem&g2_itemId=755&g2_serialNumber=2&g2_GALLERYSID=7864e27f64670785cd736b9f7088c1cd) Title: Re: SuperFormula Colorings... Post by: cKleinhuis on February 05, 2007, 06:37:58 PM fishy (http://www.fractalmovies.com/gallery2/main.php?g2_view=core.DownloadItem&g2_itemId=765&g2_serialNumber=1&g2_GALLERYSID=7864e27f64670785cd736b9f7088c1cd) flourish (http://www.fractalmovies.com/gallery2/main.php?g2_view=core.DownloadItem&g2_itemId=768&g2_serialNumber=1&g2_GALLERYSID=7864e27f64670785cd736b9f7088c1cd) Title: Re: SuperFormula Colorings... Post by: Nahee_Enterprises on February 05, 2007, 06:42:12 PM Christian Kleinhuis (Trifox) wrote:
> > fishy Those "manta rays" are really quite interesting. I like the way they came out in your rendering. Title: Re: SuperFormula Colorings... Post by: dentaku2 on February 09, 2007, 10:52:11 PM Simple formula: Z.real + Z.imaginary:
(http://img77.imageshack.us/img77/3439/fractal1171069999393kg6.jpg) Title: Re: SuperFormula Colorings... Post by: dentaku2 on February 10, 2007, 02:21:21 AM And with other color map and edge filter:
(http://img77.imageshack.us/img77/276/fractal1171070378559xm2.jpg) Title: Re: SuperFormula Colorings... Post by: cKleinhuis on February 10, 2007, 04:13:46 PM ehrm, did you forgot something ? (linking the imaage) ;D ;D ;D
Title: Re: SuperFormula Colorings... Post by: alan2here on February 11, 2007, 12:59:34 PM I like the pictures in the first post of this thread, I have used direct orbit traps to create such spikey looking images but never before with orbit traps.
Title: Re: SuperFormula Colorings... Post by: Sockratease on February 14, 2007, 12:42:17 PM I Really like the new interface and pallette stuff in the latest version! Time has been a killer lately... Personal distractions... But I keep trying to make more time for these forums anyhow... |