Install required dependencies
$ pacman -S avahi pulseaudio-zeroconf| // check version | |
| node -v || node --version | |
| // list locally installed versions of node | |
| nvm ls | |
| // list remove available versions of node | |
| nvm ls-remote | |
| // install specific version of node |
| /* | |
| * Author: http://stuffandnonsense.co.uk/blog/about/hardboiled_css3_media_queries/ | |
| */ | |
| /* Smartphones (portrait and landscape) ----------- */ | |
| @media only screen | |
| and (min-device-width : 320px) | |
| and (max-device-width : 480px) { | |
| /* Styles */ | |
| } |
| ofPolyline temp; | |
| float ff = ofGetElapsedTimef(); | |
| for (int i = 0; i < 100; i++){ | |
| float angle = ofMap(i, 0, 100, 0, TWO_PI); | |
| ofPoint pt= ofPoint(400,400); | |
| float radius = 200 + ofSignedNoise(ff*0.1, cos(angle)*0.3, sin(angle)*0.3) * 100; | |
| pt += radius * ofPoint(cos(angle), sin(angle)); | |
| temp.addVertex(pt); | |
| } | |
| temp.setClosed(true); |
| #include "ofMain.h" | |
| int main() { | |
| // both initialize to identity matrix | |
| cout << glm::mat4() << endl; | |
| cout << ofMatrix4x4() << endl; | |
| // both row-major (translation stored in mat[3][0,1,2]) | |
| glm::mat4 glmMat; | |
| glmMat = glm::translate(glmMat, glm::vec3(1,2,3)); |
| #include "ofMain.h" | |
| class ofApp : public ofBaseApp { | |
| public: | |
| ofShader shader; | |
| ofEasyCam cam; | |
| ofFbo fbo; | |
| void setup() { | |
| ofBackground(0); | |
| ofFbo::Settings s; |
| import processing.pdf.*; | |
| color[] rgb = { | |
| #FF0000, #00FF00, #0000FF | |
| }; | |
| //SPACING BETWEEN LINES | |
| float spMin = 2; | |
| float spMax = 4; | |
| float strokeWidth = 0.5; |