This file contains 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
final int SIZE = 44100; | |
final int RATE = 44100; | |
byte[] file = new byte[ 44+SIZE*4 ]; | |
float wave( float _time, float _right ){ | |
return sin( _time * PI * 2.0 * 440.0 ); | |
} | |
void setup(){ | |
// "RIFF" |
This file contains 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; | |
using System.Collections; | |
public class Scaler : MonoBehaviour { | |
// Use this for initialization | |
void Start () { | |
} |
This file contains 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
#ifdef GL_ES | |
precision mediump float; | |
#endif | |
uniform float time; | |
uniform vec2 resolution; | |
#define saturate(i) clamp(i,0.,1.) | |
mat2 rotate( float _t ){ |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
#l 2 8 img/msgothic_16x16pn.png | |
#l 2 13 img/cat_big.png | |
#l 1 12 img/cat_small.png | |
@start | |
pi $_, si 0, rns $_ | |
// pi $_, si 11, zi 4, cp $_ | |
// pi $_, si 8, gzr $_ | |
@loopB |
This file contains 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
#l 2 15 img/cat_small.png | |
pi $0, si 0 | |
pi $1, si 1 | |
pi $2, si 2 | |
pi $3, si 3 | |
pi $4, si 4 | |
pi $8, si 8 | |
pi $9, si 9 | |
pi $32, si 32 |
This file contains 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
pi $0, si 0 | |
pi $1, si 1 | |
pi $2, si 2 | |
pi $4, si 4 | |
pi $8, si 8 | |
pi $32, si 32 | |
pi $64, si 64 | |
pi $96, si 96 | |
pi $128, si 128 |
This file contains 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
#l 1 8 0 | |
#l 1 9 img/msgothic_16x16p.png | |
pi $0, si 0 | |
pi $1, si 1 | |
pi $2, si 2 | |
pi $4, si 4 | |
pi $8, si 8 | |
pi $9, si 9 | |
pi $16, si 16 |
This file contains 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
#l 1 8 0 | |
#l 1 9 img/msgothic_16x16p.png | |
pi $0, si 0 | |
pi $1, si 1 | |
pi $2, si 2 | |
pi $4, si 4 | |
pi $8, si 8 | |
pi $9, si 9 | |
pi $16, si 16 |
This file contains 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
#l 1 8 0 | |
#l 1 9 img/msgothic_16x16p.png | |
pi $0, si 0 | |
pi $1, si 1 | |
pi $2, si 2 | |
pi $4, si 4 | |
pi $8, si 8 | |
pi $9, si 9 | |
pi $16, si 16 |