We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi,
I have made some variations on the Generative Design book program P_1_1_1 (color spectrum in a grid). Here they are positioned at the bottom of the page next to the text header P_1_1_1.
http://www.loftmatic.com/_pages/Research/GDV/P_1_0.html
The interesting thing is that some files are taking a lot of time to display. This one for instance…
http://www.loftmatic.com/_pages/Research/GDV/P_1_1_1/GDV_28/P_1_1_1_01_GDV_28.html
…takes more than an hour to display om my MacPro (it is still not on screen). During that hour you see a colored spectrum on the screen accompanied by a cursor which sometimes turns into a colored beach ball. So I tried it on a MacBookPro and there it took 5 seconds to display. Another MacBook Pro is still busy with it. And the iPad Mini is displaying the file after two minutes. And its working fine. Can anyone tell me why this file needs so much time to display?
Greetings,
Henk Lamers
Answers
Hey! Made some tweaks! I believe it's starting faster now: o->
Hi,
I will add your essential tweaks
in the other lazy programs. Thanks for your help! I will mention it in my blog :)
Greetings,
Henk Lamers
http://mycodehistory.wordpress.com/2013/11/26/gdv-p-1-1-1-color-spectrum-in-a-grid/
Problem was that sketch started w/ both mouseX & mouseY = 0.
And since stepX & stepY are derived from them, 1st double loops had an immense # of iterations.
And consequently lotsa shape() draws which demanded a very powerful computer to finish! :-&
Once passed that, and user hovers the mouse upon the canvas, we get bigger stepX & stepY.
And program finally soars w/ a smaller # of iterations!
I’m not sure but did you add a new version of your tweaks yesterday? If that is true then the point is that I used the older tweaks to incorporate into the sketches. Anyway I will use the version above to study. You introduced a few things I did not see before:
Thanks again for helping me out.