Category: HTML5

Processingjs quick-tip: Making the main-canvas transparent

With processingjs you can’t give the background color an alpha-channel in the main canvas (the Processing-object).

This behavior is inherited from the original Java-based Processing, where this doesn’t make sense to have an transparent background.

However it’s possible to have this effect, if you want to and I’ll show you how:

var el = document.getElementById( “basecanvas” ); var processing =… Read more »