Logo by mjk1093 - 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. June 14, 2021, 08:09:15 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: Interesting Coloring  (Read 726 times)
0 Members and 1 Guest are viewing this topic.
MandelBRO
Forums Newbie
*
Posts: 5


« on: July 08, 2017, 03:39:53 AM »

Interesting Coloring



http://www.fractalforums.com/index.php?action=gallery;sa=view;id=20480

In my attempts at figuring out the formula for smooth stripes / triangle inequality formula / I made this coloring. I have never seen anything like it before, but after some research I've found it might be some kind of ??orbit trap?? IDK... but I think it's pretty cool. I like the way it kind of blends from side to side rather than down like iteration count looks.
Logged
Svarvsven
Forums Freshman
**
Posts: 19

Mandelbrot mostly


« Reply #1 on: July 08, 2017, 07:32:13 PM »

It looks good for sure, I like the coloring. What are the coordinates though, and zoom level? I find it a bit strange that in a forum like this there is no standard way of to copy / paste coordinates between different programs. My own program copy / past in this format (that also makes it easy to save and eventually return to interesting locations with just an ever growing list of locations in notepad).

Code:
LocationName
(
0,284878
-0,460995027777778
0,00001
1000000
)

With the numbers representing x, y, zoom, max iterations
Logged
3dickulus
Global Moderator
Fractal Senior
******
Posts: 1558



WWW
« Reply #2 on: July 08, 2017, 08:32:21 PM »

@MandelBRO  afro color scheme, I like the idea of mapping the more boring (smooth) parts for pleasing details, there's a lot going on in the Mset that gets overlooked. Will you be sharing the code/algorithm for this coloring? Fragmentarium has Mandelbrot-AverageColoring.frag that uses smooth stripes / triangle inequality formula (I think) making images like http://www.fractalforums.com/index.php?action=gallery;sa=view;id=19970 maybe the color() routine will help you on your quest wink

@Svarvsven I think the best way is to label the values as SuperFractalThing and Kallesfractaler do, easy to parse and import the values to any prog.
Logged

Resistance is fertile...
You will be illuminated!

                            #B^] https://en.wikibooks.org/wiki/Fractals/fragmentarium
Svarvsven
Forums Freshman
**
Posts: 19

Mandelbrot mostly


« Reply #3 on: July 08, 2017, 09:37:59 PM »

I think the best way is to label the values as SuperFractalThing and Kallesfractaler do, easy to parse and import the values to any prog.

If you just see some location in a post (like here) the easiest way would be to just copy the coordinates and then paste it into the program but most programs lack that feature what I know of. Yes, the 2nd easiest would be to create a file, to label each number and import it...from a scale from 1 to never-gonna-happen I am just guessing now how much that is currently used because how "easy" it is... smiley
Logged
3dickulus
Global Moderator
Fractal Senior
******
Posts: 1558



WWW
« Reply #4 on: July 08, 2017, 10:26:20 PM »

it's so easy to paste 4 numbers into their respective locations that most programmers don't bother to write special case handling code to do the job.
Logged

Resistance is fertile...
You will be illuminated!

                            #B^] https://en.wikibooks.org/wiki/Fractals/fragmentarium
Svarvsven
Forums Freshman
**
Posts: 19

Mandelbrot mostly


« Reply #5 on: July 08, 2017, 10:29:16 PM »

I agree most programmers don't bother about usability either. :-)
Logged
MandelBRO
Forums Newbie
*
Posts: 5


« Reply #6 on: July 09, 2017, 10:17:22 PM »

Thanks for the responses. I'll check out that post about formula.  My formula was trying to calculate (what I thought was distance traveled by the orbit) I haven't been able to recreate it which is why I now keep every formula I tried in my code comments....

here are some formulas I tried.... the one with the SMOOTH WEIRD note is  close because it remove the layered layered dots and made it just one smoother layer, but the original one was like fractal'd dots .

Code:

'cRE is real x and cIM is the imaginary.
'Rx and Ry are the calculated x and y's for Z
'and orX and orY are the last values for rX and rY

'the variable "Distance" is calculated each iteration and then that value is used to look up a color.

