Question

2 views
Skip to first unread message

Jayce Cruel

unread,
Oct 15, 2007, 7:38:52 PM10/15/07
to UFB...@googlegroups.com

Hello all!

I have a couple of questions, and an update-

I've been working on my building block formula, and was playing with the "gnarl" mandras tweak. I didn't like it, and thought that I could make it better. After doing a bit of searching, I found the "Gnarly +FBM" formula by Gilles Nadeau. It fit the bill wonderfully (even better than I had hoped), and I have successfully been able to integrate it as a tweak for the building block formula.

I want to ask him for his permission to use this formula in the building block formula (if it should ever go "public"), but I am unable to find his information. does anyone know how I can contact him to ask him for permission to use his code?

As a sidenote, I noticed that the formula he had was a modification of a gnarly formula by Mark Townsend. Should I also inquire for his permission as well, since it is a modification of a formula he originally wrote?

One more question, related to the formula itself: I have more or less completed the help file for the formula. Should I include "hints" for each of the parameters? I can do that, but it would take more time, and would make the overall size somewhat larger (I believe it currently sits at about 1 MB for the fractal formula).

Besides the inclusion of "hints", the formula is pretty much complete, at least as far as raw code is concerned (unless there are any suggestions for additional tweaks to include). In my opinion, the user interface is more or less complete as well, unless there are any more suggestions as to how the user interface should look/feel/work. I had an idea of using UF's "print" feature to help the user see the formula equation they have "built", based on the parameters they have chosen in the various blocks. but I think it would require substantial additional coding and "boat" the formula, and I'm not sure if it would even be worth the trouble, so I didn't do it.


Otherwise, I believe it is pretty much ready for "public" inclusion (regardless of whether the additional "gnarly" tweak is included or not, I have both versions ready), if people believed it was worthy of being part of the public database.

I would also like to re-write the fractal formula as a transformation and coloring formula, to make a complete formula set, although those may or may not make it to the public database.


Thank you all for your help and assistance in making this formula the best it could possibly be.

-Jayce Cruel


____________________________________________________________________________________
Yahoo! oneSearch: Finally, mobile search
that gives answers, not web links.
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC

d-p-m

unread,
Oct 16, 2007, 8:10:12 PM10/16/07
to UFBeta
Hiya Jayce,

I have been playing with this formula, as i find it very intriguing,
fun and time saving for code exploration, though, due to my lack of...
smarts... I'm having some trouble with the basics. So, just for a
quick question, How would i set this formula up the generate a
standard Julia fractal? I'm sure it is quite easy, but i just haven't
been able to figure that one out... But made some very unique
mandelbrot type things :)

Great job, I'm really glad you have put the time in to create this
code, it is appreciated :)

Cheers

Daniel

Jayce Cruel

unread,
Oct 16, 2007, 10:37:19 PM10/16/07
to UFB...@googlegroups.com
Hi Daniel!

It's really my fault for lack of proper documentation. But here's how you make a generic julia fractal with the building block formula:

remember that the generic julia formula equation is z = z * z + <some number>

For the equation blocks, they should be set as follows:

FIRST BLOCK
choice: current z
fn: ident()

SECOND BLOCK
1 to 2 operation: *
choice: current z
fn: ident()

THIRD BLOCK
2 to 3 operation: +
choice: number
p1 (re): any number
p1 (im): any number


that's basically it. All the other parameter blocks should be left to their defaults. The first and second blocks are the default values, but the third block is changed from its default value (the "choice" parameter in the 3rd block is changed from "pixel" to "number", and you set the number to something appropriate).

If you write out the equation blocks together, you will see the equation you are building. In this case, you have built the equation z * z + <a number>, which is the generic julia equation.

Here is a sample UPR to demonstrate what I mean:

