Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sjml/simulatorgenerator
Creates rad job simulator game box art and posts it to Twitter.
https://github.com/sjml/simulatorgenerator
Last synced: about 1 month ago
JSON representation
Creates rad job simulator game box art and posts it to Twitter.
- Host: GitHub
- URL: https://github.com/sjml/simulatorgenerator
- Owner: sjml
- License: mit
- Created: 2014-01-08T17:40:33.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-02-16T17:09:48.000Z (almost 10 years ago)
- Last Synced: 2024-04-15T02:12:34.428Z (9 months ago)
- Language: Python
- Homepage: http://twitter.com/SimGenerator
- Size: 6.11 MB
- Stars: 19
- Watchers: 4
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
SimulatorGenerator
==================Inspired by [John Walker's review of Woodcutter Simulator](http://www.rockpapershotgun.com/2014/01/07/john-vs-the-trees-woodcutter-simulator-2013/), this bot procedurally generates box art for hot new games in the growing Job Simulator genre.
![Restaurant](http://shaneliesegang.com/tmp/restaurant-sim.png "Restaurant")
![Wizard](http://shaneliesegang.com/tmp/wizard-sim.png "Wizard")
![Pizza](http://shaneliesegang.com/tmp/pizza-sim.png "Pizza")
-------
You can see it in action [on twitter](http://twitter.com/SimGenerator).It also has the ability to take requests, **but this functionality is currently turned off due to abuse**. If it were on (or if you were running it yourself), you could tweet at it using the phrase "make one about" and it will respond back within a couple minutes. (NOTE: sometimes Twitter gets angry at it, so it doesn't consistently fulfill requests.)
* "@SimGenerator Make one about Ron Paul, please."
* "Hey, @SimGenerator, make one about a sweet ninja."
* _Et cetera_.It won't respond to any requests featuring words from [Darius Kazemi's word filter](https://github.com/dariusk/wordfilter). It also makes some rudimentary efforts to avoid shock images and jokes that I've seen too much.
If something goes wrong, it just silently ignores the request. Alas. Tweet [@OptimistPanda](http://twitter.com/OptimistPanda) if you think it's broken.
Local
-----
Alternately, you can invoke it locally and directly by running the `SimulatorGeneratorImage.py` through Python. (You'll need to have the [Python Requests](http://docs.python-requests.org/en/latest/) library installed, as well as [ImageMagick](http://imagemagick.org/).) You'll also need to track down a copy of Helvetica Ultra Compressed, which we can't freely distribute.### Instructions for Mac (assuming [Homebrew](http://brew.sh/)):
~ $ brew install imagemagick
~ $ sudo pip install requests
~ $ git clone https://github.com/sjml/SimulatorGenerator.git
~ $ cd SimulatorGenerator
~/SimulatorGenerator $ ./SimulatorGeneratorImage.py \
--output-file wizard-sim-boxart.png \
--font-file helvetica-ultra-compressed.ttf \
wizard
~/SimulatorGenerator $ open wizard-sim-boxart.png### Instructions for Ubuntu; other Linux distributions should be similar:
~ $ sudo apt-get install imagemagick
~ $ sudo pip install requests
~ $ git clone https://github.com/sjml/SimulatorGenerator.git
~ $ cd SimulatorGenerator
~/SimulatorGenerator $ ./SimulatorGeneratorImage.py \
--output-file wizard-sim-boxart.png \
--font-file helvetica-ultra-compressed.ttf \
wizard
~/SimulatorGenerator $ eog wizard-sim-boxart.png### Instructions for Windows:
Doesn't work on Windows at the moment, because ImageMagick is finicky about the command line input it chooses to accept. :( Sorry! Find a buddy with a Mac or something. Or run Ubuntu in a VMWare environment or something. I dunno. Be resourceful!
### Usage
Run `python ./SimulatorGeneratorImage.py --help` for additional flags you can pass it.