-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conway game of life python code works fine in Processing 2, fails in Processing 3 #158
Comments
Please format code blocks with ``` or with the <> button. Just quickly guessing, but two things jump out at me:
Line 96 of your code.
loadFont, which is invoked with
Those would be my starting guesses -- that you have a font problem, for example you didn't include that file in the new sketch or it isn't on the new system or it is damaged / invalid / no longer compatible for some reason... and/or or the execution chain around line 96 is where you could start debugging. |
Thanks for several tips -- can do on the <> for code blocks. |
I got this running after doing 2 things:
|
New Code Snippet:
I'd still like to use something like 'displayHeight-42' to dynamically reduce the height based on screen-size. This allows for the presence of the Mac Menu Bar and the top edge of the Mac Windowing system to appear. |
Sorry, I couldn't find convenient resources for how to migrate Processing2 Python code to Processing3.
The pyde code below works fine in processing2, and fails with the following (useless to me) error in Processing3:
Line 96 of conway3.pyde is referenced, but is a blank line in the actual code. I have no way to relate the Java errors to the python.
Since this interface won't let me attach a file, I'll try to just cut/paste it here (neither the .pyde, nor the .pyde.gz would attach).
The text was updated successfully, but these errors were encountered: