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 › Problem with Processing.js
Page Index Toggle Pages: 1
Problem with Processing.js (Read 191 times)
Problem with Processing.js
Jan 20th, 2009, 9:05pm
 
I've got the following basic Processing program:

<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="processing.js">    </script>
<script type="text/javascript" src="init.js"></script>
</head>
<body>
<script type="application/processing">
size(200,200);
background(102);
</script>
<canvas width="200" height="200"></canvas>
</body>
</html>


But when I try to view it in Firefox 3.0.5 I see nothing. Any idea what's wrong?
Page Index Toggle Pages: 1