Unfolding for processing 2.1 fails in JavaScript mode

I downloaded the just released Unfolding Maps for Processing 2.1 and the examples work fine in Java mode but fail to run in the JavaScript mode. Is there anything which can be done to make them JavaScript mode compatible?

The error I'm getting is uncaught exception: Processing.js: Unable to execute pjs sketch: ReferenceError: UnfoldingMap is not defined


  • It means that library isn't present in your JavaScript mode! :o3
    Cross-mode libraries, which work seamlessly both in Java & JS modes, are still rare! :O
    You gotta search for a JavaScript library which is similar to Unfolding Maps after all! (~~)

Sign In or Register to comment.