Created
May 29, 2018 07:58
-
-
Save jemsgit/4eb6e82873b5dd2a64a87ec804fc0ba2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function mousePressed() { | |
saveFrames('out', 'png', 1, 25, function(data) { | |
var img = document.createElement('img'); | |
img.src = data[1].imageData; | |
document.body.appendChild(img); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment