-
-
Save ejfox/893d5380ec65e9c468976700e06aa9e8 to your computer and use it in GitHub Desktop.
This file contains 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
artScripts = ['101'] | |
# Randomly choose from the artScripts array | |
artScriptChoice = artScripts[rand(artScripts.length)] | |
console.log 'Running ', artScriptChoice | |
canvas = require('./artscripts/'+artScriptChoice)(seed, rand) | |
# Upload that image to Twitter | |
uploadTweet(seed, canvas.toDataURL().split(',')[1]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment