線をひく時に、ofLineを使うとある点と点をつないだ線を引くことができます。 ただ、大量の線を引く場合、(1000以上くらい?)若干フレームレートに影響が出てくるので、その場合の方法です Read 割と最初にsetupする関数をまとめ ofSetFrameRate(60); ofSetWindowShape(1280, 720); ofEnableAlphaBlending(); ofEnableSmoothing(); ofSetVerticalSync(true); ofSetCircleResolution( 9 ); 割と最初にsetupする関数をまとめ で3Dにする場合には、 ofEnableDepthTest(); をすると深度の調整がされます。
![openFrameworks study note | openFrameworks memo](https://cdn-ak-scissors.b.st-hatena.com/image/square/c08fe7b5755f62c8413b210f1331e7827b1d2035/height=288;version=1;width=512/http%3A%2F%2Fof.mxtr.jp%2Fwp-content%2Fthemes%2Fbaum%2Fimages%2Fcover.png)