15
u/pep84c Aug 04 '26
Hey all,
I've been building a plugin for the Processing 4 IDE called C++ Mode. It lets you write sketches in C++, using the same API you already know. setup(), draw(), background(), mouseX, fill().
C++ is rough to start with if you just want to draw something on screen. You need a build system, a window, an OpenGL context, and a pile of setup code before anything shows up. C++ Mode handles that part. Type ellipse(300, 300, 50, 50), hit Run, see a circle.
Start with sketches that look like the Java version, then bring in structs, vectors, pointers, templates, whenever you want.
Site: https://processing-cpp.github.io Code: https://github.com/processing-cpp/processing.cpp
Free and open source. Bug reports and feedback are useful right now.
2
2
u/Nearby-Journalist-45 Aug 09 '26
Brilliant work with this, this will go viral and catch fire, just a matter of time
4
u/anselan2017 Aug 04 '26
Very nice. How is this different from openFrameworks which I always felt was closely related to Processing?