Processing 3 中没有 OpenGL

No OpenGL in Processing 3

Processing 3.[=16] Sketch => Import LibrarySketch => Import Library => Add Library 中没有 OpenGL 库=] 我在哪里可以找到它?

Processing 2.0开始,OpenGL是核心的一部分(https://github.com/processing/processing/wiki/OpenGL-Issues)。

例如:

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

应该会立即生效。