calysto_processing
calysto_processing copied to clipboard
import external Processing library - Reference Error
External libraries import but get ReferenceError: GetRequest is not defined when trying to instantiate an object.
See below for example:
import http.requests.*; GetRequest get = new GetRequest("http://httprocessing.heroku.com"); get.send(); println("Reponse Content: " + get.getContent()); println("Reponse Content-Length Header: " + get.getHeader("Content-Length"));
PostRequest post = new PostRequest("http://httprocessing.heroku.com"); post.addData("name", "Rune"); post.send(); println("Reponse Content: " + post.getContent()); println("Reponse Content-Length Header: " + post.getHeader("Content-Length")
This seems to be caused by "processing-java" not knowing where libraries come from. Appears related to processing-java and external libraries
After digging in further into this repo, am I right to conclude that Calysto can ONLY run what is in the core for Processing JS? In other words, it can't import the java base libraries for Processing since it is really only the Javascript core of Processing?
That is correct... this is only a wrapper around the JavaScript part.