Skip to main content

Generate random but beautiful gradients in a super simple way.

Project description

Gradient Generator

Generate random but beautiful gradients in a super simple way.

Demo

gradient You can check out more examples here

Features

  • Super simple usage

Current limitations

  • No way to choose colors
  • PNG only

Installation

$ pip install gradient-generator

Usage

from gradient_generator import generate_gradient

image = generate_gradient(640, 480)

image
<_io.BytesIO object at 0x10ce70040>

with open('test.png', 'wb') as f:
	f.write(image.getbuffer())

Support

If you need help or found a bug, consider opening an issue on the project.

Licence

The source code for this project is licensed under the MIT license, which you can find in the MIT-LICENSE.txt file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gradient-generator-0.1.1.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distributions

gradient_generator-0.1.1-py3-none-any.whl (2.8 kB view hashes)

Uploaded Python 3

gradient_generator-0.1.1-2-py3-none-any.whl (2.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page