Skip to content

Instantly share code, notes, and snippets.

@odedw
Created October 3, 2020 20:34
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save odedw/c550245cdf8fef5462d08592df0f1bec to your computer and use it in GitHub Desktop.
Save odedw/c550245cdf8fef5462d08592df0f1bec to your computer and use it in GitHub Desktop.
s0.initScreen();
src(s0)
.rotate([Math.PI / 4, Math.PI / 2, (Math.PI * 3) / 4, Math.PI].fast(0.5))
.repeat(4)
.scale([1, 1.5].fast(0.1))
.thresh(0.4, 0.4)
.colorama(({ time }) => Math.sin(time / 20))
.saturate([1, 0.9, 0.8, 0.7].fast(0.2))
.pixelate([750, 650, 500], [750, 850])
.out();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment