Writing Formulas
Questions and discussion regarding writing Ultra Fractal formulas and classes.
Yes No
Hide topic messages
Yes No
Enable infinite scrolling
Spizzi posted 5 days ago 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
recent by Spizzi  ·  2 days ago at 1:28 am
Spizzi posted Jun 20 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
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
physicist posted Feb 24 at 2:49 pm
I'm confused. What should go in place of * in the code below? Or is this not the way to do this?

class cTweak {

import "common.ulb"

func cTweak()
cTransform = new @cUT(***)

complex func go(complex v)
return cTransform.Iterate(v)

UserTransform cTransform

UserTransform param cUT
caption = "c-tweak transform"
recent by physicist  ·  Feb 25 at 12:18 pm
physicist posted Oct 30 '20 at 4:04 pm
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?

recent by physicist  ·  Oct 31 '20 at 10:43 am
Otto Magus posted Feb 9 '20 at 3:15 pm
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 {
title="artifact1" width=1024 height=768 layers=1
recent by Otto Magus  ·  Feb 28 '20 at 3:21 pm
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 {
#pixel = sqr(#pixel)

physicist posted Nov 8 '19 at 12:46 am
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
If the new version of the formula has "default = 101", how do I put in the ne
recent by Otto Magus  ·  Dec 4 '19 at 12:57 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
recent by Frederik Slijkerman  ·  Oct 28 '19 at 8:42 pm
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!

recent by Dint  ·  Oct 24 '19 at 4:30 pm
tobymarshall posted Aug 7 '19 at 10:07 pm
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
recent by jam  ·  Aug 24 '19 at 3:45 pm
Otto Magus posted Dec 7 '15 at 1:26 pm
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.

recent by Velvet--Glove  ·  Aug 17 '19 at 9:03 am
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 {
#z = sqrt(-1/2)
#z = #z^2 + #pixel
|#z| <= @bailout
#dz = 0
w = sqrt(1/2)
wo = w
w = w/#z;
#dz = 2*#z*#dz + sqr(#dz) + wo^2 + #dpixel
recent by gerrit  ·  Aug 22 '18 at 3:58 am
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

if i>0
; never get here, i is reset to 0?
print(i, " ", j)
recent by gerrit  ·  Jul 17 '18 at 3:30 pm
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.

recent by Frederik Slijkerman  ·  May 25 '18 at 8:15 am
jochoalions posted Dec 19 '17 at 5:27 pm
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
recent by jochoalions  ·  Dec 23 '17 at 3:22 pm
Load more
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft