How to draw semi-transparent arrow in processing.exe -


how may draw semi-transparent arrow in processing.exe such each arrow uniform in color when on plain background?

this https://processing.org/discourse/beta/num_1219607845.html fails - shows deeper colour shaft , head overlap.

you can use beginshape() function along vertex() function draw shape want, including arrows.

here's example the reference:

beginshape(); vertex(20, 20); vertex(40, 20); vertex(40, 40); vertex(60, 40); vertex(60, 60); vertex(20, 60); endshape(close); 

you'll have figure out points need draw in order create arrow, can't using lines, since they're going overlap.

alternatively might consider creating image of arrow , drawing image instead.


Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -