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.
Page Index Toggle Pages: 1
Blank canvas (Read 508 times)
Blank canvas
Sep 4th, 2006, 4:20pm
 
Hi,
I have recectly downloaded processing-0115

When I open the sketches from the installed examples folder, everything works fine.

When I try to copy some code from other websites which have processing sketches, I am not able to run them.

For example:
I tried copying the code from Casey Reas's website -
http://sketches.groupc.net/040208_210/applet/bug06_combo.pde

When I run this I get some errors saying:

No method named push was found (same for pop also)

Then I go by the suggestion and change push and pop to pushMatrix and popMatrix

Even then the code does not give an error but now the canvas in blank.

This is not only with Reas's code, I tried coupld of code examples from the net I got same errors.

Am I doing something wrong here?

Thanks for any help as I want to learn some bit from these great examples that are there on the internet.

Regards
Re: Blank canvas
Reply #1 - Sep 4th, 2006, 4:33pm
 
this is because the sketches are often created with older versions of processing. view the changes in the FAQ to update the code to the newer syntax:
http://processing.org/faq/changes.html
Page Index Toggle Pages: 1