...
View file | ||||
---|---|---|---|---|
|
Exporting for flip book
Template with PDF export function.
View file | ||||
---|---|---|---|---|
|
For exporting images the folowing code can be used (PDF doesn't work with 3D for example) :
Code Block | ||||
---|---|---|---|---|
| ||||
void setup() {
size(2100,2970,P3D);
}
void draw() {
//code for exporting image on each frame
save("export/frame"+frameCount+".png");
if (frameCount == 30) {
exit();
}
} |