Writing Formulas
Questions and discussion regarding writing Ultra Fractal formulas and classes.
58
Topics
241
Posts
6
Followers
Yes No
Hide topic messages
Yes No
Enable infinite scrolling
Tester37 posted Apr 8 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
29views
recent by Tester37  ·  Apr 10 at 3:44 pm
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
7replies
113views
recent by Tester37  ·  Apr 8 at 9:22 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
248views
recent by PedroOrtiz  ·  Feb 21 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
52views
recent by Frederik Slijkerman  ·  Jan 12 at 9:14 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

2replies
40views
recent by Phillip  ·  Aug 25 '23 at 7:22 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
126views
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
139views
recent by physicist  ·  Apr 5 '23 at 12:33 pm
crystalwizard posted Feb 4 '23 at 10:29 pm
I follow Pickover on twitter, and he made this suggestion today

"A simple formula produces strange and unpredictable forms ⁠— wispy, chaotic ghosts composed of 10 million points. "

here's the link he provided

https://fronkonstin.com/2017/11/07/drawing-10-million-points-with-ggplot-clifford-attractors/

and the formulas are incredibly simple

6replies
117views
recent by physicist  ·  Feb 9 '23 at 12:45 pm
physicist posted Nov 2 '22 at 12:08 am
I'm contemplating writing a new mapping formula. I could write this as a transformation in a uxf file, or use Plug-In Transformation from Standard.ulb and write a UserTransformation to go in my ulb file.

So far, I don't see any advantages to doing it one way or the other. Comments?

3replies
102views
recent by physicist  ·  Nov 10 '22 at 8:56 pm
I have a problem. I tried using perturbation theory for the Magnet Mandelbrot type I fractal, but after going a quadrillion zooms, the image becomes... well, you know what happens.


The code:

Magnet1Mandelbrot {
;
; Magnetic Mandelbrot set type 1. Use Switch Mode to select a
; magnetic Julia set.
;
init:
z = @start
c = #pixel
x = real(z)
y = imag(z)
i = sqrt(-1)
loop:
z =
6318fc526be8a.png
9replies
245views
recent by Alexandre Vachon  ·  Oct 28 '22 at 4:29 pm
physicist posted Jul 14 '22 at 6:35 pm
The compiler objects to the continuation character in the example below, says it's not a valid character there. The truth is that the comment is not allowed there (should it be allowed there?), and the error message is wrong.

param enum F
caption = "F"
enum = "a" \ ; comment
"b"
endparam
It's fine without the comment.

param enum F
caption = "F"
enum = "a" \
"b"
4replies
118views
recent by Frederik Slijkerman  ·  Aug 2 '22 at 1:30 pm
Spizzi posted Jun 20 '22 at 1:29 am
This is wonderful, at the left of the JPEG we have SlopeTMan in as.ufm created in 2006 and at the right of the jpeg and we have a new version that i'm doing in these days, look the difference of the slope color, in the right is correct but in the left no, or better, it's correct also in the left, because in fractals there are always new combinations, but in the right is the correct use of the 3D
62afbe649b3db.jpg
0replies
71views
Hi all,
I write this because some time ago while i was working on my formulae i don't know how, probabily with a strange combination of keybord, i don't know, but i was able to use the funzion BLOCK SELECTION, i don't know if you know what i mean, closing UF i lost that and i didn't able to replicate because UF doesn't have block selection.
So i ask if it's possible to insert this function
0replies
55views
Load more
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft