Here's an example of what I think that you want to do.
In the init section, q1 is set to a random value. The value used in the formula is tweaked by the dq1 parameter, which you can change manually.
example {
init:
int s = random(@seed)
complex q1 = (-0.5,-0.5) + (abs(s) + flip(random(s)))/
q1 = q1 + @dq1
loop:
z = sqr(z + q1) +
bailout:
|z| <= @bailout
default:
title = "example"
complex param dq1
caption = "add to q1"
default = (0,0)
endparam
int param seed
caption = "seed"
default = 123456789
endparam
float param bailout
caption = "Bailout value"
default = 4.0
min = 1.0
endparam
}
Here's an example of what I think that you want to do.
In the init section, q1 is set to a random value. The value used in the formula is tweaked by the dq1 parameter, which you can change manually.
````
example {
init:
int s = random(@seed)
complex q1 = (-0.5,-0.5) + (abs(s) + flip(random(s)))/#randomrange
q1 = q1 + @dq1
loop:
z = sqr(z + q1) + #pixel
bailout:
|z| <= @bailout
default:
title = "example"
complex param dq1
caption = "add to q1"
default = (0,0)
endparam
int param seed
caption = "seed"
default = 123456789
endparam
float param bailout
caption = "Bailout value"
default = 4.0
min = 1.0
endparam
}
````