FLIP FFT Display? || Solved || Code Snippet.
-
Sup! Can anybody show me how to reverse the FFT display in different ways? I'd like to visually flip/mirror vertically and horizontally. Thanks in advance!
-
** found it.
g.flip(); // lol
-
Basic starting point if anybodys interested.
// Sharing is caring var a = obj.area; var path2 = Content.createPath(); path2 = obj.path; g.flip(false, obj.area); g.setGradientFill([Colours.withAlpha(Colours.antiquewhite, 0.5), a[2] / 2, 0, Colours.withAlpha(Colours.black, 1.0), a[2] / 2, 250]); g.fillPath(path2, obj.pathArea); g.beginLayer(false); g.flip(false, obj.area); g.setGradientFill([Colours.withAlpha(Colours.antiquewhite, 1.0), a[2] / 2, 0, Colours.withAlpha(Colours.black, 1.0), a[2] / 2, 250]); g.fillPath(obj.path, obj.pathArea); g.endLayer();
-
C Chazrox has marked this topic as solved
-