Skip to content

Instantly share code, notes, and snippets.

@Sangarshanan
Last active March 6, 2024 07:51
Show Gist options
  • Save Sangarshanan/a866e6fff47756cf0cfd2dcfbc5137ed to your computer and use it in GitHub Desktop.
Save Sangarshanan/a866e6fff47756cf0cfd2dcfbc5137ed to your computer and use it in GitHub Desktop.
Punctual gist
-- fit 3 $ circle [sin cps, osc 0] [osc 0.5, 0.5] * (osc ft) * 0.2 >> video;
-- fit 3 $ circle [0, sin cps] [osc 0.5, 0.5] * 0.2 >> video;
circle [0.0, 0.0] (osc ft) * 0.3 >> red;
fit 1 $ circle [osc 0.1, 0.0] (osc ft) * 0.3 >> blue;
fit 1 $ circle [0.1, osc 0.1] (osc ft) * 0.3 >> green;
-- mesh [0,0.1] [0.5,0.5] * (osc ft) * 0.2 >> blue;
-- mesh [0,-0.1] [0.5,0.5] * (osc ft) * 0.2 >> video;
-- sin(log(fx * fy)) >> blue;
-- osc(fx * fy * ft) * 0.6 >> video;
sin (fx * osc 60) * tri (fy * 60.05) * fx * fy * 10db >> blue;
saw (fx * 60) * tri (fy * 60.05) * fx * fy * 10db >> green;
osc ((0.5-fx) * osc 40) * osc ((fy+2) * 30) * fx * osc fy * 2 * 15db >> red;
-- AUDIO --
saw 2 & lpf 1500 1 >> audio;
sqr 1 & hpf 2000 1 >> audio;
-- Camera --
0.6 * unipolar (cos(10*log(cam)))>>video;
cos(cam) >> video; -- camera
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment