Skip to content

Instantly share code, notes, and snippets.

@echophon
Created February 19, 2019 15:58
Show Gist options
  • Save echophon/af20382d7d8128b048704ebde79e85c3 to your computer and use it in GitHub Desktop.
Save echophon/af20382d7d8128b048704ebde79e85c3 to your computer and use it in GitHub Desktop.
let rip a b p = within (0.25, 0.75) (slow 2 . rev . stut 8 a b) p
ripWith a b p = within (0.25, 0.75) (slow 2 . rev . stutWith 8 a b) p
shift n = (n <~)
shrand n = shift n $ rand
juxSine a p = juxBy (fast a $ sine) p
p2w a b = perlin2With (slow a $ cosine) (slow b $ sine)
brakk p = (within(0.25, 0.75) brak) p
brakj p = within (0.25,0.75) ((fast 2).zoom(0.25,0.75)) p
-- these still need work / unsure of them
-- ip = interpolate
-- ip2 = interpolateIn 2
-- ip8 = interpolateIn 8
-- ip16 = interpolateIn 16
-- shirand n i = shift n $ irand i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment