Evgenia Karunus
Evgenia Karunus

Reputation: 11202

No OpenGL in Processing 3

There is no OpenGL library in Sketch => Import Library or in Sketch => Import Library => Add Library in Processing 3.
Where can I find it?

Upvotes: 0

Views: 3062

Answers (1)

Evgenia Karunus
Evgenia Karunus

Reputation: 11202

Starting from Processing 2.0, OpenGL is a part of the core (https://github.com/processing/processing/wiki/OpenGL-Issues).

So eg this:

void setup(){
  size(640, 480, OPENGL);
  bezier(20, 20, 50, 10, 80, 100, 30, 200);
}

should work right away.

Upvotes: 1

Related Questions