Ortiz
YaBB Newbies
Offline
Posts: 9
Re: beginner part 2
Reply #8 - Aug 14th , 2009, 11:03am
Thanks a lot. I was trying to find examples, because in my processing 1.0 the "examples" are greyed out (under File-Examples). I believe to have read somewhere that this was an issue with apple/mac. So I was looking for code online. I found the radiohead one here: http://code.google.com/p/radiohead/downloads/list and the other examples here: http://processing.unlekker.net/ the second one maybe more fitting for my skills. maybe not. But simpler than radiohead. I tried to compile(?)/run the .pde files of the sond source. All of them had something that didnt work. e.g. push() had to become pushMatrix() I change that everywhere processing showed me i had to change that. The same with pop()- popMatrix(). Then processing would run the code an the result was a grey box. I didnt understand what could be wrong. And then I found the "Fix Encoding&Reload" Button, which I believe would Autofix the old code and bring it up to date. But that didnt fix the problem either. Then I worked my way through the reference. The Reference section has all the pieces of code to every example and I put them in the editor window and hit run. Some of them work. Some did not. Which was confusing, because I thought they where there to be examples (i posted about that and blindfish was so nice to tell me what went wrong, I still have to understand that). AND very intersting: I put pieces of code in the same sketch window and hit run. Then I delete it and put the next code in and hit run again. Then after a while the code wont work. Then I accidently closed the whole program and opened it again. made a new sketch. Put the SAME code in and it would work. I really dont understand that. Is there something you have to pay attention? Stuff like that would be super super nice to have in a beginner section (and again, I really like the reference and find it super nice already, I just want to make it easier and less frustrating for future users to learn, and learn fast). AND very important from my BEGINNER point of view, the reference is awesome when you know how to program already, but for beginner beginners like me, i need to understand the simple questions/overview: e.g. when I start I have to put size() first. What do the error message mean? What does Void mean (in void setup)? What are the basic blocks (setup, draw, other ???) of the code. What are stupid errors that one overlooks easy (e.g. forget the semicolon, other ??)? Does the order in which i write code matter, and if so what order do I have to make it work ? How can I make one rectangle, circle, line and then multiply it by n. How can I make easy and fast some examples that are cooler and more rewarding than a simple line (e.g. fractals in my case)? And so on.. So, all this to ask you: Do you know where i can find examples that help me with this? Examples that work with the standard downloaded program (no extra libraries, or extra libraries if you tell me where I can find them) Thanks a million for your attention.. l.