Skip to content

Instantly share code, notes, and snippets.

@Chovin
Created April 11, 2017 00:24
Show Gist options
  • Save Chovin/2e98f879f2af1b3d1e83cb1b4b1fc0ec to your computer and use it in GitHub Desktop.
Save Chovin/2e98f879f2af1b3d1e83cb1b4b1fc0ec to your computer and use it in GitHub Desktop.
x=0p={}f=133t=0::a::z=x%f
y=x/f
if(t<f)p[x]=pget(z,y)
c=p[x]
if(y+sin(t)*7+t/f>f)z+=sin(y/60+t)-3 c+=1
pset(z,y,c)x=(x+1)%(f*f)t+=1/f
goto a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment