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.
Page Index Toggle Pages: 1
Tools and template (Read 1322 times)
Tools and template
Aug 22nd, 2008, 11:16am
 
Hi everyone.

Now that there is a customisable tool menu, I was thinking that it would be nice to have a drop-down menu that list all your functions so you can 'jump' to them. Maybe it's a silly idea or not the right way to approach the thing, but I though that it could help. This shouldn't be a default feature as the simple interface of processing is great when you start learning.

I'm not a good enough to do those things Smiley but I though I could be thinking out loud.

Another thing is there a way to change the default blank starting sketch? Like add tabs with functions you like and basic code structure ( setup, draw, size, background, variables, etc...)
Re: Tools and template
Reply #1 - Aug 28th, 2008, 11:29pm
 
We have a tool in development that will provide code templates to automate the setup(), draw() etc. functions.

I can't imagine how to make a menu for functions right now, but I'm open to ideas about it. I remember that very early versions of Flash used this strategy (maybe it's still there?).
Re: Tools and template
Reply #2 - Aug 29th, 2008, 4:12pm
 
That's a great news ( for me at least ). Looking forward to try it. I don't know about flash, but I remember that Director used to have a drop-down menu that was listing all functions or variable ( can't remember ) that was in your sketch. Clicking on the name of the function was tacking you to where it was in your sketch. A tool for template is going to be useful.

It's really great that processing now accept other tools. That's going to add great variety whiteout spoiling the original processing.

Quote:
I can't imagine how to make a menu for functions right now, but I'm open to ideas about it.

Could you do a system like bookmarks in browser, where you could save your functions under different tags. And if you need them in another sketch, you right click (or ctrl click ) where you want it in your sketch and select the one you need.

At the same time I probaly don't have enough experience to know how to organize functions.
Page Index Toggle Pages: 1