This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 前提条件 | |
| // サクラVPS OS Ubuntu 14.04 | |
| // 下準備 | |
| $ sudo apt-get update | |
| $ sudo apt-get upgrade | |
| $ sudo apt-get install pkg-config | |
| // linux用のoFをDLしてきて |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // poky 3.10.17 > からはデフォルトでuvccamera moduleがサポートされたので、自分でopkg install uvccamera する必要がない。 | |
| // 下手にするとカーネルモジュールが壊れる。 | |
| // https://software.intel.com/en-us/iot/hardware/edison/downloads > Release 2.1 Yocto* complete image をダウンロード | |
| cd xxxx/paedison-image-ww25 | |
| //フラッシュを初期化、の前に | |
| //macだとdfu-waitが長すぎて失敗するのでスクリプトを一部修正する必要が有る -> https://gist.github.com/ddewaele/f1b13545586c78ddb545 | |
| ./flashall.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class SomeClass { | |
| private: | |
| string textString; | |
| ofTrueTypeFont font; | |
| ofTexture stringTexture; | |
| ofVbo vbo; | |
| ofMesh stringMesh; | |
| ofVec3f verts[VERT_BUF_NUM]; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #target illustrator | |
| var sel = app.activeDocument.selection; | |
| var height_ = app.activeDocument.height | |
| var file = File.saveDialog('save centers', 'center:*.txt'); | |
| var height_ = app.activeDocument.height | |
| file.open('w') | |
| file.write("[\n") | |
| for(var i = 0; i < sel.length; i++){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <html lang="ja"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Ayu-Texture-Test</title> | |
| <script src="http://threejs.org/build/three.min.js"></script> | |
| <script src="http://code.jquery.com/jquery-1.12.1.min.js"></script> | |
| </head> | |
| <script type="x-shader/x-vertex" id="vs"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- custom osc send to unity | |
| module UnityOsc where | |
| import Sound.Tidal.Stream | |
| import Sound.Tidal.Pattern | |
| import Sound.Tidal.Parse | |
| import Sound.Tidal.OscStream | |
| port = 5000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| #if UNITY_EDITOR | |
| using UnityEditor; | |
| #endif | |
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using System.Text; | |
| using UnityOSC; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void ofApp::triangleMesh(ofMesh && mesh, float radius) { | |
| ofPoint capturedPoint, capturedPoint2; | |
| for (int i = 0; i < 25; i+=2) { | |
| mesh.addIndex(i); | |
| mesh.addIndex(i + 1); | |
| } | |
| for (int i = 0; i < 25; i++) { |