'Distance = Distance + (((Math.Sin(cRE - Rx) ^ 2 * -Math.Cos(cIM - Ry) ^ 2) * 20))
                    'Distance = Distance + (((Math.Sin(orX - Rx) ^ 2 * Math.Cos(orY - Ry) ^ 2) * 20))
                    Distance = Distance + Math.Sqrt(((Math.Sin(Rx - orX) ^ 2 * Math.Cos(Ry - orY) ^ 2)) * 1) ' smooth weird
                    'Distance = Distance + (((orX - Rx) + Math.Cos(Z) * 3.14 / 180) ^ 2 - ((Ry - orY) + Math.Sin(Z) * 3.14 / 180) ^ 2) ' GOOD
                    'Distance = Distance + (((Rx) + Math.Cos(Z) * 3.14 / 180) ^ 2 - ((Ry) + Math.Sin(Z) * 3.14 / 180) ^ 2) ' good
                    'Distance = Distance + (((Rx) + Math.Tanh(Z))) 'good

                    'distance2 = Distance

                    'Distance = Distance + ((Math.Cos(Rx + Ry) * Math.Sin(Rx + Ry) + Math.Tanh(Z))) ' close
                    'Distance = Distance + 0.5 * Math.Sin(0.5 * Math.Atan2(Rx, Ry)) ' makes clear division splits 2 x 4 x 8 x 16 x .....
                    'Distance = Distance + 1 * Math.Sin(Math.Atan2(Ry, Rx)) + 0.5
                    'Distance = Distance + 0.5 * Math.Sin(Math.Atan2(Ry, Rx)) + 0.5 ' closer but still see bands



As far as coordinates go, I do not have a record of them. But I do have a series of images that would kind of show you how i traveled to that location..... which that location is most likely down the middle arm on the left zoomed in maybe .00001  huh?

Also, I'm not sure if  the way I keep track of the coordinates to come back is how everyone else does it.

I'm going to either add the coords and zoom to each image, or add it to the file name or I think there is a meta tag option in bitmap file where i can store that extra info in the file.

I have a note pad with locations that I've jotted down smiley

I'm currently adding in the ability to store the locations in the program to just click and go to.
Logged
3dickulus
Global Moderator
Fractal Senior
******
Posts: 1558



WWW
« Reply #7 on: July 10, 2017, 12:23:25 AM »

@MandelBRO PNG file format allows ancillary  chunks, Fragmentarium uses one named fRAg for storing some fractal settings when creating a thumbnail or single image so user can drag'n'drop a thumbnail or image onto the GL area and it will apply the settings to the current fragment if they exist.
the odd lower/upper case tells loaders that this chunk is not critical and can be ignored if not recognized
https://en.wikipedia.org/wiki/Portable_Network_Graphics#Ancillary_chunks
it's a very handy feature when exploring fractals, should be in all fractal programs wink

google "source code to read and write PNG file ancillary chunks" and you'll find some examples in Java and C

edit: thanks for sharing your dicoveries , I will explore them too and maybe find the one you lost smiley
« Last Edit: July 10, 2017, 07:01:56 AM by 3dickulus, Reason: tnx » Logged

Resistance is fertile...
You will be illuminated!

                            #B^] https://en.wikibooks.org/wiki/Fractals/fragmentarium
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Maybe interesting for programmers 3D Fractal Generation Lalla 5 1191 Last post August 04, 2012, 06:10:25 PM
by eiffie
smoked brot, a 1 pass fluid solver Fragmentarium eiffie 11 1476 Last post January 17, 2013, 06:30:08 PM
by eiffie
Any interesting 1D fractals around? Other types « 1 2 » matsoljare 20 5113 Last post October 25, 2016, 05:29:20 PM
by lkmitch
The most interesting new formulas I'm not able to do feature request DarkBeam 13 1270 Last post March 15, 2013, 04:15:10 PM
by Alef
an interesting sit Non-Fractal related Chit-Chat ericr 3 720 Last post March 19, 2013, 06:33:07 PM
by DarkBeam

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.121 seconds with 24 queries. (Pretty URLs adds 0.006s, 2q)