Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
likandoo
likandoo's Profile
1
Posts
0
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
Saved PDF is blank :(
[3 Replies]
19-Jun-2013 03:51 AM
Forum:
Core Library Questions
Hello guys :)
I have a short question.
Why does the following Sketch give me a blank pdf?
import processing.pdf.*;
boolean record;
void setup () {
size(600, 600);
smooth();
background(255);
}
void draw () {
if (record) {
beginRecord(PDF, "frame-####.pdf");
}
stroke (0,0,0);
line(frameCount*100, 600 , frameCount*100, 0);
if (record) {
endRecord();
record = false;
}
}
void keyPressed() {
record = true;
}
«Prev
Next »
Moderate user : likandoo
Forum