How to deploy processing to heroku with node

edited November 2016 in JavaScript Mode

Hi folks. I'm writing a twitter bot that generates images via the draw() function, saves them, and then posts them to twitter. Currently I have processing-java installed on my desktop, and I'm able to run the script to create an image and post via my computer, but I'd like to deploy it to heroku so that it can run all the time.

There are a few ways I'm trying to accomplish this, but I'm not sure how to proceed.

Way One: I think I can call processing.js to draw the images, and use my existing sketch files, but it seems more geared to real time applications and I don't know if there's a way I can just have it run once, or how I'd accomplish this.

Way Two I also think I can just install processing-java on heroku, but I'm unsure of how to do this, or what files I would need to do so.

Any help would be appreciated.

Tagged:
Sign In or Register to comment.