Users' questions

What is a Processing sketch?

What is a Processing sketch?

Each program created in Processing is called a “sketch” and can be saved in a sketchbook. They are uncompiled source code files and are saved in a plain text format. Each sketch can be run within the Processing interface using the Sketch → Run command.

What is p3 Processing?

Welcome to Processing 3! Processing is a flexible software sketchbook and a language for learning how to code within the context of the visual arts. Since 2001, Processing has promoted software literacy within the visual arts and visual literacy within technology.

What coding language does Processing use?

Java language
Processing uses the Java language, with additional simplifications such as additional classes and aliased mathematical functions and operations. It also provides a graphical user interface for simplifying the compilation and execution stage.

What does Processing.js do in JavaScript?

Processing.js is a JavaScript library that allows you to write Processing code that is then translated into JavaScript and embedded in a webpage. Note: Processing.js won’t work if any of the following are true: If you used any Java-specific code, like the File class.

What can I do with p5.js as a sketch?

Using the metaphor of a sketch, p5.js has a full set of drawing functionality. However, you’re not limited to your drawing canvas. You can think of your whole browser page as your sketch, including HTML5 objects for text, input, video, webcam, and sound.

Can you upload a sketch to a webpage?

You can upload that file to a site like Game Jolt, itch.io, or even your own webpage, and then other people can download it and run the application to see your sketch. But exporting an application does not create a webpage that contains your sketch embedded directly in the page itself.

When to use p5.js instead of processing?

If embedding your sketch in a webpage is a priority, then consider using p5.js instead. This Processing.js tutorial will still work for now, but you should not count on it working forever. Processing lets you export applications, which gives you a runnable file.