This project is a Python-based application for texture generation using machine learning techniques. It utilizes libraries such as Pillow, scikit-learn, and img2texture to create and manipulate textures.
Python 3.11 Docker (optional, for containerized deployment)
Using pipenv
Clone this repository:
git clone https://github.com/ChrisPHP/PixelTextureForge.git
cd PixelTextureForge
Install pipenv if you haven't already:
pip install pipenv
Install dependencies:
pipenv install
Activate the virtual environment and go into src directory and run the python server:
pipenv shell
cd src
Run in development mode:
python app.py
Run in production with gunicorn:
gunicorn --config gunicorn_config.py app:app
Clone this repository:
git clone https://github.com/ChrisPHP/PixelTextureForge.git
Go into the PixelTextureForge directory
cd PixelTextureForge
Build the Docker image with docker compose:
docker compose build
Once built run the docker container:
docker compose up
Just go to this URL in your browser http://127.0.0.1:5000
- Pixelize Images
- Create Wang tiles
- Add Wang tile Borders
- Convert images to seamless
- Add Procedural Texture Generation
- Edit colour palette
- Optmisation
- Multithreading
- Dockerfile arguments
pillow==10.4.0 scikit-learn==1.5.1 img2texture flask werkzeug opensimplex gunicorn gevent
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.