Fractal1 {
::2ovS/jn2d252yNOyRa477I63BF8ydjWiMPwDeXeh32ecM7O2OiptdM8KGQUgSYbSCaQoul6w
PO7D6W4AJBIKUIzciYmRIzqKc4/DQ6jUN7tZRbyj297+4Hu7u8k8dxLH9TVlmM6uvn8U+LLn
Sjv7l4knfJfJNf8d7iePO70yJFzYTW8TJ5nWO6/O69Nx/HTG/wkpPAjHPb0H/Q54KX3NRHzT
SPsc0/V0mv+cW6rHea0dpHj2kk/+yJjH/xPsP64xkDPXN64D5xZLH/w472H98hid020s9vuL
qs9+o3SK67m3dHjz28S8mvuMd7272msL+Q0e3JwjPuLdzXX8p5faKO5+X3ufUxEdLb27ujhy
mjXM31b0dHXf6l0vncIJf5hU3W/s7rWXN/Jr38Saym4lHTeLeXxKcT7vFVdUutd59pPNZ92D
LTeytH9Mty+/1/in9XZnU3J1yXP86p4n6byVHXrTf8/d5oNvml52P39jR9Na3wCeoW0foD3z
7xDxpfzd4dw9FFDd7gDV6KnFHtLxF3ulObf0uBW8zjW5iXeF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knea35nnWvVr0pu01v7XrJ24iadhe/WSTuuzu5W+L1bsMfLKLZ58ZTZChb2lF2wLx
ZzW8wC3/tRjvn8UhTQrj7Cc5yrTw5inj+/U92tT42VvNjb392Uud3G5s3FtKp9uiNz6TOVkj
xlCJ/WxGVyjjvtT8xTJ7SPc+ybrelJap4arypOTwSQpV1JNfxab1Buo+0qMeVlqZ59pPtE8d
KcMNZ36jZxdPHqble91krV7oHrftiaVNL+bX/7agmNc7i1bmgVvMie6Mb5kZ9OtFLnsoTH3B
mrlzYzX0U317+rql3d4qez0VBy0V+z0Vez0V9mpr8npr8npr6JTX1fmuKcmuybmuqvMdVvZ6
qQZ6qez0VBz0V9nprCmp/hktb7NWLb2fyW22b4W2pKf7Ekl9m4LLL7A9k/lN9m1ld8H3Vnd9
l4N76P0LHhvcvsRPRfZv+S/GN7PP6jBqaGADaOg+23BghP7OV7FGKb2PMU22LMU2pHYosnXY
osTfwQZTvwQZH/wQ1ZXfwQzu+hhyR4DGKb0DMU2rPYoRz+zj+ghqmBghmDov99AwAEkGgBwB
ofeACBEQ/EBEEJg+ZCIAUAhpCYYsA6lLgQgBEkMghQDIIbADCHQY6AGEPwg4BOAeg9jHYI8A
7HPwg4B2PegBwDMMegDjHYv4BGCPwg4BOEegBxDcQ8ADjHYX846Lh9WnVVx75QbfvGl/4HSO
U83NZ/uiZmnFd402L/Opk+ae3WVv7Of8DPnF9UiLDL7eq6Ndq43KikDPV+27sJdXamTIbyUY
+86qF/mLUVfy0Jwk5MX3AGXGYV9op8iJ1Nwrzgn6OiOGtxpj2cf6Szz7y6uLBm/4H+/BNw5E
SD==
}

As a somewhat technical side note, you can also write the julia equation this way:

FIRST BLOCK

choice: current z

fn: ident()

SECOND BLOCK

1 to 2 operation: ^

choice: number


p1 (re): 2


p1 (im): 0


THIRD BLOCK

2 to 3 operation: +

choice: number

p1 (re): any number

p1 (im): any number


In this case, by writing the blocks together, you get the equation z ^ 2 + <a number>. In this way, you'll also get the standard julia fractal. I believe this is how it is written in the standard.ufm julia formula, if I am not mistaken. It's all the same math, anywho...

I'm glad you're having fun with the formula. Makes me feel like I'm doing something good for a change ;) Hopefully, if possible, I can roll out an updated version that has a little extra somethin'-somethin' that I think people will like

Until then, if you have any more questions, please don't hesitate to ask me. I'm always more than happy to do my best to answer.

Thanks again for playing with the building block formula!

-Jayce Cruel


____________________________________________________________________________________
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.
http://mobile.yahoo.com/go?refer=1GNXIC

Reply all
Reply to author
Forward
0 new messages