Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
lmabach
lmabach's Profile
1
Posts
2
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
Problem with display image series
[4 Replies]
22-Jan-2013 11:18 AM
Forum:
Contributed Library Questions
Hello Processing forum,
I have problem with displaying image in a Applet, while writing a serie of images with code like this:
pg.beginDraw();
pg.background(255);
pg.stroke(0,0,0);
pg.line(0,400,20,400);
pg.line(20,400,20,390);
pg.line(20,390,30,390);
pg.line(30,390,30,380);
pg.line(30,380,10,380);
pg.line(10,380,10,390);
pg.line(10,390,0,390);
pg.line(0,390,0,400);
pg.textFont(f, 16);
pg.fill(0);
pg.text("score "+score,10,40);
pg.endDraw();
image(pg, 0, 0);
save(directory+"shape.png");
gifExport.setDelay(200);
gifExport.addFrame();
All files are saved correctly, but only the last picture is shown after a long time.
Rest of the time the screen is empty.
Thanks for Help
«Prev
Next »
Moderate user : lmabach
Forum