Tag: code

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 »

Using Processing-js as an JavaScript-library

I’ve started playing with the JavaScript library Processing-js1 for rendering in the HTML5 canvas.

Processing2 is a programming language and processing-js is a javascript implementation of that language.
Well, I like JavaScript the way it is and the processing syntax is lazily translated to JavaScript anyway, so… Read more »

Creating a custom dialog with jquery and jquery.blockUI

The goal of this article is to demostrate how to create a dialog with it own self-contained functionality using jQuery and blockUI.

For this we need jQuery (v1.3.x)1 and blockUI(v2.15+)2. I assume you have at least basic understanding of jQuery and JavaScript to make use… Read more »