Executes the parsed PaperScript code in a compiled function that receives
all properties of the passed PaperScope as arguments, to emulate
a global scope with unaffected performance. It also installs global view
and tool handlers automatically for you.
Parameters:
-
code:
String
— The PaperScript code.
-
scope:
PaperScript
— The scope for which the code is executed.
-
url:
String
— The url of the source, for source-map debugging.