1 Hello, World!

When learning a new programming language, it’s a long-standing tradition that the first code you write is to display the message ‘Hello, World!’ In keeping with that tradition, you’ll do that here too—but that’s not all. This chapter introduces everything you need to understand the fundamentals of Processing, and you’ll quickly move on from a simple ‘Hello, World!’ to drawing with code.

To get started, you’ll set up Python Mode for Processing so you can create your own sketches. Along the way, you’ll learn the basic rules of writing code in Processing, as well as how to deal with errors, use variables, and perform arithmetic ...

Get Learn Python Visually now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.