Loading
Getting started
Downloads
Documentation
Community
About
Contact
Products
WarpFleet
WarpStudio
Sandbox
WarpView
Blog
|
Loading menu
Pbrightness
processing
Extracts the brightness value from a color.
Link to original Processing doc
Pbrightness is available since version 1.0.0.
See also
Signatures
WarpScript
FLoWS
Examples
100 100 '2D' PGraphics 0xffb3ace3 //light violet, opaque Pbrightness 255.0 / 100.0 * //returns hue value on a [0-100] scale