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
#define PI 3.1415926535 | |
#define BPM 130.0 | |
varying vec2 v_uv; | |
uniform float u_time; | |
uniform vec2 u_resolution; | |
/// https://iquilezles.org/articles/distfunctions2d/ | |
float sdBox( in vec2 p, in vec2 b ) |