Discussion forum for G-Force users
Moderators: BTT , andy55 , b.dwall , juxtiphi
Rovastar
Posts: 295 Joined: Wed May 05, 2004 9:25 am
Location: Derby/London, England
Post
by Rovastar » Sat Aug 28, 2004 6:58 am
More fractal fun
Code: Select all
// Rovastar - Chaos TimeLord
// Flowfield
// With help from "My Lost Marbles" by "Ted"
// & "TriFlow" by "Roger Bigod"
//
Aspc=1
A0="sgn(rnd(2)-1)*(0.7 + rnd(0.2))" // cell size
A1="(0.21+rnd(.15))*(0.05+rnd(0.1))" // 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(14)" //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="0.8*a4*( Flor(d1) + flor(d2) +1 )" // center of triangle
D5="0.8*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
Rovastar
Posts: 295 Joined: Wed May 05, 2004 9:25 am
Location: Derby/London, England
Post
by Rovastar » Sat Aug 28, 2004 7:39 am
And another
Code: Select all
// Rovastar - Chaos TimeLord (Time Storm Mix)
// Flowfield
// With help from "My Lost Marbles" by "Ted"
// & "TriFlow" by "Roger Bigod"
//
Aspc=1
A0="sgn(rnd(2)-1)*(0.1 + rnd(0.2))" // cell size
A1="(0.21+rnd(.15))*(0.05+rnd(0.1))" // 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.6+rnd(0.5))"
A8="8" //fractal zoom power
//D0="(1.154702*x)*a3"
//D1="(y-.5773503*x)*a3"
//D2="(y+.5773503*x)*a3"
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="1*a4*( flor(d1) + flor(d2) +1 )" // center of triangle
D5="1*a5*( flor(d0) +0.5 - 0.166667*d3 )"
D6="0.8*(r^3)^(a1*(0-((d3-a7)*A8)))"
//D7="a1*(((D6)^r)-((d3-a7)*A8))"
//srcY="y+d6*(d5-x)"
//srcX="x-d6*(d4-y)"
srcR="r+d6*(d5-theta)"
srcT="theta-d6*(d4-r)"
Vers=265
Rovastar
Posts: 295 Joined: Wed May 05, 2004 9:25 am
Location: Derby/London, England
Post
by Rovastar » Sat Aug 28, 2004 7:46 am
Code: Select all
// Rovastar - Minimalist Chaos
// Flowfield
// With help from "My Lost Marbles" by "Ted"
// & "TriFlow" by "Roger Bigod"
//
Aspc=1
A0="sgn(rnd(2)-1)*(0.1 + rnd(0.2))" // cell size
A1="(0.21+rnd(.15))*(0.05+rnd(0.1))" // 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.6+rnd(0.5))"
A8="8" //fractal zoom power
//D0="(1.154702*x)*a3"
//D1="(y-.5773503*x)*a3"
//D2="(y+.5773503*x)*a3"
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="1*a4*( flor(d1) + flor(d2) +1 )" // center of triangle
D5="1*a5*( flor(d0) +0.5 - 0.166667*d3 )"
D6="(a1*(0-((d3-a7)*A8)))^(1-r)"
//D7="a1*(((D6)^r)-((d3-a7)*A8))"
//srcY="y+d6*(d5-x)"
//srcX="x-d6*(d4-y)"
srcR="r+d6*(d5-theta)"
srcT="theta-d6*(d4-r)"
Vers=265
Rovastar
Posts: 295 Joined: Wed May 05, 2004 9:25 am
Location: Derby/London, England
Post
by Rovastar » Sat Aug 28, 2004 7:56 am
Code: Select all
// Rovastar - Fractal Star
// Flowfield
// With help from "My Lost Marbles" by "Ted"
// & "TriFlow" by "Roger Bigod"
//
Aspc=1
A0="sgn(rnd(2)-1)*(0.3 + rnd(0.2))" // cell size
A1="(0.21+rnd(.15))*(0.05+rnd(0.1))" // 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.6+rnd(0.5))"
A8="8+rnd(14)" //fractal zoom power
A9="24 + flor(rnd(56))"
//D0="(1.154702*x)*a3"
//D1="(y-.5773503*x)*a3"
//D2="(y+.5773503*x)*a3"
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="1*a4*( flor(d1) + flor(d2) +1 )" // center of triangle
D5="1*a5*( flor(d0) +0.5 - 0.166667*d3 )"
D6="(a1*(0-((d3-a7)*A8)))"
//D7="a1*(((D6)^r)-((d3-a7)*A8))"
//srcY="y+d6*(d5-x)"
//srcX="x-d6*(d4-y)"
srcR="r+d6*(d5-(theta))-0.005 * ((cos( (180-r) * a9 ))*(sin( (1.57075-theta)* a9 )))"
srcT="theta-d6*(d4-(r))-0.005 * ((cos( (1.57075-theta) * a9 )+1)^(sin( (180-r) * a9 )+1))"
Vers=265
Rovastar
Posts: 295 Joined: Wed May 05, 2004 9:25 am
Location: Derby/London, England
Post
by Rovastar » Sat Aug 28, 2004 8:08 am
and they keep coming....
Code: Select all
// Rovastar - Fractal Star Twist
// Flowfield
// With help from "My Lost Marbles" by "Ted"
// & "TriFlow" by "Roger Bigod"
//
Aspc=1
A0="sgn(rnd(2)-1)*(0.3 + rnd(0.2))" // cell size
A1="(0.21+rnd(.15))*(0.05+rnd(0.1))" // 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.6+rnd(0.5))"
A8="8+rnd(14)" //fractal zoom power
A9="24 + flor(rnd(56))"
A10 = "0.001*((10+ rnd( 10 ))*((rnd( 1 ) *2) -1)) "
A11 = "45+ rnd( 35 )"
A12 = "0.001*((10 +rnd( 20 ))*((rnd( 1 ) *2) -1)) "
A13 = "60+ rnd( 30 )"
//D0="(1.154702*x)*a3"
//D1="(y-.5773503*x)*a3"
//D2="(y+.5773503*x)*a3"
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="1*a4*( flor(d1) + flor(d2) +1 )" // center of triangle
D5="1*a5*( flor(d0) +0.5 - 0.166667*d3 )"
D6="(a1*(0-((d3-a7)*A8)))"
//D7="a1*(((D6)^r)-((d3-a7)*A8))"
//srcY="y+d6*(d5-x)"
//srcX="x-d6*(d4-y)"
srcR="r+d6*(d5-(theta))+(A10)*sin(theta*A11)"
srcT="theta-d6*(d4-(r))-(A12)*cos(r*A13)"
//srcR="r+(A10)*sin(theta*A11)"
//srcT="theta-(A12)*cos(r*A13)"
Vers=265
Last edited by
Rovastar on Sat Aug 28, 2004 1:05 pm, edited 1 time in total.
JayPro
Posts: 738 Joined: Sat May 01, 2004 10:51 pm
Location: Huntington Station, Long Island, New York
Post
by JayPro » Sat Aug 28, 2004 11:54 am
EDIT: I'm home and testing.
These won't work in the beta build.
I Pasted these to a clean text file, every part of the snippets BTW, and they're not working.
"God is syntax."
Rovastar
Posts: 295 Joined: Wed May 05, 2004 9:25 am
Location: Derby/London, England
Post
by Rovastar » Sun Aug 29, 2004 4:05 pm
Grr I didn't know you replied.
Post again rather than edit I presume you didn't check them.....or didn't think they warranted a reply.
;)
grr it is so annoying that we cannot attach files to the boards here. Then we would not have this problem. I created them with teh beta build (R2) not checked the new (R3) so the should work.
I'll try and upload them somewhere....at some point.
JayPro
Posts: 738 Joined: Sat May 01, 2004 10:51 pm
Location: Huntington Station, Long Island, New York
Post
by JayPro » Sun Aug 29, 2004 7:55 pm
Matter of fact I tested them in the d3 build and nothing is happening. Oddly enough When I was working with 2.6.8 they did work. I've been chekking for stray commas and other syntactic things; but all seems okay. Waht's more, they're on clean text files and editing-out is where it should be.
I'm stumped.
"God is syntax."
JayPro
Posts: 738 Joined: Sat May 01, 2004 10:51 pm
Location: Huntington Station, Long Island, New York
Post
by JayPro » Tue Aug 31, 2004 11:00 pm
Yay!
'Nuff said for now, eh? I'm tired, too Sleep tight.
"God is syntax."
JayPro
Posts: 738 Joined: Sat May 01, 2004 10:51 pm
Location: Huntington Station, Long Island, New York
Post
by JayPro » Wed Sep 01, 2004 12:29 pm
I meant to say, in my slumbered stupor, that they worked perfectly. Thank you.
"God is syntax."