Frustum Culling

November 27th, 2013 experiment no comments

I put together an example for clipping points inside the camera frustrum. I found that OpenFrameworks was a bit strange when it came to the field of view. I was not able to get the results I was looking for until I lowered the FOV to about 20.0f. I posted the code on GitHub for …

Box2d Lights

November 14th, 2013 experiment no comments

This is an example app that creates a 2D Shadow effect. There are a ton of examples and tutorials online to achieve this. Here are some of the sites I used: Fork it here: github.com/vanderlin/Box2dLights

ofxCameraKit

August 2nd, 2012 experiment no comments

ICDevice wrapper for openFrameworks. You can trigger PTP cameras/scanners and download images from the connected device. Grab it on github here. https://github.com/vanderlin/ofxCameraKit

Glowy Fun

July 31st, 2012 experiment no comments

Haven’t made something like this for a bit, feels nice to just go for it.

Circle Problem

March 12th, 2012 experiment no comments

A friend left me this puzzle to solve. Using openFrameworks here is a solution ofEnableAlphaBlending(); ofBackground(255); ofNoFill(); float   aRadius = 100; ofVec2f a(ofGetWidth()/2, ofGetHeight()/2); ofVec2f b, c; // get two points along the circle a b.x = a.x + cos(ofGetMouseNormal().x * TWO_PI) * aRadius; b.y = a.y + sin(ofGetMouseNormal().x * TWO_PI) * aRadius; c.x …