Logo by haltenny - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Visit us on facebook
 
*
Welcome, Guest. Please login or register. April 19, 2024, 10:38:01 AM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: [1]   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: Gradient editor design for a fractal explorer program  (Read 3315 times)
0 Members and 1 Guest are viewing this topic.
zenzero-2001
Explorer
****
Posts: 42


« on: September 02, 2014, 11:55:40 AM »

Hi

I wondered if I could garner opinions about the design of a gradient editor for use in a fractal explorer.

For my fractal explorer "Fractalscope" (the first version of which, will hopefully be released before the next ice age) I have programmed a gradient editor similar to that used by Ultra Fractal. The gradient editor in Fractalscope / Ultra Fractal has control point nodes defining a colour curve, there is a curve each for red, green and blue. A node has a red, green and blue value but only one value for defining its position in the gradient. Therefore, in the editor a node in one colour (red, green or blue) is linked to the other two corresponding nodes. This means that each colour (or shade widget as I have called it in my program) has the same number of nodes as the other two widgets and that moving a node horizontally in one widget also moves the corresponding nodes horizontally in the other two widgets.

From a user's point of view, I was wondering if this was a good design or whether it would be easier to have the three colours independent of each other? I.e. each colour having a position independent of the other two. Having the three colours act independently would mean one could define and move nodes without them affecting the other two colours, it would also mean one would need to place less nodes to define curves like a staggered saw-tooth etc.

Initially, I found the linked node style gradient editor less confusing and easier to grasp / begin with (intuitive is the word I am looking for). But now, I think maybe it is more cumbersome than having the nodes act independently. What do you think?

I would greatly appreciate any comments or opinions from a user's perspective, thanks very much.

zenzero-2001
« Last Edit: September 02, 2014, 12:05:40 PM by zenzero-2001 » Logged
youhn
Fractal Molossus
**
Posts: 696


Shapes only exists in our heads.


« Reply #1 on: September 02, 2014, 05:36:35 PM »

I'll try to describe the good&bad of some different fractal palette tools of fractal software I've been using. I'm still waiting for someone to implement a combination of the infinite waves of Kalles Fraktaler, plus the normal palette options of Kalles, plus the layer modes (blending modes) from the Gimp (see http://docs.gimp.org/2.8/en/gimp-concepts-layer-modes.html ).


Xaos
Randomized palettes using 4 different algorithms. You can specify a seed value, algorithm type and palette shift for a deterministic workflow. But I found it much easier to just let the randomizer do it's work and then color-cycle around for fine-tuning. This works remarkably easy, specially since the color cycling works fast as hell. Only there is no option to fine tune the palette itself.

Source code available from http://xaos.sourceforge.net/index.php


Gnofract4D
The palette editor uses color gradients. Each gradient has a begin color and an ending color. The gradient can be splitted manually in order to create more colors. Very easy to use, not so flexible. Advanced things like adding color stripes at regulary intervals or even waves of color is not possible.

Source code available from http://gnofract4d.sourceforge.net/


MDZ
Guided randomization. I thought this one is actually very cool. You can only adjust a few basic things, but it seems like an advanced editor anyway. Maybe the only one in it's sort. It works with waves of color and can blend many palettes. For each R G B color channel you find 2 sliders. One for the frequency (Bands) and one for level of blending (Strength). At full strength, you get a totally new palette every time. If you have low strength and randomize many times ... you end up with a grey palette. After playing with these semi-random bands of color, you can add stripes at regular intervals. But the stripes actually use the color waves, it's hard to explain. You really should try it! Works very well with the color cycling, which works about as fast as in Xaos. Very handy feature is that you can drag the actual palette with the mouse.

You can tune the palettes way more than in Xaos, but still I want to tune it even further.

Source: http://jwm-art.net/mdz/


Kalles Fraktaler
Much more manually tuning possible here. I only wish I could adjust the infinite color waves just as the color channels in MDZ. And also the blending stuff as in MDZ, but combined with the layer modes of the Gimp.

Source: http://www.chillheimer.de/kallesfraktaler/


All tuning on the palette should be instantly visible on the actual fractal. Tuning should be both ways (sliders on values and UDNO function!) and should be smart. For example zoom or iteration dependant. For example think about changing the palette density. It would be nice if the most visible color on the actual fractal on screen was chosen as the "zero" point from which the scaling is done. This way the visible colors don't jump out of sight while adjusting.

I have no experience with Ultra Fractal.

If you want to please most users, then make it as easy (smart randomizers) as possible while leaving room for optional (bit hidden) manual tuning.
Logged
3dickulus
Global Moderator
Fractal Senior
******
Posts: 1558



WWW
« Reply #2 on: September 02, 2014, 09:11:09 PM »

@youhn thanks for the palette control rundown of these popular packages

@zenzero-2001 on the face of it, the user should be able to get a really nice palette with just a few clicks and twiddles, something I've been toying with
have a look at this short vid of my palette scheme in action, you can paint a 256x256 swatch of blended, flowing or/and sharp lines and shapesto make some really cool palette cycling effects

each line of the "swatch" is used as a list of 256 key colors that get spread over the color map size
it is essentially a per frame palette list that will enable some very subtle and smooth color control over the course of an animation.

it can load an image (auto scaled for you) of a favorite landscape or garden scene for a real organic palette.

the vid was made with this image as a palette list.


* test.png (38.5 KB, 256x256 - viewed 465 times.)
Logged

Resistance is fertile...
You will be illuminated!

                            #B^] https://en.wikibooks.org/wiki/Fractals/fragmentarium
youhn
Fractal Molossus
**
Posts: 696


Shapes only exists in our heads.


« Reply #3 on: September 02, 2014, 09:38:27 PM »

Wwoooww... you created color cycling both ways at the same time!

 dancing chilli  dancing banana  dancing chillidancing banana

I've thought of that before ... just can't really program (good enough).
Logged
3dickulus
Global Moderator
Fractal Senior
******
Posts: 1558



WWW
« Reply #4 on: September 02, 2014, 09:46:45 PM »

you can doodle in the graph areas with the mouse too  evil
Logged

Resistance is fertile...
You will be illuminated!

                            #B^] https://en.wikibooks.org/wiki/Fractals/fragmentarium
zenzero-2001
Explorer
****
Posts: 42


« Reply #5 on: September 02, 2014, 10:27:37 PM »

Thanks for the info youhn. Lots for me to think about. I have mdz compiled on my machine, so will have a good look at its palette editor.

3dickulus, your palette scheme looks very cool. :-)

So far, my gradient editor is pretty simple to use. It has full undo and redo, as well as being able to choose linear or cubic interpolation, just like Ultra Fractal in fact. You can add and remove nodes and save / load gradients. I'm in two minds whether to keep it as it is or make the colour channels totally independent.

I attach a couple of images of the editor for you to get an idea of how it works. You can see that each node exists in all three of the shade widgets. Deleting a node from one shade widger will delete it from the other two widgets also. You can see that the saw-tooth gradient requires extra nodes to define it compared to if the channels were independent.


* gradient_editor1.jpg (44.63 KB, 498x617 - viewed 290 times.)

* gradient_editor2.jpg (39.98 KB, 498x617 - viewed 300 times.)
Logged
zenzero-2001
Explorer
****
Posts: 42


« Reply #6 on: September 02, 2014, 10:35:19 PM »

Also, the fractal colours change immediately in response to changes in the gradient editor.
Logged
panzerboy
Fractal Lover
**
Posts: 242


« Reply #7 on: September 03, 2014, 02:27:13 AM »

Fractal Extreme has impressive control point selection.
You click on a control point, shift click on extra points and adjust them as a group.
You can use a bounding box select to select say the top value control points, and again shift bound box to add points.
Right click -> select all to select all the control points for a channel.
Copy and paste. A trick I use to create a stripe palette is to select all three channels from the main palette and copy them.
Then scroll the palette left or right an even number of steps.
Show stripes and edit odd, right click replace paste, now the stripes are a slightly offset copy of the main palette.

A preview copy limited to 100 zooms is available at cygnus-software.com, have a play, its just the slickest palette editor I've used.

Internally Fractal Extreme  keeps the position and value for each 'node'
ie. it doesn't create green & blue values if you set a red value at a position.
That possibly makes it easier for it to perform it's tricks?

Are you making an 'import' option from a text file, or the palette file editable?
For Kalles Fraktaler & Mandel Machine my preferred palette tools are Open Office Calc (Spreadsheet) and Notepad++  grin
Logged
zenzero-2001
Explorer
****
Posts: 42


« Reply #8 on: September 04, 2014, 06:20:02 PM »

Thanks for the suggestion of Fractal eXtreme panzerboy, I have a licensed version so will give it a whirl.

Ultra Fractal has the linked nodes and also has the ability to select multiple nodes, not sure if it can do the same tricks as Fractal eXtreme though.

I wasn't planning on having an import option from a text file, but maybe it is something for me to consider. The gradient / palette file is currently saved in a binary format and is not editable. If I make it editable, I will have to program some code to validate it on loading.

I've not tried Mandel Machine yet (I run a Linux box), it looks very impressive from what I have seen so far. Sometimes, I think my program is quite good (using SSE2 for the Mandelbrot calculation and having arbitrary precision with MPFR) and then I am humbled by other great software :-) I've only given Kalles Fraktaler a quick go. Both Kalles Fraktaler and Mandel Machine appear to be on the cutting edge with regards to speed optimisations (as is Fractal eXtreme).

I am currently leaning towards making the color channels completely independent, but haven't made a final decision.
Logged
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
New Java Applet Fractal Explorer Program on CodingMagic.com Introduction to Fractals and Related Links starplasm 13 6258 Last post September 04, 2008, 02:13:06 AM
by Duncan C
FRACTAL DESIGN CAR Chaoscope Gallery lecristal 0 2641 Last post January 30, 2011, 12:27:20 PM
by lecristal
Introducing JWildfire as multi-platform fractal flame editor JWildfire thargor6 7 8642 Last post February 19, 2012, 10:27:43 PM
by thargor6
New gradient-editor and -library: JWildfire V0.70 release JWildfire thargor6 0 1747 Last post May 12, 2013, 02:08:55 AM
by thargor6
Gradient Packs in Ultra Fractal Help & Support Purplesheep 3 230 Last post March 22, 2014, 07:55:01 PM
by Purplesheep

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.155 seconds with 24 queries. (Pretty URLs adds 0.007s, 2q)