I think that line
line(posX, posY+width/tileCount, posX+height/tileCount, posY);
should be replaced by line
line(posX, posY+height/tileCount, posX+width/tileCount, posY);
The small bug becomes visible if you set a rectangular display window instead of a squared one.
All the best.
danny: Die geomerative lib wurde am 8. März von Ricard Marxer geupdated und funktioniert nun auch mit Processing 2.0b8.
I am trying to dl the updated code to resolve this error but the zip file is invalid.
Regarding the calendar problem: place
on top of your script, works for me on 2.0b7
Great book, but I am finding my geometry skills are rusty and leave a lot to be desired. Any suggestions on a crash course that will offer enough to get me by?
The calendar problem occurs with version 2.0b7 If you install an earlier version, the code works fine.
I am having trouble with these sketches; I'm getting an error: Cannot find a class or type named "File". I checked the processing.org web site, and don't see an object with that name.
Should I be downloading a plugin for File from somewhere?
Aight thanks for the fix, i just deleted it, works too :)
if I press "p" to generate a Hi-Res png, the app-screen starts swirrling around and as a result I always get a png showing a cropped version of the screen I want (see the attached pic)
if I use "s" I get a somehow 'pale' version of the screen I wanted …
What am I doing wrong?
denberg, that is because Processing has removed the Java dependencies in the latest versions. They were still included when this code was written, but now you have to manually add them.
Quick and dirty solution: include the following in the start of every Processing sketch that fails: