Logo by AGUS - 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: Did you know ? you can use LaTex inside Postings on fractalforums.com!
 
*
Welcome, Guest. Please login or register. March 29, 2024, 07:11:08 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 [2] 3   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: Little help needed for extending the Kleinian algo.  (Read 5510 times)
0 Members and 1 Guest are viewing this topic.
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #15 on: January 09, 2017, 11:51:47 AM »

Dear Jos mb3d has a very limited number of sliders.
I had to use a binary encoding of all your options in order of effect beauty  angel
Option 1 enables your "Four generators".
Option 2 DISables "Show balls". (hmm... should be?)
4 for sphere inversion.
To enable several options sum the numbers: 3 enables 4 gen and show balls and zero disables all roll eyes smiley
Logged

No sweat, guardian of wisdom!
Sabine
Fractal Fertilizer
*****
Posts: 373



WWW
« Reply #16 on: January 09, 2017, 12:28:19 PM »

@Luca Can you add this text about the options to the description? It would be so helpful!
Logged

sabine62.deviantart.com
Aexion
Conqueror
*******
Posts: 116


The Fractal Hermit


WWW
« Reply #17 on: January 09, 2017, 02:37:28 PM »

To Sabine and KRAFTWERK:
Many Thanks!! smiley

To Aexion post codeeeeeeeeeeee praying the wave

I forgot to post the .frag! my apologies!
Consider this .frag as a non canonical, mutant version of the original version. Its some experiments that I was trying to do.   grin
It basically add a Julia set (and a multiplier) and two possible entry points for the abs() function.
All is under the Jul section, and you can see the examples (variations of the original examples) in the Jul presets.
One example is missing, the first picture, that was done by changing the Julia function by the burning ship formula, but I didn't wanted to burden the .frag with more conditionals!.

Anyways, I will try other functions!  smiley

* Kleinian_Var.frag (46.8 KB - downloaded 187 times.)
Logged

Fractals all the way..
Incendia for 3D Fractals
Aural for Musical Fractals
bib
Global Moderator
Fractal Senior
******
Posts: 2070


At the borders...


100008697663777 @bib993
WWW
« Reply #18 on: January 09, 2017, 05:10:19 PM »

Dear Jos mb3d has a very limited number of sliders.
I had to use a binary encoding of all your options in order of effect beauty  angel
Option 1 enables your "Four generators".
Option 2 DISables "Show balls". (hmm... should be?)
4 for sphere inversion.
To enable several options sum the numbers: 3 enables 4 gen and show balls and zero disables all roll eyes smiley

It took me discussions on deviantart with some core protagonists to realize that the answer to my question "how to combine options 2 and 4?" was simply "option 6" smiley
Logged

Between order and disorder reigns a delicious moment. (Paul Valéry)
Tim Emit
Conqueror
*******
Posts: 111



https://www.facebook.com/
WWW
« Reply #19 on: January 09, 2017, 07:11:41 PM »

@ Aexion and all.. thanks for the fragment ..very nice .. keep up the good work A Beer Cup
Logged
Sabine
Fractal Fertilizer
*****
Posts: 373



WWW
« Reply #20 on: January 10, 2017, 01:46:42 PM »

@Aexion Thank you for adding the Julia and posting the .frag, so much fun to play with! Seems whatever you do to it, it throws up goodies:)
Logged

sabine62.deviantart.com
pupukuusikko
Alien
***
Posts: 35


WWW
« Reply #21 on: January 10, 2017, 09:11:17 PM »

Here's a possibly interesting mod, found after intensive frobbling wink

I replaced the warping function with boxfold and removed the separation line thing.
Surprisingly, resulting fractal still has nice kleinian style spirals, although they are arranged unnecessarily
symmetrically, and shiny spheres are gone.

On a positive side, the thing does not seem to have cuts.  happy
Frag is attached below.

examples:




* boxfold_kleinian.frag (8.57 KB - downloaded 195 times.)
« Last Edit: January 10, 2017, 09:36:48 PM by pupukuusikko, Reason: added third image » Logged

DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #22 on: January 10, 2017, 10:46:49 PM »

This is cruel, you know cry cry cry
Logged

No sweat, guardian of wisdom!
pupukuusikko
Alien
***
Posts: 35


WWW
« Reply #23 on: January 10, 2017, 10:58:22 PM »

