added basic functionality for processingjs treemap