Writing Formulas
Questions and discussion regarding writing Ultra Fractal formulas and classes.
65
Topics
301
Posts
6
Followers
Yes No
Hide topic messages
Yes No
Enable infinite scrolling
Dint posted Aug 2 '19 at 12:29 am
I went through the documentation but I am not sure I am understanding correctly.

My question is pretty simple.

If I have a formula file
an Inside COloring file
and OUtside Coloring file

Can I pass a parameter on the formula file to the coloring file... specifically the Color density?

Thank you for your help in advance!

6replies
165views
recent by Phillip  ·  4 days ago at 11:03 am
I wrote a class that's a subclass of common.ulbivergentFormula. ←wth why a smiley?

The formula is purpose-built for a coloring algorithm where it is used hardcodedly (not as a class param), and I need to set the @p_bailout parameter to what the coloring needs (also hardcoded). Is there a way to do that, without writing my own m_bailout 'replacement' member in the class and overriding IsB
669d7569a6689.png
1replies
82views
recent by Frederik Slijkerman  ·  Aug 7 '24 at 8:27 am
I am testing UF6 right now, and try to make the first formulas. For this i try to translate the trigonometric functions from here ... to UF.
ht__tp://github.com/mathnet/mathnet-numerics
(UF should have a complete 24 set of all trigonometric functions, for float and complex.)

Now i stack, because i not get it done to return a complex value.
Can somebody tell me how to return a complex
10replies
288views
recent by Frederik Slijkerman  ·  Aug 7 '24 at 8:23 am
Phillip posted Aug 24 '23 at 8:13 am
Hello,

I am writing a coloring algo at the moment and I tried using min(val1, val2) where val1 and val2 are two floating point values, and the function does not exist (error: invalid function). So I went looking for an equivalent function and I cannot find one. Does UF not have such a fucntion? It seems like such a basic thing. Am I just overlooking something?

Phillip

3replies
116views
recent by Alexandre Vachon  ·  Jun 1 '24 at 11:59 pm
Dint posted May 9 '24 at 6:00 pm
I have created my own formulas and have even created an entire script for Ultrafractal with interchangeable parameters. I was wondering, Has anyone tried using the formulas created in Ultrafractal and tried to create a 3d fractal creation in Mandlebulb?

I am trying to figure out how I could do that and am for some reason having a mental block or is it just not possible?

I know this is
0replies
83views
I am pleased to announce that I am deploying the first release of my plugin library pack of vectors, quaternions and matrices! Feel free to send feedback here, send bug reports and feature requests and in FractalForums!

https://fractalforums.org/index.php?action=dlattach;topic=5310.0;attach=30889

Includes:
mat2
mat2x3
mat3
mat4
quat
quat2
vec2
vec3
vec4

3replies
129views
recent by Alexandre Vachon  ·  May 3 '24 at 12:40 pm
Tester37 posted Apr 8 '24 at 10:22 pm
https://www.ultrafractal.com/help/index.html?/help/formulas/standard/lambda.html

in case somebody interested, I found a normalisation of the lambda formula.

init
a = (p + 1) / (2 ^ p)

loop
z = (a - z^p) / a z c

1replies
101views
recent by Tester37  ·  Apr 10 '24 at 3:44 pm
Spizzi posted Jun 23 '22 at 5:36 pm
Hi All,
I'm working on a new game The formula is TMan in Russell Walsmith orgform.
Basically is my SlopeTMan that i'm rewritng and re-structured but i have a problem.
I have implemented the TMan of Russell and i added also a normal Mandelbrot that i attach under.
In your opinion is it correct?
That parameter is correct?
Try it to p1 (0.0 , 0.1), you will see the black line, i t
6replies
394views
recent by PedroOrtiz  ·  Feb 21 '24 at 3:16 pm
I've been seeing some strange behavior in some formulas that I'm working on and finally figured out why.

Here's some pseudo-code of how UF works. This is for the class version of UF; the non-class version works similarly:

for each pixel, repeat
call Iterate in the Formula plug-in to get a new z
if the new z causes bailout
call ResultIndex in the Coloring plug-in
1replies
124views
recent by Frederik Slijkerman  ·  Jan 12 '24 at 9:14 am
Phillip posted Apr 5 '23 at 8:55 am
Hello,

I have been working with a formula for a while, which I have been calling Mandalamandelbrot and Mandaljulia, because it creates nice patters with circular symmetries depending on the location and parameters used. Here are a few examples:
https://www.deviantart.com/rychveldir/art/Almond-Ship-931583199
https://www.deviantart.com/rychveldir/art/Mandala-Chain-912805646
https://www
642d27e9d65e7.jpg
2replies
205views
recent by Phillip  ·  Apr 26 '23 at 8:41 am
physicist posted Sep 22 '22 at 7:54 pm
The built-in functions include round, floor, ceil, and trunc. Trunc rounds towards zero. For floats, the behavior of trunc is equivalent to the following:

float func trunc(float x)
if x >= 0
return floor(x)
else
return ceil(x)
endif
endfunc
There is no equivalent function with < instead of >. In mathematics, I haven't even found a name for this. The best name that I cou
5replies
235views
recent by physicist  ·  Apr 5 '23 at 12:33 pm
Load more
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft