gerrit
posted Mar 17 '21 at 1:11 am
Is there a way to set formula parameters programmatically, be displayed in the GUI and allow further manual tweaks?

Eg I have a formula parameter set q1,.., q8 which I give random values programmatically but then want to tweak manually.

I'm debugging a new formula. All the printing so far is in the constructor. I get many more lines of printing than I expected, some of the same things over and over.

I thought that the constructor was only invoked once.

When is it really invoked? How can I avoid the excess printing?

I've been having problems with what I believe are artifacts. They seem to have some connection with function settings, particularly exp, and cotan, cotanh, tan, tanh, cos, cosh, sin, sinh.

Here's an example from om.ulb, featuring a transform which maps according to various combinations of functions:

artifact1 {

fractal:

title="artifact1" width=1024 height=768 layers=1

credits="Ot

aelah
posted Dec 17 '19 at 7:11 am
The Absolute Julia transformation is made by taking a fractal and mapping each coordinate to its square root.

Absolute Julia {

transform:

#pixel = sqr(#pixel)

}

I have a formula and want to add a new parameter to it without breaking past fractals. The formula has a version number in it, such as this declaration in the default section:

int param v_SFormula

caption = "Version (SFormula)"

default = 100

visible = @v_SFormula < 100

endparam

If the new version of the formula has "default = 101", how do I put in the ne

Dint
posted Oct 24 '19 at 4:38 pm
I was able to make input fields based on numerical values and Pull downs with Text Choices that equal values. I have a two questions.

I know ultrafractal is specialized programming language so I know it has limitations and I would like to find out if this is even doable...

If I want an input value to be text... would I be able to program it where that text gets printed on the Fractal

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!

Hi folks,

I've been off UF for some time, and trying now to update the formula DB for UF6. I am getting a message after the download is complete that a txt file cannot be created, access denied, and when I dismiss that, the install process hangs. I have a screenshot of the message, which I attach. Any ideas? Never had anything like this happen before.

Also, in trying to update the v5 data

Does anyone know how to write a formula for this fractal?

I've seen it called a teardrop or mandeldrop fractal, but after much experimentation have been unable to recreate it.

There may already be a formula for this in the database, but I couldn't find one.

gerrit
posted Apr 24 '19 at 12:43 am
Is there an emacs mode file for editing UF formulas?

gerrit
posted Jul 30 '18 at 7:56 pm
I attempted to implement a perturbation method for this fractal:

w <-- w/z

z <-- z^2+w^2+c

but it does not give the right result. Suggestions anyone?

MandelFoamPT {

init:

#z = sqrt(-1/2)

loop:

#z = #z^2 + #pixel

bailout:

|#z| <= @bailout

perturbinit:

#dz = 0

w = sqrt(1/2)

perturbloop:

wo = w

w = w/#z;

#dz = 2*#z*#dz + sqr(#dz) + wo^2 + #dpixel

default

gerrit
posted Jul 17 '18 at 4:09 am
Seems like the outer iteration variable is reset in the inner loop.

Example below.

class Bug {

static func printCoeff(int K,int M)

$define DEBUG

int i=0

int j=0

while(i<=K)

;print("i1=",i)

while(j<=M)

if i>0

; never get here, i is reset to 0?

print(i, " ", j)

endif

;print("i2=",i)

gerrit
posted Jun 3 '18 at 2:33 am
For given width, height, magn, how can I obtain the #pixel spacing? For a square image it seems 4/#magn/#width, but for other aspect ratios I can't figure it out.

gerrit
posted May 21 '18 at 11:35 pm
Is there any way to make formula variables visible in the coloring formula loop? I'm trying some fractals with more than one variable z and need to use both in coloring.

I have an ugly workaround basically doing all the coloring in the fractal formula and stuffing the color index in #z at the end and then just setting #index = #z in the coloring formula.

Is it possible to declare a Global Variable such that its value persists across animation frames? This is necessary when one frame of the animation is dependent on some computational state information of the previous frame, behond what is stored in the Parameters.

For example, the fractals produced in diffusion models, where the pictorial fractal is a representation of a computational state w

@ Frederik

My formula file om.ufm is getting quite large, 2017 kb, with a lot of formulas. I have just received a request from someone who uses the formulas for a new file. Is it possible to have an om2.ufm file, please?

Hi all,

In some coloring algorithm there is a loop, (for instance in the Gaussian integer algorithm)

loop:

iter=iter+1

temp2=#z

......

final:

I want to know when this part is executed.

Is it added at the loop of the formula, for instance Mandelbrot formula?

Thank you

Hi all,

In the slope (Mandelbrot) formula a «height» based on distance estimator is calculated.

Can you tell the origin of these formulas, or an explanation?

Thanks

Hello

I am a beginner with the writing of formulas.

I have two questions:

1.

In the triangle inequality average coloring program we find:

IF (!first)

az2 = cabs(#z - #pixel)

lowbound = abs(az2 - ac)

sum = sum + ((cabs(#z) - lowbound) / (az2+ac - lowbound))

ELSE

first = false

ENDIF

I suppose that !first means the value of first but I a

There is a script in apo that I really wish I could play with in UF (my apo got corrupted and can't find it now as it was removed from where I found it and cannot now find another version that will work on my mac) called Faerie Blossom originally written for Apophysis by Bunnie Clark and Bart Doetsch, am I wishful thinking here or is it possible?