Skip to content

Instantly share code, notes, and snippets.

@bebraw
Created July 21, 2012 18:44
Show Gist options
  • Save bebraw/3156711 to your computer and use it in GitHub Desktop.
Save bebraw/3156711 to your computer and use it in GitHub Desktop.
Quick fx description
effects = { // note that this is supposed to be ordered dict! (alternative, use list + name prop)
sine: {
init: function() {...},
exec: function() {...},
},
gameOfLife: {
init: function() {...},
exec: function() {...},
accumulate: true // defaults to false
},
wave: {
init: function() {...},
exec: function() {...},
},
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment