How to get started with Processing(Java)?

How to get started with Processing(Java)?

ยท

2 min read

Introduction

Rather of getting output in the console, I prefer to develop a GUI (Graphical User Interface) or a 2d scenario in general to create visually appealing apps, this desire prompted me to study Processing (java)

This would be incredibly cool for those who have only recently begun learning to code.

Some of the amazing apps you see below can be made by you.

ezgif.com-gif-maker (1).gif

Code for Lorenz Attractor

ezgif.com-gif-maker.gif

Code for Pong

what is Processing(Java)

Processing is a simple programming environment that was created to make it easier to develop visually oriented applications (built on Java) with an emphasis on animation.

You can download the Processing IDE from their website, where you will be writing your code.

Download Processing

How Processing editor work?

When you run the Processing code in Processing editor, the Processing editor is translating your Processing code into Java code, compiling it, and running it.

This article by happy coding contains a full explanation of how the Processing editor works, which is really informative ๐Ÿ‘‡๐Ÿป

where you can learn Processing(Action step)?

If you already know java, you can skip the learning phase and start with some fundamental functions (like void setup, void draw etc) and start projects by watching videos on YouTube.

When you get stuck or need to know about any built-in functions, the Processing's documentation is handy.

If you don't know java, I recommend that you learn it first, else you can start by watching the Coding Train youtube channel's tutorials.

Conclusion

Processing is a straightforward language - easy to learn, understand and use, yet it is very powerful.

Processing is available in Javascript and Python as well.

Thank you for sticking with me until the end.

ย