Skip to content

node.js wrapper to processingjs to provide a seamless support to both server/client side processingjs

Notifications You must be signed in to change notification settings

dreamind/processinggraphics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

processinggraphics

A node.js wrapper to processingjs to provide a seamless support to both server/client side processingjs. Currently supporting processingjs (client side), pdf, png, and jpg (server side).

Running the app and example

First, call the server app:

node app.js

After running the app, call:

node test.js

This should generate test.pdf, test.jpg, and test.png.

To run the demo, load the following url in the browser:

http://localhost:2000/  

Parameter can be passed from JavaScript to the pde code via this.externals.sketch.params. The type of this parameter is JavaScript object, which will be stringified to server-side processor.

About

node.js wrapper to processingjs to provide a seamless support to both server/client side processingjs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published