An open API service indexing awesome lists of open source software.

https://github.com/ejfox/twitter-artbot

Generative art framework with JS, D3, Canvas, and more...
https://github.com/ejfox/twitter-artbot

Last synced: about 1 year ago
JSON representation

Generative art framework with JS, D3, Canvas, and more...

Awesome Lists containing this project

README

          

# Twitter Art Bot
# @417am1975

## What it does
An art robot that creates generative works using [417](https://github.com/ejfox/four-seventeen). This repo can be deployed to Heroku to create a Twitter bot that tweets randomly-selected art scripts every hour.

See [lots of examples here](https://imgur.com/a/0nlIRIo).

## Development

`npm install` before your first use.

To force the bot to randomly pick an artscript to run and tweet, use `node dist/index -force`

To force the bot to randomly pick an artscript to export every frame, use `node dist/index -movie`

### Twitter Bot Setup
Create a [new Twitter app and get your consumer key and token](https://apps.twitter.com/).

Rename `.env-example` to `.env` and add your Twitter authentication details.

## Examples
![9-10](https://i.imgur.com/96fLEBe.png)
![10-2](https://i.imgur.com/WNcRDgg.png)
![10-3-2](https://i.imgur.com/bxW0bex.png)
![10-4-3](https://i.imgur.com/BTgXBOQ.png)
![10-3](https://i.imgur.com/HGAz9QZ.png)
![10-7-2](https://i.imgur.com/Y77isUO.png)
![11-6-3](https://i.imgur.com/FOR6L5f.png)
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fejfox%2Ftwitter-artbot.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fejfox%2Ftwitter-artbot?ref=badge_shield)

## License
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fejfox%2Ftwitter-artbot.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fejfox%2Ftwitter-artbot?ref=badge_large)