A Bit Of Fun: "Name That FlowField Work In Progress&quo

Discussion forum for G-Force users

Moderators: BTT, andy55, b.dwall, juxtiphi

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

A Bit Of Fun: "Name That FlowField Work In Progress&quo

Post by JayPro »

The code shown below is but one of a slue of flowfields (88 so far!) I plan to subit at some future date.

It doesn't have a name yet; so I'm leaving it up to whoever's interested to name it for me.

The one I select will be partially credited in the text file comments, as well as have his name also worked into the title of the flowfield itself.

So without further ado I present, with comments:

The Contestant:

//by JayPro via Checkman
//Needs a name


Aspc=0 //Elliptical rather than circular if this value were set to 1.

A0="pi+rnd(.628)"
A1="2.5+rnd(.75)"
A2="3+rnd(.9)"
A3="1.2+rnd(3)"

D0=" sin(r) * a2 " //Radial configuration of the picture's mid-point.
D1=" -y * a0 " //Horizontal Cartesian "dark space" placement.
D2="trwv(d0) * a1" //Pulls everything together.
D3=" (d1/r) * a1" //De-randomizer for d2; Leave well enough alone.
D4="trwv( (d2+d3)*a2)" //4 & 5 seem to be the actual pattern bases for the flowfield.
D5="trwv( (d2-d3)*a2)"
D6=" sin(d2) - cos(d4) +d2 + atan(d4)*a3 " //atan()=sparkle noise; D var's 6 to 9 do the rest.
D7=" cos(d3) + sin(d4)- d3 + atan(d5)*a3"
D9=" flip(d7-sin(d6)+abs(d4)-cos(d5))*a3*d2" //abs() makes sparkle noise some needed focus.
D8=" flip(d7+cos(d6)-sin(d2)-atan(d3))*a3*d3"

srcR="clamp(r)+pos(d8+a3)" //clamp() gives more focus and a bit of "radial variation".
srcT="theta-pos(d9-a3)"

Vers=300


Of course, feel free to report bugs and/or criticism.

Thank You.
"God is syntax."

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

Post by JayPro »

Comment on d9 should be "gives".
"God is syntax."

User avatar
DanPin
Posts: 161
Joined: Tue Mar 15, 2016 8:43 pm
Location: Los Angeles County, California

Post by DanPin »

Thanks for going back onto working on G-Force, Jay.

When I tried it, it looks a bit kinda odd. Are you trying to copy elements from Six Feet Under, or are you trying to use one of Chkman's other flowfields for reference?

Also, the flow is too fast; I suggest you tweak one or more values on your config to keep it regular.

And of course, it looks like you copied one of my previous ideas for my older flowfields. For a complete reference, I am providing the following text file containing the code that is based on that of yours:

Lightspeed.txt

Code: Select all

// From DanPin.

Aspc=1

srcR="atan(r * 1)"
srcT="theta + .01"

Vers=540
Once you try it, it looks pretty much similar to yours; mine has Aspc set to 1, and its flowing forwards, but yours has Aspc set to 0 and its flowing backwards. Try this instead.

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

Post by JayPro »

I did use Chkman as a starting point for all the one's I'm working on and have already done.

Most of the originals contained substantial synyax errors, and I relied on my previous experience with coding from years past to "correct" them. Some also were just a hot disjointed mess of polar (RT) and Cartesian XY) coordinates that looked like hell.

I've been going out of my way to make sure that they were neither:

A. Configs that simply had the code corrected for errors/misplaced coordinates

nor

B. "Frankensteined" vis a vis the ones that needed no correction.

Any resemblance between the one I previewed here and the original would make your jaw drop.
"God is syntax."

User avatar
DanPin
Posts: 161
Joined: Tue Mar 15, 2016 8:43 pm
Location: Los Angeles County, California

Post by DanPin »

JayPro wrote:I did use Chkman as a starting point for all the one's I'm working on and have already done.
Daaaaaaaaaaaaaaaaaaamn, nice correction for me.

I was really confused at first. So, that is what you're talking about, right?

Post Reply