Site Map - skip to main content - dyslexic font - mobile - text - print

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.

The passing of FiftyOneFifty

It is with deep sadness we announce that another of our hosts and friends Donald Grier, known to us as FiftyOneFifty, has passed away.

FiftyOneFifty's frat brother Randy Hall has written an lovely piece. The team at Linuxlugcast are preparing our own tribute if you want to contribute an audio file you can email Honkeymagoo or join the show.

Our thoughts go out to his friends and family at this difficult time.

hpr2607 :: Processing

Klaatu introduces Processing, a Java subset and IDE suitable for graphical programming projects

<< First, < Previous, Latest >>

Hosted by klaatu on 2018-07-31 is flagged as Clean and is released under a CC-BY-SA license.
Tags: java,processing.
Listen in ogg, spx, or mp3 format. | Comments (1)

Part of the series: Programming 101

A series focusing on concepts and the basics of programming

Get Processing from Download, extract, and launch. On Linux, just click the processing file.

Processing requires that either OpenJDK or Java to be installed.

Processing requires a void setup() function, which is a function that Processing expects whenever an application is launched. If you don't have a setup function, your application still launches, but with basic Processing defaults. Try this to start with:

void setup() {

Click the Run button in the top left corner to launch your [very simple] application: an empty window that is 480 pixels wide and 720 pixels tall.

Draw a rectangle on your canvas by invoking Processing's void draw() function:

void draw() {

Click the Run button in the top left corner to launch your application.

Add some colour to your rectangle:

void draw() {

Click the Run button in the top left corner to launch your application.

Make a simple painting app:

void setup() {

void draw() {
    if (mousePressed) {
    } else {

More Processing tricks: you can export your application as a standalone Java app, or as an Android .apk as long as you have the Android SDK installed.

Processing's documentation is excellent. It has examples for all functions, with pictures.


Subscribe to the comments RSS feed.

Comment #1 posted on 2018-07-31T16:21:06Z by b-yeezi

Seems likea great teaching tool

Thanks for this episode. I've heard of processing, but never knew what it was or how it could be useful. I will probably turn to this after scratch for my kids.

<< First, < Previous, Latest >>

Leave Comment

Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.

Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).

Provide feedback
Your Name/Handle:
Anti Spam Question: What does the P in HPR stand for ?
Are you a spammer →
Who hosted this show →
What does HPR mean to you ?