Take your time Luca, people wil be happy with the vanilla version for weeks  Yes !!
(although it IS a great formula!)
Logged

Sabine
Fractal Fertilizer
*****
Posts: 373



WWW
« Reply #24 on: January 11, 2017, 12:37:36 AM »

 roll eyes I Do need some sleep once in a while, you know?  sleepy; yawning; tired

Thanks for posting the .frag, Pupukuusikko!  wink
Logged

sabine62.deviantart.com
JosLeys
Strange Attractor
***
Posts: 258


WWW
« Reply #25 on: January 11, 2017, 11:34:42 AM »

Using a boxfold makes things go a little wild!
Two images below in the 'standard' view. The first is the normal situation, the second is with a boxfold in the three direction, no separation line, and so applying always the same transformation.


* Knipsel2.jpg (62.86 KB, 842x644 - viewed 310 times.)

* Knipsel.jpg (175 KB, 905x652 - viewed 323 times.)
Logged
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #26 on: January 11, 2017, 08:01:25 PM »

yaaaaaaaay

I figured out how to show hexagon flakes instead of plain "squares", the result is stunning especially if coupled with aexionj:
(replace wrap with) (edit: storeint equals a FLOOR, not roundint)

Code:
x += bdiva*y;
x -= -bsx; z -= -bsz;
int bop = (storeint(z/bsz2) );  // HEXAGON MOD
MiscOps = (loadNthIntVar(2,6*szof1dbl))&8; // HEXAGON MOD enabled? yes/no
if (MiscOps) {
if (bop&1) x-= bsz;   // HEXAGON MOD
}
x += -bsx-bsx2*storeint(x/bsx2);
z += -bsz-bsz2*bop;
MiscOps = (loadNthIntVar(2,6*szof1dbl))&1; // 3d mode
if (MiscOps) {
y += -a*(storeint(y/a));
}
x -= bdiva*y;



edit; too bad the method is adding some cuts around  cry
Logged

No sweat, guardian of wisdom!
pupukuusikko
Alien
***
Posts: 35


WWW
« Reply #27 on: January 11, 2017, 08:20:30 PM »

Using a boxfold makes things go a little wild!
Two images below in the 'standard' view. The first is the normal situation, the second is with a boxfold in the three direction, no separation line, and so applying always the same transformation.

I very much appreciate your interest, nice comparison, it is a little on the wild side wink
However, the boxfold is not to blame, if you use boxfold with the separation line, it is almost identical to the original,
except for different symmetries. This combination also produces cuts  in the same way as the original formula.
In my script you get comparable results by setting fold multiplier = 1 instead of 0.5.

Below a comparison, left is the original wrapping and right is boxfold.



Logged

JosLeys
Strange Attractor
***
Posts: 258


WWW
« Reply #28 on: January 11, 2017, 08:32:31 PM »

@pupukuusikko
I cannot run your frag file, it crashes my computer. I tried to replicate what you did in another frag file but probably made some mistakes.

I probably have an ancient version of Fragmentarium.
What version are you using and where can I find it?
Logged
pupukuusikko
Alien
***
Posts: 35


WWW
« Reply #29 on: January 11, 2017, 09:13:04 PM »

@josLeys:

Sorry to hear that. I also use old version, 1.0.0, from http://syntopia.github.io/Fragmentarium/
You could try uncommenting the fast-raytracer.frag and commenting the DE-Kn2.frag to speed it up,
also set "Lock-to 1/2 window size' or lower. These could help with the gpu-related crashes, which I've experienced too.

That said, your results for boxfold+no separation look exactly like mine, so I'm sure your frag is good.
Logged

Pages: 1 [2] 3   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
DE estimation - help needed Mandelbulb Implementation chaospro 3 1852 Last post April 19, 2010, 02:29:28 AM
by David Makin
help needed for introduction chaosTube - History cKleinhuis 4 1361 Last post January 24, 2013, 11:03:59 PM
by Madman
help needed Introduction to Fractals and Related Links logan 5 666 Last post April 30, 2014, 08:38:25 PM
by logan
Algo-Rythmic Heart Images Showcase (Rate My Fractal) LMarkoya 1 1064 Last post April 24, 2016, 10:06:18 PM
by 3dickulus
Algo-Rythmic HEart Animated Images Showcase (Rate My Fractal) LMarkoya 1 838 Last post April 30, 2016, 04:26:46 PM
by cKleinhuis

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