PFP Generator is a simple web application that allows users to create custom profile pictures by selecting different layers and traits. Users can upload images for body and trait layers, and then mix and match the layers to generate their desired profile pictures.
- Upload body layers and traits
- Easily select layers using dropdown menus
- Real-time preview of the generated profile picture
- Download the generated profile picture
This project includes example assets from the Moonbirds collection. You can use these assets to get started with creating your custom profile pictures.
If you have Python installed on your computer, you can use the built-in HTTP server to run the app. Navigate to the project directory in your terminal and run the following command:
- For Python 3.x:
python -m http.server
- For Python 2.x:
python -m SimpleHTTPServer
After running the command, open your browser and navigate to http://localhost:8000.
You can also use an online editor like Replit or CodeSandbox to run the project. Simply create a new project and upload your project files, then click "Run" to start the app.
Usage
- Upload background and body layers by clicking on the "Choose Files" buttons under the "Background" and "Body" sections.
- Upload traits by entering a trait name, selecting images, and clicking the "Upload Trait" button.
- Select the desired body layer and traits using the dropdown menus.
- Click the "Generate PFP" button to generate your custom profile picture.
- Save the generated profile picture by clicking on the "Save Image" button.
- Select the PFPs you want to export from Save PFPs section, and click on the "Export" button.
