Skip to content

Instantly share code, notes, and snippets.

@patham9
Created September 11, 2025 22:01
Show Gist options
  • Select an option

  • Save patham9/d9cb14eca9e3adfca97b29340e0c723d to your computer and use it in GitHub Desktop.

Select an option

Save patham9/d9cb14eca9e3adfca97b29340e0c723d to your computer and use it in GitHub Desktop.
Exponential pattern generator
((step app)
(, (num $1) )
(, (num (M $1))
(num (W $1)) ))
((step app)
(, (num (M $1)),
(num (W $1)) )
(, (num (C $1)) ))
(num 0)
(exec metta
(, ((step $x) $p0 $t0)
(exec metta $p1 $t1) )
(, (exec $x $p0 $t0)
(exec metta $p1 $t1) ))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment