Skip to content

Create a random fluent image based on multiple colors.

License

Notifications You must be signed in to change notification settings

ulbwazhine/FluentGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Create a random fluent image based on multiple colors.

Resources

License

Stars

Watchers

Forks