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.
IndexProgramming Questions & HelpPrograms › transparent color
Page Index Toggle Pages: 1
transparent color (Read 626 times)
transparent color
Nov 20th, 2006, 9:29am
 
hi, i am going to use processing for my softwareproject in university doing the GUI part of a webservice offering boardgame adaptions.
my first question for doing some tests is about displaying images.
-- is there a way to make some parts of an image(maybe a color) complete transparent. i want a let avatar run around the screen, which naturalley does not has rectangel shape.
-- my second question does not need a exact answer at the moment, i just want to know. because of doing this all in eclipse- there is a way to let a processing screen just run for itself as a PApplet but let it be part of JFrame, JWindow...
thanks for the answers
***
Re: transparent color
Reply #1 - Nov 21st, 2006, 9:07am
 
ok. it is a easy thing with mask(), but why did no know tell?.
gonna get to work now. maybe someone can send me a simple example for making a PApplet Panel sticking a JFrame.
thanks for the answers
***
Page Index Toggle Pages: 1