Skip to content

Instantly share code, notes, and snippets.

Created October 13, 2013 15:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/6963547 to your computer and use it in GitHub Desktop.
Save anonymous/6963547 to your computer and use it in GitHub Desktop.
___run__
while exp.get('s') < 1:
my_canvas.clear()
my_canvas.image(path,scale=exp.get('s'))
my_canvas.show()
self.sleep(50)
exp.set('s',exp.get('s')+0.01)
__end__
___prepare__
from openexp.canvas import canvas
my_canvas = canvas(exp)
path = exp.get_file(exp.get('pic'))
exp.set('s',0.5)
__end__
set description "Executes Python code"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment