Mode:
Duration:
1
Coding works best on desktop or with an external keyboard.
Coding works best on desktop or with an external keyboard.
A circle moving diagonally across the canvas in an animation loop.
x, y = 0, 0
def setup():
size(400, 400)
def draw():
global x, y
background(255)
fill(0)
ellipse(x, y, 50, 50)
x = (x + 2) % width
y = (y + 2) % heightProcessing.py is a Python mode of the Processing environment, allowing Python developers to create visual arts, animations, and interactive graphics easily using the Processing API.
Origin & Creator
Processing was created in 2001 by Casey Reas and Ben Fry. Processing.py was added later as a Python mode to enable Python programmers to use Processing.
Industrial Note
Processing.py is mainly used in education, digital arts, generative design, and creative coding prototyping rather than commercial graphics engines.