Rovastar - Fractal Dreaming (beta)

Discussion forum for G-Force users

Moderators: BTT, andy55, b.dwall, juxtiphi

Post Reply
Rovastar
Posts: 295
Joined: Wed May 05, 2004 9:25 am
Location: Derby/London, England

Rovastar - Fractal Dreaming (beta)

Post by Rovastar »

Done what I wanted - this is awesome. :)

Gonna play with the Ax stuffs and make them random but you get the idea. :)

Code: Select all

//  Rovastar - Fractal Dreaming (beta)
//
//  With help from "My Lost Marbles" by "Ted" & "TriFlow" by "Roger Bigod"
//



Aspc=1



A0=".3"                 // cell size
//A0 = "0.25"
A1="(0.2+rnd(.15))*a0"          // speed of flow
A2="0.5*(1+sgn(rnd(1)-0.5))"    // randomly 0 or 1
//A2="0"
A3="1/a0"

// Temp vars
A4=".5 * a0"
A5=".866025*a0"
A6="1-a2"

A7="-1.6"


D0="(1.154702*theta)*a3"
D1="(r-.5773503*theta)*a3"
D2="(r+.5773503*theta)*a3"




D3="sgn(-0.5+wrap((1+d0)/2))*sgn(-0.5+wrap((1+d1)/2))*sgn(-0.5+wrap((1+d2)/2))"
D4="a4*( Flor(d1) + flor(d2) +1 )"                // center of triangle
D5="a5*( flor(d0) +0.5 - 0.166*d3 )"

D6="a1*((d3-a7)*10)"


//srcX="x+d6*(d5-y)"
//srcY="y-d6*(d4-x)"
srcR="r+d6*(d5-(1*theta)) "
srcT="theta-d6*(d4-r)"



Vers=100


Rovastar
Posts: 295
Joined: Wed May 05, 2004 9:25 am
Location: Derby/London, England

Post by Rovastar »

ANd the equivalant x and y versions. :)

Code: Select all

//  Rovastar - Fractal Dreaming 2 (beta)
//
//  With help from "My Lost Marbles" by "Ted" & "TriFlow" by "Roger Bigod"
//



Aspc=1



A0=".3"                 // cell size
//A0 = "0.25"
A1="(0.2+rnd(.15))*a0"          // speed of flow
A2="0.5*(1+sgn(rnd(1)-0.5))"    // randomly 0 or 1
//A2="0"
A3="1/a0"

// Temp vars
A4=".5 * a0"
A5=".866025*a0"
A6="1-a2"

A7="-1.6"


D0="(1.154702*y)*a3"
D1="(x-.5773503*y)*a3"
D2="(x+.5773503*y)*a3"




D3="sgn(-0.5+wrap((1+d0)/2))*sgn(-0.5+wrap((1+d1)/2))*sgn(-0.5+wrap((1+d2)/2))"
D4="a4*( Flor(d1) + flor(d2) +1 )"                // center of triangle
D5="a5*( flor(d0) +0.5 - 0.166*d3 )"

D6="a1*((d3-a7)*10)"


//srcX="x+d6*(d5-y)"
//srcY="y-d6*(d4-x)"
srcX="x+d6*(d5-(1*y)) "
srcY="y-d6*(d4-x)"



Vers=100

Rovastar
Posts: 295
Joined: Wed May 05, 2004 9:25 am
Location: Derby/London, England

Post by Rovastar »

Finished one....runningout oif time tonight too late

here you go

Code: Select all

//  Rovastar - Fractal Dreaming 2
//
//  With help from "My Lost Marbles" by "Ted" & "TriFlow" by "Roger Bigod"
//



Aspc=1



A0="sgn(rnd(2)-1)*(0.15 + rnd(0.2))"                 // cell size
//A0 = "0.25"
A1="(0.2+rnd(.15))*a0"          // speed of flow
A2="0.5*(1+sgn(rnd(1)-0.5))"    // randomly 0 or 1
//A2="0"
A3="1/a0"

// Temp vars
A4=".5 * a0"
A5=".866025*a0"
A6="1-a2"

A7="sgn(rnd(2)-1)*(1.2+rnd(0.75))"


D0="(1.154702*y)*a3"
D1="(x-.5773503*y)*a3"
D2="(x+.5773503*y)*a3"

D3="sgn(-0.5+wrap((1+d0)/2))*sgn(-0.5+wrap((1+d1)/2))*sgn(-0.5+wrap((1+d2)/2))"
D4="a4*( Flor(d1) + flor(d2) +1 )"                // center of triangle
D5="a5*( flor(d0) +0.5 - 0.166*d3 )"

D6="a1*((d3-a7)*10)"



srcX="x+d6*(d5-(1*y)) "
srcY="y-d6*(d4-x)"



Vers=100

Rovastar
Posts: 295
Joined: Wed May 05, 2004 9:25 am
Location: Derby/London, England

Post by Rovastar »

Code: Select all

//  Rovastar - Fractal Dreaming 
//
//  With help from "My Lost Marbles" by "Ted" & "TriFlow" by "Roger Bigod"
//



Aspc=1



A0="sgn(rnd(2)-1)*(0.15 + rnd(0.2))"                 // cell size
//A0 = "0.25"
A1="(0.2+rnd(.15))*a0"          // speed of flow
A2="0.5*(1+sgn(rnd(1)-0.5))"    // randomly 0 or 1
//A2="0"
A3="1/a0"

// Temp vars
A4=".5 * a0"
A5=".866025*a0"
A6="1-a2"

A7="sgn(rnd(2)-1)*(1+rnd(0.65))"


D0="(1.154702*theta)*a3"
D1="(r-.5773503*theta)*a3"
D2="(r+.5773503*theta)*a3"

D3="sgn(-0.5+wrap((1+d0)/2))*sgn(-0.5+wrap((1+d1)/2))*sgn(-0.5+wrap((1+d2)/2))"
D4="a4*( Flor(d1) + flor(d2) +1 )"                // center of triangle
D5="a5*( flor(d0) +0.5 - 0.166*d3 )"

D6="a1*((d3-a7)*10)"


//srcX="x+d6*(d5-y)"
//srcY="y-d6*(d4-x)"
srcR="r+d6*(d5-(1*theta)) "
srcT="theta-d6*(d4-r)"



Vers=100




User avatar
JayPro
Posts: 738
Joined: Sat May 01, 2004 10:51 pm
Location: Huntington Station, Long Island, New York

Post by JayPro »

That is most definitely the ticket.

Thank you.
"God is syntax."

Rovastar
Posts: 295
Joined: Wed May 05, 2004 9:25 am
Location: Derby/London, England

Post by Rovastar »

Tweaked them a bit and added a bit more variety.

Here are the finished versions. :)

Code: Select all

//  Rovastar - Fractal Dreaming
//
//  With help from "My Lost Marbles" by "Ted"
//  & "TriFlow" by "Roger Bigod"
//

Aspc=1

A0="sgn(rnd(2)-1)*(0.15 + rnd(0.2))"                 // cell size
A1="(0.2+rnd(.15))*a0"          // speed of flow
A2="0.5*(1+sgn(rnd(1)-0.5))"    // randomly 0 or 1
A3="1/a0"

// Temp vars
A4=".5 * a0"
A5=".866025*a0"
A6="1-a2"

A7="sgn(rnd(2)-1)*(0.825+rnd(0.6))"
A8="8+rnd(8)" //fractal zoom power

D0="(1.154702*theta)*a3"
D1="(r-.5773503*theta)*a3"
D2="(r+.5773503*theta)*a3"

D3="sgn(-0.5+wrap((1+d0)/2))*sgn(-0.5+wrap((1+d1)/2))*sgn(-0.5+wrap((1+d2)/2))"
D4="a4*( Flor(d1) + flor(d2) +1 )"                // center of triangle
D5="a5*( flor(d0) +0.5 - 0.166*d3 )"

D6="a1*((d3-a7)*A8)"

srcR="r+d6*(d5-theta) "
srcT="theta-d6*(d4-r)"

Vers=265

Code: Select all

//  Rovastar - Fractal Dreaming 2
//
//  With help from "My Lost Marbles" by "Ted" 
//  & "TriFlow" by "Roger Bigod"
//

Aspc=1

A0="sgn(rnd(2)-1)*(0.15 + rnd(0.2))"                 // cell size
A1="(0.21+rnd(.15))*a0"          // speed of flow
A2="0.5*(1+sgn(rnd(1)-0.5))"    // randomly 0 or 1
A3="1/a0"

// Temp vars
A4=".5 * a0"
A5=".866025*a0"
A6="1-a2"

A7="sgn(rnd(2)-1)*(1.2+rnd(0.5))"
A8="8+rnd(8)" 	//fractal zoom power

D0="(1.154702*x)*a3"
D1="(y-.5773503*x)*a3"
D2="(y+.5773503*x)*a3"

D3="sgn(-0.5+wrap((1+d0)/2))*sgn(-0.5+wrap((1+d1)/2))*sgn(-0.5+wrap((1+d2)/2))"
D4="a4*( Flor(d1) + flor(d2) +1 )"                // center of triangle
D5="a5*( flor(d0) +0.5 - 0.166667*d3 )"

D6="a1*((d3-a7)*A8)"

srcY="y+d6*(d5-x) "
srcX="x-d6*(d4-y)"

Vers=265
Enjoy. :)

f00fighter
Posts: 20
Joined: Sun Aug 22, 2004 10:23 pm
Location: Coatesville, Pennsylvania, USA

Post by f00fighter »

OK, I know these are n00b questions, but I really want to see what these do! I know I need to save these code snippets as plain text (*.txt) files and put them in the appropriate directory. But, are they colormaps? flowfields? FFUnions? WaveShapes? Is there an easy way to tell the difference by looking at the code?

Also, is there a way to tell GForce to load this specific "effect" or do I have to wait for it to load randomly?

I apologize for the n00b questions...but could you help a brother out?? :oops:

Feel free to PM me if you don't wanna clutter the board with n00b questions...

User avatar
JayPro
Posts: 738
Joined: Sat May 01, 2004 10:51 pm
Location: Huntington Station, Long Island, New York

Post by JayPro »

Welcome aboard!

These are Flow Fields.

These in fact do have to be saved as a clean text file (no RTF).

What I would do is create a TextEdit file in your FlowFields folder (BTW you might wanna empty out the other flowfield files and place them in a temp storage folder so that you can work with the two files only), hi-light the text of the code and drag it into the file you created. Then (and this is important) you need to choose "Make Plain Text" from the Format File. This will (hopefully) not only change from RTF to plain text, but also eliminate the hidden code that makes .RTF an unsuitable choice for G-Force files.

Each different effect type uses the same code language; but by the same token, each effect has its own specific formulas. For instance, the "i" function is used only in colormaps that don't have the .map tag at the end (I'm not sure what "i" precisely means). The "s" and "t" function is used exclusively in WaveShapes and is a timing control. "s" Refers to a random sampling of the sound input signal.
Take a look at a few examples from each kind of effect to get a better feel of it.

Also, when you open G-force, you can press the H key to get the console. These kontain the keystrokes you can toggle to manually change effects.

Others here can better tell you how you can use scripting prompts to create a timed series of effects that you have complete control over, i.e. what effects to use, when they change and so on. The Prefs file in the program can be tweaked further to control the rate of change in flowfield morphs, color changes and waveshape transitions. Check out the Customizing G-Force section in the Documentation folder for better explanations.

JwP
"God is syntax."

Post Reply