$amount += 1 - smooth(0.0, 1.0, (pow($fx, 2.0) + pow($fy, 2.0) + ($fy * $fx) * 6));
The last bit of xy * 6 turns the ellipses into hyperboles apparently.
Image 3 and 4 are the same settings, but instead of using:
float $newx = $fx * cos($rad) - $fy * sin($rad);
float $newy = $fx * sin($rad) - $fy * cos($rad);
to modify x and y, this was used:
float $newx = $fx * cos($rad) + $fy * sin($rad);
float $newy = $fx * sin($rad) + $fy * cos($rad);
The layer that was on "top" changed!
The last bit of xy * 6 turns the ellipses into hyperboles apparently.
Image 3 and 4 are the same settings, but instead of using:
float $newx = $fx * cos($rad) - $fy * sin($rad);
float $newy = $fx * sin($rad) - $fy * cos($rad);
to modify x and y, this was used:
float $newx = $fx * cos($rad) + $fy * sin($rad);
float $newy = $fx * sin($rad) + $fy * cos($rad);
The layer that was on "top" changed!