Skip to content

Python script for generating backgrounds using "The Binding Of Isaac" items/trinkets icons.

Notifications You must be signed in to change notification settings

NafzorOB/IsaacWallpaper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Isaac Wallpaper

A Python script for creating randomly generated backgrounds with The Binding Of Isaac items/trinkets.

Tech X Ipecac Your Soul

Requirements

You will need Python 3 and the Pillow library for Python installed on your computer.

Installation

You can clone this repository with the following command:

git clone https://github.com/NafzorOB/IsaacWallpaper

...or by downloading and extracting the compressed file at the top of the page:

Downloading the ZIP File

Using

Open your terminal, go to the cloned/downloaded directory and run:

python3 generate.py

This will generate a file called bg.png on the directory with your generated background. By default, running the command will generate a background using a random icon, but if you want to generate an image using an icon of your preference you can run:

python3 generate.py "Brimstone.png"

You can replace Brimstone.png with the item/trinket that you want. See the assets/ folder for a list of all of them.

Configuring

You can configure the position, size, border and more on the generate.py file. Open it and you will see something like this:

Preview of the settings

You can modify the values on the file however you want. The size dimensions are expressed in pixels, and the colors on HEX format.

Also if you want to exclude an item or trinket, delete it from the assets/ folder.

Credits

All the icons were scrapped from The Binding of Isaac: Rebirth Wiki.

The Binding of Isaac: Rebirth content and materials are the intellectual property of their respective owners. This project is NOT associated with Edmund McMillen or Nicalis.