Skip to content

Instantly share code, notes, and snippets.

@AlexAbraham1
Created July 17, 2014 16:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlexAbraham1/b4fa5739593e9f173351 to your computer and use it in GitHub Desktop.
Save AlexAbraham1/b4fa5739593e9f173351 to your computer and use it in GitHub Desktop.
App
void ofApp::draw() {
ofSetHexColor(0xFFFFFF);
//gray.draw(0,0);
grabber.getTextureReference().drawSubsection(0, 0, screenWidth, screenHeight, 0, 0);
// int x = (screenWidth/2) + circleRadius;
// int y = circleRadius;
// while (x + circleRadius < screenWidth) {
// while (y + circleRadius < screenHeight) {
// ofColor c = grabber.getPixelsRef().getColor(x-(screenWidth/2), y);
// ofSetColor(c);
// ofCircle(x, y, circleRadius);
// y += circleRadius;
// }
// x += circleRadius;
// }
ofColor c2 = grabber.getPixelsRef().getColor(600,600);
ofSetColor(c2);
ofCircle(30,30,30);
// ofSetColor(0x000000);
// ofDrawBitmapString("screenWidth: " + screenWidth, 700, 700);
// ofDrawBitmapString("screenHeight: " + screenHeight, 700 , 720);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment