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
/* | |
* Added the following to https://github.com/houshuang/roam-export/blob/master/index.mjs | |
*/ | |
if (action === "--foam") { | |
let dir = 'export' | |
// Create the output dir if it doesn't exist | |
if (!fs.existsSync(dir)){ | |
fs.mkdirSync(dir); |
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 | |
#define PI 3.14159265359 | |
#define TWO_PI 6.28318530718 | |
uniform vec2 u_resolution; | |
uniform vec2 u_mouse; | |
uniform float u_time; |