0

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

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

1 Comment

You got it! Bare in mind OPENGL in Processing 3 is actually the P3D renderer, could simply use P3D directly (source). Be sure to also checkout the PShader tutorial

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.