I love art. I like math. Random is my type of order.
@OssacipBot - A Twitter bot that generates procedural artwork.
The formula is bases on the notion of mathematical Dynamical Systems. The bot randomizes 6 different variables called a, b, c, d, e, and f. One of these variables is randomly chosen to have its value dynamically manipulated allowing the formula to produce "movement" to the exported GIF. Then 0.5 million points are drawn per frame with the following coordinates where n is the current point:
This is the installation procedure that was followed on a Ubuntu server setup. The procedure however is different on systems like mac OS and Windows.
Clone the repository using git
$ git clone https://github.com/mbrav/OssacipBot.git
Enter into the repository
$ cd OssacipBot
Allow the server setup script to be executable, then run it
$ sudo chmod +x server-setup.sh && ./server-setup.sh
NOTE: Add your own twitter API keys to the bot/config.js
file. If you have a Twitter account, you can get your Twitter API here.
Now its time to test the bot.
Enter into the bot
folder and install dependencies like so:
$ cd bot && npm install
Run the server!
$ node bot.js
If the script fails to install the dependencies automatically, the following Processing 3 libraries can be installed manually:
If there are problems with running the bot, leave an issue!
Bryan Ma - A significant portion of this code was inspired from his bot called greyLandscapeBot which posts on twitter every now and then.
Vincent D. Warmerdam - for providing and inspiring this project with his formula.
a: 0.6267815
b: 1.7023143
c: 0.4992913
d: 3.0277352
e: 1.5243566
f: 1.0872754
morphing: 4 increment: 0.013384947