another math question

Discussion forum for G-Force users

Moderators: BTT, andy55, b.dwall, juxtiphi

Post Reply
dklr
Posts: 40
Joined: Tue Jun 14, 2005 4:18 pm

another math question

Post by dklr »

I tried to rotate this 90 degrees to the right by switching the srcX and srcY terms, but it dosen't seem to work. What do I do?

Code: Select all

D0="x^3 - 3*x*y^2 - .5*x - .5"
D1="3*(x^2 - y^2) - .5"
D2="y*(3*x^2 - y^2 - .5)"
D3="6*x*y"
D4="d1^2 + d3^2"

srcX="x - .5*(d0*d1 + d2*d3)/d4"
srcY="y - .5*(d1*d2 - d0*d3)*d4"

Aspc=1

Vers=100
Here is a pic of what it looks like:
Image

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

Post by JayPro »

Change the cord from Y to X in D2 and see if that's what you're after.
:oops: Edit: The left-most "x" only. leave everything else as is


(Caveat: the previous observation is based on hands-on config-making only and ought not to be construed as simple guesswork. In other words, I do configs not based on the math per se, but rather what I wanna try to make them look like, i.e. how do the functions provided in G-Force help me make that happen?)
"God is syntax."

dklr
Posts: 40
Joined: Tue Jun 14, 2005 4:18 pm

Post by dklr »

Now it looks like this. I tried switching x and y in other places, but it just looks wierder. Will switching the real and imaginary terms from the original equation help?

Image

Post Reply