Skip to content

Instantly share code, notes, and snippets.

@TheWispy
Created August 4, 2018 20:15
Show Gist options
  • Save TheWispy/ed37b45c61e39eaae93ef9afec90ca0f to your computer and use it in GitHub Desktop.
Save TheWispy/ed37b45c61e39eaae93ef9afec90ca0f to your computer and use it in GitHub Desktop.
General purpose line-like oscillator function - pre-posterized
line = (a, b, c) =>osc(a, b, c).rotate(Math.PI/2).brightness(-0.4).contrast(6).posterize(1)
line(2, 1, 0.5).scale(0.1).rotate(1,1).modulateScale(o0.scale(0.4), 2).kaleid(3).modulate(noise(10,2).pixelate(20,2).scrollX(2,0.2)).out(o0)
render(o0)
@ydoc5212
Copy link

Hi! i'm getting 'o0.scale is not a function' in the current version of hydra with this patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment