We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › updating a old pde
Page Index Toggle Pages: 1
updating a old pde (Read 453 times)
updating a old pde
Oct 11th, 2007, 1:41am
 
ok guys i know you must get this alot but i dont know much about  updating a code

i want to  update and experiment with the code on this  page http://processing.org/exhibition/works/papa/index.html

but it uses  bimage that i am not  fimular  nor is any of the  versions of  processing  i have

it would be great if  someone  could  bring it  up to speed  so i can  have a play  with it
Re: updating a old pde
Reply #1 - Oct 11th, 2007, 10:02am
 
Hi,
I tried copy pasting the code in this Post but it wouldn't let me because it's too long.
I've uploaded an updated zip file to my Web server.
You can download it here:

http://www.computerarts.ca/developement/ticker_applet.zip

Hope it helps!
Re: updating a old pde
Reply #2 - Oct 11th, 2007, 10:22am
 
Hi,

If you want a better result in terms of speed and quality, you can add this to the code.

add this at the beginning of your sketch

Quote:
import processing.opengl.*;


update this in setup()

Quote:
size(800, 200,OPENGL);
frameRate(120);


replace

Quote:
noSmooth();


by

Quote:
smooth();


Wink
Re: updating a old pde
Reply #3 - Oct 11th, 2007, 10:59am
 
Good advice!
but smooth() actually slows it down.
I recommend keeping noSmooth()... that's for you to decide!! Smiley
Re: updating a old pde
Reply #4 - Oct 11th, 2007, 2:29pm
 
the changes page covers how to update older code:
http://processing.org/reference/changes.html
Page Index Toggle Pages: 1