Logo by dainbramage - 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: Follow us on Twitter
 
*
Welcome, Guest. Please login or register. September 30, 2022, 07:09:33 PM


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: Iterations or time for Chaos Game/Flame fractals  (Read 1180 times)
0 Members and 1 Guest are viewing this topic.
David Makin
Global Moderator
Fractal Senior
******
Posts: 2286



Makin' Magic Fractals
WWW
« on: January 19, 2012, 12:31:29 PM »

Hi all,

In another thread someone asked why their flame was rendering differently at different resolutions, generally this issue is down to the need to change the number of iterations under change of resolution and/or magnification.
I think the topic's probably been covered before, but anyway in my 2D wip IFS formula for UF (the RIFSbeta one that allows chaos game, deterministic or escape-time rendering) I wrote it so that for the chaos game renders it could be set to auto-magically adjust the iterations used based on the resolution/magnification and the fractal dimension.
The method is:

Code:
Original width w (pixels)
Original height h (pixels)
Original magnification m

Fractal dimension D

New width a (pixels)
New height b (pixels)
New magnification n

Need to scale iterations (or time) by (sqrt((a*b)/(w*h))*n/m)^D

Of course since flames generally have non-linear components it's not so easy to analytically get a value for the fractal dimension but even so one can use an educated guess for D and still apply the above formula to get some idea of how much the iteration count (or time) needs to change to ge the same image under changes in resolution and/or magnification.
« Last Edit: January 19, 2012, 12:36:20 PM by David Makin » Logged

The meaning and purpose of life is to give life purpose and meaning.

http://www.fractalgallery.co.uk/
"Makin' Magic Music" on Jango
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Chaos Game Representation (CGR) (new) Theories & Research iman_tavassoly 1 886 Last post October 25, 2006, 05:14:09 PM
by alan2here
Chaos Game General Discussion Thunderwave 0 790 Last post October 14, 2010, 11:24:40 PM
by Thunderwave
Rotating Chaos Game Movies Showcase (Rate My Movie) lkmitch 0 759 Last post June 20, 2011, 09:41:23 PM
by lkmitch
Fractals in Movies, Game design and Engagement Fractals Applied or in Nature kram1032 4 2477 Last post September 19, 2013, 05:21:22 PM
by kram1032
2D platform game based on Fractals 3D Fractal Generation Mrz00m 10 2699 Last post August 13, 2015, 04:11:59 PM
by Mrz00m

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