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
#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++){ |
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
class SomeClass { | |
private: | |
string textString; | |
ofTrueTypeFont font; | |
ofTexture stringTexture; | |
ofVbo vbo; | |
ofMesh stringMesh; | |
ofVec3f verts[VERT_BUF_NUM]; |
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
// 前提条件 | |
// サクラ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
//set server to gs server. | |
s=Server("Tamabi gs server", NetAddr("122.212.35.122", 57110)); | |
( | |
SynthDef("despatch_radio_synth", { | |
|amp = 1, | |
azimuth = 111.9, | |
declination = -23.3, | |
distance = 31931930, | |
elevation = 20.3, |
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
import SceneKit | |
import QuartzCore | |
class GameViewController: NSViewController { | |
@IBOutlet weak var gameView: GameView! | |
override func awakeFromNib(){ | |
let numBox = 300 |
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
s.boot; | |
( | |
SynthDef("click",{ | |
Out.ar(0,ClipNoise.ar(0.02) * EnvGen.ar(Env.perc(0.0,0.05,1,-2), 1, doneAction: 2)); | |
}).store | |
) | |
( |