Scale, rotate and variously transform textures (PImage, PGraphics). Transformations are automatically saved and loaded after restarting the sketch. Tested against Processing 3+ and windows
import bare.utils.*;
FreeTransform hello;
PImage img;
void setup() {
size(777, 500, P3D);
hello = new FreeTransform(this);
img = loadImage("moon.png");
}
void draw()
{
background(100);
hello.render(0, img);
hello.draw();
}
or
use built-in PDE Contribution Manager
As for now, libray has been tested against Processing 3+ and windows 10. Please test on other platforms give feedback in Issues.
Feel free to optimize or add new features.
This lib needs your comments, code optimization and other improvemens.
Check Prototypes to see how FreeTransform is constructed from separate sketches
Please use it and give feedback in Issues section
See Roadmap for details
Thank you!