Java Code Examples for processing.opengl.PGraphicsOpenGL#noFill()
The following examples show how to use
processing.opengl.PGraphicsOpenGL#noFill() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: MultiSimpleCalibrator.java From PapARt with GNU Lesser General Public License v3.0 | 6 votes |
public static void drawTarget(PGraphicsOpenGL g, MultiSimpleCalibrator multiCalibrator) { g.noFill(); g.stroke(255); g.ellipseMode(CENTER); // PIXEL sizes. (projector resolution dependent) g.ellipse(0, 0, 50, 50); g.line(-5, 0, 5, 0); g.line(0, -5, 0, 5); // g.stroke(200, 0, 200); // g.rect(-5, 0, 10, 1); // g.rect(0, - 5, 1, 10); g.ellipse(0, 0, 20, 20); int w = 200; int h = 150; g.rect(-w, -h, w * 2, h * 2); }
Example 2
Source File: MultiSimpleCalibrator.java From PapARt with GNU Lesser General Public License v3.0 | 5 votes |
public static void drawFrame(PApplet parent, PGraphicsOpenGL g, MultiSimpleCalibrator multiCalibrator) { g.rectMode(CORNER); // GlobalFrame g.noFill(); g.strokeWeight(2f); g.stroke(255f); g.rect(0, 0, parent.width, parent.height); }