The light emitted from the window can be used to illuminate a subject in front of a screen which may be appearing on a webcam.
You can easily control the color of the light emitted by the window. The default orange color adds some red to the image, definitely improving the appearance of the image.
To be really ambitious you could run this program on a separate screen or device and use the screen or device as a webcam light. You could also fuss with the brightness/contrast to control the intensity of the light.
Code: Select all
OpenWindow(1,0,0,640,360,"Webcam Light",#PB_Window_SizeGadget|#PB_Window_SystemMenu)
SetWindowColor(1,RGB(255,128,0))
Repeat
event = WaitWindowEvent()
Select event
Case #PB_Event_CloseWindow
CloseWindow(1)
End
EndSelect
ForEver