Skip to main content

Create a random fluent image based on multiple colors.

Project description

FluentGenerator

Create a random fluent image based on multiple colors.

Navigation

Example

FluentGenerator Example

FluentGenerator Example

Install

$ python3 -m pip install FluentGenerator

Update

$ python3 -m pip install FluentGenerator --upgrade

Usage

In Python console:

from FluentGenerator import FluentImage

fluent = FluentImage(background="#white",
                     colors=10,
                     width=1000,
                     height=1000)

fluent.generate()
>>> /path/to/fluent/image

FluentImage parameters:

  • background: str — Background color.
  • colors: int — Number of random colors.
  • width: int — Image width.
  • height: int — Height width.

FluentImage.generate parameters:

  • external_storage: Optional[bool] — Optional parameter, true if you need to upload image on TemporaryStorage (0x0.st etc)

Links

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

FluentGenerator-2022.2.2.2.tar.gz (4.1 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page