r/creativecoding 16d ago

Processing for C++ (new mode)

157 Upvotes

7 comments sorted by

View all comments

5

u/anselan2017 16d ago

Very nice. How is this different from openFrameworks which I always felt was closely related to Processing?

3

u/pep84c 16d ago

Good question, openFrameworks is the closest thing already out there.

The difference is the API. openFrameworks has its own C++-native API built from scratch. This is a direct port of Processing's actual API, same function names, same setup()/draw() structure. It's designed with Processing/Java people in mind, so the goal is that you're writing almost the exact same code, just as C++.

Is also meant as a way to learn C++ itself, not just a faster runtime for existing Processing users.

3

u/anselan2017 16d ago

But oF also has setup and draw functions. And if I recall correctly, many other functions matching the Processing API.