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 & HelpPrograms › Can't get this water simulation to run
Page Index Toggle Pages: 1
Can't get this water simulation to run (Read 399 times)
Can't get this water simulation to run
Nov 24th, 2006, 9:54pm
 
can someone tell me why the source code to this simultaion returns an error:
http://bodytag.org/nav.php?u=tp02/
I figured BImage had to be changed to PImage but the next problem was:
float constrain(float val, float minv, float maxv) {  
which returns the error:
Semantic Error: The method "float constrain(float val, float minv, float maxv);" cannot replace the accessible final method "float constrain(float $1, float $2, float $3);" declared in type "processing.core.PApplet".

What does this mean?
Page Index Toggle Pages: 1