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
function rerand() constructor { | |
state = [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]; | |
g_nRandSeed = 0; | |
g_RndIndex = 0; | |
s_nRandomPoly = $DA442D24; | |
RND_MAX = $FFFFFFFF; | |
s_nStateAndMask = RND_MAX; | |
InitRandom = function(/*uint*/ _seed) { | |
var uVar3 = _seed; |
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
//audio visualizer on glsl-livecoder ( https://atom.io/packages/glsl-livecoder ) | |
precision mediump float; | |
uniform float time; | |
uniform vec2 resolution; | |
uniform sampler2D spectrum; | |
uniform sampler2D samples; | |
uniform float volume; | |
uniform sampler2D backbuffer; | |
float PI = 3.14159265359; |