The Buttons on the screen should not be just rectangular, they should be shaped.
If you ever tried to make shaped buttons with any programming language, you know it is hard.
I found an unusual and very easy way to make buttons in any shape you like.
You can see the result in the attached zip file (just unzip and open the "index.html" in your browser)
or here on www.openprocessing.com
Remove these ads by
Signing UpStep 1Paint the buttons
The dimensions should be the same as the window size of your program or applet.
Then you copy the buttons and fill the buttons with different colors.
colormap_button.svg(595x842) 22 KB| « Previous Step | Download PDFView All Steps | Next Step » |











































What do you use for printing out your Processing sketches? The native Processing IDE sucks at printing out code, and I'd like to have line numbers.
Thx
I used the Notepad++ with the "JAVA" text-highlighting.
http://notepad-plus-plus.org/
Greetings from Germany
This will work not only with well defined buttons, but with any zone of a screen as long as you have the "look-up image" beneath.
It may not be new but it's worth a five-start to me.