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. April 19, 2024, 03:59:18 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: Qfractal becomes a reality  (Read 1884 times)
Description: the Qfrsctal project moves into the mathimatical world
0 Members and 1 Guest are viewing this topic.
matty686
Conqueror
*******
Posts: 106


open-source rocks


WWW
« on: November 13, 2012, 02:04:30 PM »

Qfractal basic solver {

; by (sophy-starfire-1 , sophy-starfire-2 and cammy-starfire) together we make up a human formally know as matty686
; based on the work of Samual Monnier, 5.1.99
; this ultra-fractal formula is a formula designed to plug images into if you don't know how to plug images into fractals look in the ultra-fractal manual 
; this formula must be rendered in passes you need to create one layer for each pass and offset the render parameter each time till the entire fractal is covered
; if you don't render the fractal in passes it will look broken 
; this formula is very difficult to use at first it may even seem like junk but if you play with the render parameter you will see what we were talking about render passes
; if done right the final render should not look broken even if you set the curve order to some crazy fraction
;
init:
  z = #pixel
  float arg = atan2(z)
  bool bail = false
  int i = @i
loop:


  i = i + 1

  if i > 1
  z = (1/sqrt(@r)*real(z) + 1i*sqrt(@r)*imag(z))*@twist
  if 0 == 0
    if |z| > 1000000000
      bail = true
    endif
  elseif 0 == 1 || (0 == 2 && i == 2)
    if |z| > 1
      bail = true
    endif
  endif

  arg = atan2(z*@render)

  ; Deal the case where z needs a rotation
  float arg2 = round(@n/(2*pi)*arg)*2*pi/@n

  ; Prevent the "daughter-circle" drawed under the
  ; "mother" one from having babies...
  if round(@n/(2*pi)*arg) == 0 && i > 2
    if arg > 0
      arg2 = 2*pi/@n
    else
      arg2 = -2*pi/@n
    endif
  endif
  ; Rotate the z that need it.
  z = z*exp(-1i*arg2)
  ; Set the future circle center
  ; at the origin
  if 0 == 0
    z = - z + (1 + |@focus|/@s)
  elseif 0 == 1
    z = - z + (1 - |@focus|/@s)
  elseif (0 == 2 && i == 2)
    z =  + z - (1 - 1/@s)
  elseif (0 == 2 && i > 2)
    z = - z + (1 + |@focus|/@s)
  endif
   ;Magnifiy z by s.
  z = @s*z
  endif

bailout:
  bail == false
default:
  title = "Qfractal basic solver"
  helpfile = "none"
  magn = .5
  center = (0.00021,0.0002)
  maxiter = 50
  periodicity = 0
  param s
    caption = "Magnification step"
    default = 1.7
  endparam
  param n
    caption = "Curve Order"
    default = 3.0
  endparam
  param r
    caption = "Twist Parameter"
    default = (1,0)
  endparam
  param focus
     caption = "focus"
     default = (1,0)
  endparam
  param twist
     caption = "spin"
     default = (1,0)
  endparam
  param render
         caption = "render slice"
     default = (1,0)
     endparam
  param i
     caption = "i"
     default = 0
  endparam
}
Logged

open-source rocks
matty686
Conqueror
*******
Posts: 106


open-source rocks


WWW
« Reply #1 on: November 20, 2012, 08:02:03 PM »

ok there is a little botch up i need to fix
Logged

open-source rocks
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Infinite Reality Images Showcase (Rate My Fractal) David Makin 1 2230 Last post December 10, 2006, 07:00:40 PM
by GFWorld
Superstring Reality Mandelbulb3D Gallery KRAFTWERK 0 1134 Last post May 14, 2011, 09:25:49 AM
by KRAFTWERK
Function of Reality Images Showcase (Rate My Fractal) alexl 1 1957 Last post April 03, 2012, 04:32:51 AM
by weavers
3DBD Function of Reality Fractal DVDs alexl 0 6581 Last post July 28, 2013, 12:59:18 AM
by alexl
Reality JWildfire Gallery thargor6 0 438 Last post January 13, 2014, 11:38:56 PM
by thargor6

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 26 queries. (Pretty URLs adds 0.008s, 2q)