Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Metallica - the inside of a fractal - O2 etc...

  1. #1

    Metallica - the inside of a fractal - O2 etc...

    Hi all,

    An attempt to do something with the inside of a fractal. (the difficult part).

    A kind of Julia fractal is used (an extended) z(z+c)-c² , this is the formula to calculate the golden ratio (a/b=b/b+a).
    The positive solution (1+sqrt(5))/2 is the most primitive contineous fraction possible [1,1,1 .... ] !!

    The algorithm for the glow is logaritmic .
    the reason is that iterations of f(z) deliver powers 2,4,8,16 , to get them perfectly smooth you will need something of the from log(log (....))

    the orbit is calculated on abs(x*y) and this will define the glow- shape ... using the normal sqr(x²+y²) (the modulus) will generate circles and ellipses (i think ).
    The glow formula can be turned into a function -- it will be dependant on the iteration level and the shape of the fractal (the more it goes to a circle the tougher ).

    (this is not a copy from the web or so, it may be new )

    best Rob
    Attached Files Attached Files
    Last edited by RobbeK; 11-01-2014 at 15:14.

  2. #2
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,129
    Rep Power
    732
    Hi Rob,

    another fantastic demo, thanks for sharing!


    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  3. #3
    Rob,

    Your Metallica is very cool indeed! And you're right, I haven't yet seen anything similar in the way of fractal interior coloration yet so your approach looks very promising!

    Mike
    (3.6GHz i5 Core Quad w/ 16GB RAM, nVidia GTX 1060Ti w/ 6GB VRAM, x64 Windows 7 Ultimate Sp1)

  4. #4
    Thanks ...

    @Mike : attached the LogLog version (the way to go imho) -- I'll convert to plain Julia & then the Lord of the Rings.
    (amazingly the inside is very conservative - code needs only a single run !! - all behave very similar )

    @Petr : very much to discover here - I'm very curious to know if there's a correlation between the size of a non-choatic zone and how the orbit changes in that zone. (probably this will be another fractal structure ;-) Did you buy that Jupiter ??? any tests yet ??

    best
    Rob

    (ah, yes if p.e. you turn the number of iterations into 36 (or so), you see it's fairly stable without changing any of the parameters in the algorithm)
    Attached Files Attached Files
    Last edited by RobbeK; 11-01-2014 at 22:07.

  5. #5
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,129
    Rep Power
    732
    Hi Rob,

    one idea - maybe it would be good to make the iterations timer based, to keep the dialog responsive during the animation.

    Regarding Jupiter - it was a big dilema, but I decided to save the money for now, as I discovered my father has 135mm f2.8 Nikon at home - so I would duplicate the "family gear" a bit with this purchase.


    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  6. #6
    @Rob

    I'm speechless! I'm frozen still and hypnotized out of my mind!

    @Petr

    It's not yet exactly what Rob is after. Optimizations will come a little later and I'm dying to see his final results.

    [EDIT] I've noticed that changing all Singles in the script to Doubles (O2+TB) adds more pleasant relief to the picture. But can anybody explain to me why this also makes the script run noticeably slower for me? Is it too late in the evening here or are TB's Doubles slower to process than its Singles? I haven't seen anything in the O2 sources that would make me think FPU precision may really matter there nor does it matter in FBSL...
    Last edited by mike lobanovsky; 12-01-2014 at 02:28. Reason: Implementation question
    Mike
    (3.6GHz i5 Core Quad w/ 16GB RAM, nVidia GTX 1060Ti w/ 6GB VRAM, x64 Windows 7 Ultimate Sp1)

  7. #7
    Member sblank's Avatar
    Join Date
    Feb 2010
    Location
    Wayne City, Illinois
    Posts
    80
    Rep Power
    23
    Very, very nice!

    Stan

  8. #8
    Member
    Join Date
    Sep 2008
    Location
    Germany
    Posts
    406
    Rep Power
    56
    Hi,


    I like this copper colour, looks great.


    2012, I wrote these Mandels (in the zip file) it has a strong likeness somehow.
    The Oxygen Dll is an ancient relict from the year 2011, but runs


    I measure a time, but I can't remember what accurately I measure here.
    Attached Files Attached Files

  9. #9
    Thanks Peter , Stan (Peter, I'll have a look at them ).

    Mike , Petr -- you both are correct ;-) the alfa3 hides the controls ...

    changed :

    bail out value from e to e²
    !!! added a glow parameter -- this can be done by making the zone abs(ln(1)) wider , the value ln(ORB) changes from pos to neg here, generating the glow.
    This done with the diffuse button (it is reset by StarT).
    What'd you think ? better the more diffused ?

    best Rob
    (now a Mandelbrot map of this thing, and then upto Julia )
    Attached Files Attached Files
    Last edited by RobbeK; 12-01-2014 at 13:04.

  10. #10
    Rob,

    Both versions look great but I don't yet know which one would be the best. Seems reasonable to keep both of them for later experimentation.

    It seems to me the sharper glow version goes beyond the [255,255,255] limit at some places. There are occasional black dots seen at the crests from time to time, and I've even spotted momentarily a tiny green area. The upper limit of each component should be strictly clamped to 255.
    Mike
    (3.6GHz i5 Core Quad w/ 16GB RAM, nVidia GTX 1060Ti w/ 6GB VRAM, x64 Windows 7 Ultimate Sp1)

Page 1 of 2 12 LastLast

Similar Threads

  1. Biomorphs , a Fractal creatures
    By zak in forum Math: all about
    Replies: 6
    Last Post: 14-03-2010, 12:02
  2. Fractal Videos
    By Charles Pegge in forum Shout Box Area
    Replies: 2
    Last Post: 13-03-2010, 12:04
  3. fractal tbgl help
    By Lionheart008 in forum TBGL General
    Replies: 12
    Last Post: 16-06-2009, 11:57
  4. Fractal Fern
    By Michael Clease in forum TBGL General
    Replies: 17
    Last Post: 08-08-2007, 11:58

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •