Programming is becoming more and more fun and accessible day by day due to streamlined new languages being created or exciting uses being found for existing ones. Programming is no longer the dull command line. Unknown to many, Processing is a language which is a turning point in the history of coding. It provides instant graphical results and easy syntax which makes it more than suitable for kids and yet reserves enough complexity to entertain the adult mind. Once glued to it, Processing lovers want to run their programs called sketches everywhere, even on mobiles. This is where this article comes in handy!
Where to find out more about processing?
Being a fairly common English word, information related to Processing are often lost in search results. Visit : www.processing.org, the official page to get an overview of the language. Visit openprocessing.org or the programming section at Khan Academy to get some idea of what could be done with this language.
Executing Processing on mobile; the methods :
Below are some ways to run your sketches on Android.
APDE from CalsignLabs
– the icon of the app
– the sketch
An Android app called APDE, available at the play store allows you to run processing sketches on your mobile really nicely. View it.
It provides :
. A processing editor which highlights Processing syntax and detects compiling errors
. A nice keyboard which provides easy reach to signs and symbols such as ( ) and < >
The sketches are constructed as apk files / stand-alone apps which thus provides an easy way to share your creations. You can also change the app icon! Don’t forget to allow non-market apps installation if asked!
⚠ However, it trains you to become a spiritual master by increasing your forebearance. The time taken to execute a simple sketch is just too great as you have to build the apk.
⚠ For each sketch you need to build an app for it, it thus clutters up your screen and eats up space.
⚠You won’t get to use the external libraries like networking!
Local links : ProcessingJs
Here is an HTML template which uses ProcessingJs. Download processing.html
Now you need to download the ProcessingJs file Download processing-1.3.6.min.js . What you need is to save the two files at the same location. Edit the html file by writing your code in setup and loop.
If you know of a processing js library somewhere, you can specify the url instead of “processing-1.3.6.min.js”.
In your browser write : file:///sdcard/Download/processing.html or where you saved it.
Of course you can always add the !Doctype html tag to say that you are using HTML 5.
A custom app i made
A custom app i made using App Inventor 2 called PocketProcessing! Download Pocket Processing!
Instructions included in app!
*By the way, i think the app above is a world first until proven to be false . . .