Calling Roger Bigod

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

Calling Roger Bigod

Post by Rovastar »

With no email address and PM not working on this forum I am resorting to this.

After seeing your wallpapered versions of the cube gird Flow Field it got me thinking about having more repeating pattern/effects on the different faces of the cube.

Now what I am trying to do is have a fratcal base for wall in the standard form of

scrX = "x*x - y*y"
scrY = "2*x*y"

but I am getting no joy.

Probably lookinmg the wrong area. Could you point me in the correct one.

I have left my some of my commented workings in there and in it's present form it runs as a grided lego remix .


Code: Select all

//
//  CubeGrid (Lego Mix)
//  Flowfield for G-Force
//  Roger Bigod 29-OCT-04
//
// Remix by Rovastar 05-JAN-05
//  Displacenemt: center of screen relative to center of square face.
//
// Remix changed so that all sides have tiny cubes on them
Aspc=1

A0="0.5+rnd(.3)"   		// repeat size
A1="rnd(1)"				// displacement
A2="rnd(1)"
//A3="rnd(.01)-.005"   	// motion on nonsqure faces
A3 = "0"
A4="rnd(.002)+.002"     // random direction motion on squre faces
A5="rnd(2*PI)"
//A6="a4*cos(a5)"
//A7="a4*sin(a5)"


D0="x/a0" 		
D1="y/a0"

D2="flor((d0-d1+1)/2)"
D3="flor((d0 +d1 -abs(d0 -d1 - 2*d2))/4)"

D4="d0 - d2 -2*d3"
D5="d1 + d2 -2*d3"

D6="sgn(d5-d4)"
D7="1-.25*(1-sgn(d5-1.5))*(1-sgn(d4-1.5))"

D8="d4 - d7*(1-.5*d6)"
D9="d5 - d7*(1+.5*d6)"

D10=".25*(sgn(d9-1)+1)*(sgn(d9-d8)+1)"	// facet above square
D11="d10*(d8-d9+1) +(1-d10)*d8"
D12="d10*(2*(d9-1)) +(1-d10)*d9"

D13=".25*(sgn(d11-1)+1)*(sgn(d11-d12)+1)"	// facet to right of square
D14="d13*(2*(d11-1))+(1-d13)*d11"
D15="d13*(1+d12-d11)+(1-d13)*d12"
D16 = "x"
D17= "y"
//  Terms with "tan" function"give metallic effect.
//  Terms in a3 give motion on nonsquare faces.
//  Terms in a6 and a7 give motion on square faces.

//srcX="((d14*d14) - (d15*d15) + 0.123) + a3*(d10+d13) + a6*(1-d10-d13)"
//srcY="(2*d14*d15) + a3*(d10+d13) + a7*(1-d10-d13)"

srcX="x+0.01*sin((50*d14)) "
srcY="y-0.01*cos((50*d15)) "

//srcX = "(PI*(d15-0.5))*(PI*(d15-0.5)) - (PI*(d14-0.5))*(PI*(d14-0.5))"
//srcY = "(2*PI*(d14-0.5)*PI*(d15-0.5)"

//srcX = "(d15*d15) - (d14*d14)"
//srcY = "(2*d15*d14)"


//srcX = "(D17*D17) - (D16*D16)" //standard fractal type effect
//srcY = "(2*D17*D16)"

Vers=270

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

Post by Rovastar »

Worked out most of what I need now but sorted of bodged it a bit.

Roger Bigod
Posts: 29
Joined: Mon Aug 23, 2004 8:17 pm

Post by Roger Bigod »

It doesn't work for me, nor the cubie one of the 3 in the download. The two frontal lobe ones work fine, though. I tried them on 2.7.2 and 2.7.3 Gold. According to the L key, they are running, but no cubes.

I liked the frontal lobe ones, especially the more circular one. It reminded me of the Escher sphere reflection print, if Escher had been into fractals.

I considered fractalish bits on the cubes, but worried that the prettiest parts of fractals are the fine details, and some of this will be lost when they are fitted onto the cube faces. The picture looks good -- the texture brings out the 3D illusion of the cubes.

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

Post by Rovastar »

Uploaded fixed version now or should be.

www.milkdrop.co.uk/Gforce/mix.zip

I understand the meaning with losing detail hence I increrased the size of teh cubes. :)

Although I did cheat though as teh fractal well more kaleidoscope image is only what is featured in teh top right quadrant of the screen. you can see this effect by instead of

Code: Select all

D16="(trwv(d14-0.5))"
D17="(trwv(d15-0.5))"


srcX = "trwv((d17*d17) - (d16*d16))"
srcY = "trwv(2*d17*d16)"
having simply for testing changing to

Code: Select all

D16="(trwv(x-0.5))"
D17="(trwv(y-0.5))"


srcX = "trwv((d17*d17) - (d16*d16))"
srcY = "trwv(2*d17*d16)"
which show this effect

Image

Included it in the zip too without all the redundant cube workings.

So a cheat really. So I can get it to reflect the top right quadrant but how can I get a full screen effect to appear on the cube faces?

Any idea? AT the moment I am trying to write full screen effects that have a nice flowing top right quadrant but as I say this is not not ideal. :)

Any thoughts or suggestions.

[/url]

Roger Bigod
Posts: 29
Joined: Mon Aug 23, 2004 8:17 pm

Post by Roger Bigod »

rovastar,
I downloaded the revised versions. Right now there is too much blood in my coffee stream, but I will look at it today.

The pic above has an interesting symmetry. It looks like the octagonal appearance of *442 in the upper right quadrant, then segques off into other stuff.

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

Post by Rovastar »

Yeah it does have interesting symmetry fractal style. :)

I look forward to your findings.

Post Reply