Skip to content

Instantly share code, notes, and snippets.

@TyOverby
Created August 29, 2012 18:22
Show Gist options
  • Save TyOverby/3516582 to your computer and use it in GitHub Desktop.
Save TyOverby/3516582 to your computer and use it in GitHub Desktop.
Create an autosteriogram
BEGIN FORMULA BARS
0#|#3d#|#512,256#|#*,*#|#(sqr(x-256)+sqr(y-128))/100#|#c#|##|#
1#|#KOALA#|##|#*,*#|#@C:\Users\Public\Pictures\Sample Pictures\Koala.jpg#|#c#|##|#
2#|#noise#|#256,256#|#1,*#|#RGB(Red1(x,y) mod 2 * 256,Green1(x,y) mod 2 * 256,Blue1(x,y) mod 2 * 256)#|#c#|##|#
2#|#noise#|##|#2,*#|#(Red1(x,y)+Green1(x,y)+Blue1(x,y))/3#|#c#|##|#
3#|#final#|#512,256#|#0,2#|#if x<250*(1/(1+800/(100+source1(x,y)))) then source2(x,y mod h2) else dest(x-250*(1/(1+800/(100+source1(x,y)))),y)#|#c#|##|#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment