Another Resurrected Config

Discussion forum for G-Force users

Moderators: BTT, andy55, b.dwall, juxtiphi

Post Reply
User avatar
BTT
Administrator
Posts: 2262
Joined: Sun Jun 20, 2010 9:34 pm
Location: United Kingdom

Another Resurrected Config

Post by BTT »

Hello All

I have found another interesting Config from the past, it's a WaveShape with a difference, just copy and, paste into your WaveShape folder. Enjoy.

Code: Select all

//Billiards From Ted

Aspc="1",

A0="t",
A1="2 * pi",
A2="rnd( a1 )",    
A3="rnd( a1 )",     
A4="rnd( a1 )",    
A5="rnd( .2 ) + .15",
A6="rnd( .04 ) + .015",
A7="rnd( .04 ) + .015",
A8="rnd( .04 ) + .015",
A9="1 / ( 4 / 3 - a5 )",
A10="1 / ( 1 - a5 )",

B0="sqwv( ( t - a0 ) * 60 )",                               
B1="1-b0",
B2="sqrt( sqr( b21 - b27 ) + sqr( b22 - b28 ) ) + b0",     
B3="sqwv( b2 / ( 2 * a5 ) )",                              
B4="sqrt( sqr( b21 - b33 ) + sqr( b22 - b34 ) ) + b0",
B5="sqwv( b4 / ( 2 * a5 ) )",
B6="sqrt( sqr( b33 - b27 ) + sqr( b34 - b28 ) ) + b0",
B7="sqwv( b6 / ( 2 * a5 ) )",
B8="b3 * ( b21 - b27 ) / b2",     
B9="b3 * ( b22 - b28 ) / b2",
B10="b5 * ( b21 - b33 ) / b4",
B11="b5 * ( b22 - b34 ) / b4",
B12="b7 * ( b27 - b33 ) / b6",
B13="b7 * ( b28 - b34 ) / b6",
B14="pos( sgn( b35 - b2 ) ) * ( ( b19 - b25 ) * b8 + ( b20 - b26 ) * b9 )",   
B15="pos( sgn( b36 - b4 ) ) * ( ( b19 - b31 ) * b10 + ( b20 - b32 ) * b11 )",  
B16="pos( sgn( b37 - b6 ) ) * ( ( b25 - b31 ) * b12 + ( b26 - b32 ) * b13 )", 
B17="1 - sqwv( b21 * a9 )",     
B18="1 - sqwv( b22 * a10 )",    
B19="b19 * ( 1 - b17 ) * b1  - b17 * abs( b19 ) * sgn( b21 ) + b0 * cos( a2 ) * a6 - b8 * b14 - b10 * b15", 
B20="b20 * ( 1 - b18 ) * b1  - b18 * abs( b20 ) * sgn( b22 ) + b0 * sin( a2 ) * a6 - b9 * b14 - b11 * b15", 
B21="b21 * b1 + b19",           
B22="b22 * b1 + b20 + b0 * .5", 
B23="1 - sqwv( b27 * a9 )",      
B24="1 - sqwv( b28 * a10 )",     
B25="b25 * ( 1 - b23 ) * b1  - b23 * abs( b25 ) * sgn( b27 ) + b0 * cos( a3 ) * a7 + b8 * b14 - b12 * b16", 
B26="b26 * ( 1 - b24 ) * b1  - b24 * abs( b26 ) * sgn( b28 ) + b0 * sin( a3 ) * a7 + b9 * b14 - b13 * b16", 
B27="b27 * b1 + b25 + b0 * .5",  
B28="b28 * b1 + b26 - b0 * .5",  
B29="1 - sqwv( b33 * a9 )",     
B30="1 - sqwv( b34 * a10 )",     
B31="b31 * ( 1 - b29 ) * b1  - b29 * abs( b31 ) * sgn( b33 ) + b0 * cos( a4 ) * a8 + b10 * b15 + b12 * b16", 
B32="b32 * ( 1 - b30 ) * b1  - b30 * abs( b32 ) * sgn( b34 ) + b0 * sin( a4 ) * a8 + b11 * b15 + b13 * b16", 
B33="b33 * b1 + b31 - b0 * .5",  
B34="b34 * b1 + b32 - b0 * .5",  
B35="b2",
B36="b4",
B37="b6",

C0="a1 * s",
C1="a5 + mag( s * 4 ) * .15",

X0="C1 * cos( c0 ) + b21",
Y0="C1 * sin( c0 ) + b22",
X1="C1 * cos( c0 ) + b27",
Y1="C1 * sin( c0 ) + b28",
X2="C1 * cos( c0 ) + b33",
Y2="C1 * sin( c0 ) + b34",

ConB=1,
LWdt="1.5 + ( b3 + b5 + b7 + flor( bass * 2 ) ) * 3",

Meta="reactive=4, detail=4, density=4, morphable=4",
Vers=260


Regards BTT

jerohm
Senior Member
Posts: 421
Joined: Fri Jan 09, 2009 5:19 pm

very cool!

Post by jerohm »

personally, I don't much care for how he implemented reactivity and just shut it off:

Code: Select all

C1="a5 + mag( s * 4 ) * .15 * 0", 
  :
  :
LWdt="1.5 + ( b3 + b5 + b7 + flor( bass * 2 ) ) * 3 * 0", 
but that does NOT distract from my utter appreciation/respect for Ted's code. It is stuff like this that separates the men from... well people like me :oops: .
I tried to generalize Ted's code so that it would trivialize the adding of additional billiard balls, but got so far and just gave up (for the moment).
This is far more complicated than just adding additional independent cycloids bouncing around the screen

One unfortunate decision was:

Code: Select all

A9="1 / ( 4 / 3 - a5 )",
which ASSumes a 4/3 Screen ratio. Logically, 'Width/Height' fixes the issue, BUT can NOT be used to initialize 'Avars'; one would need to use a 'Bvar', Or replace every reference instance of "A9(/a9)" with "1 / ( Width/Height - a5 )" ... minus the quotes of course (you should just leave the A9 definition, because it would no longer be referenced).

User avatar
markofkane
Posts: 346
Joined: Thu Feb 03, 2005 3:08 pm

Post by markofkane »

Thanks for the waveshape, BTT!!

Post Reply