Skip to content

PIL wrapper to draw multiple geometric shapes in a single call

License

Notifications You must be signed in to change notification settings

Sylvain-Rama/PILes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PILes

PIL wrapper to draw multiple geometric shapes on the same canvas in a single call.

Example

Multiple small modules, to create complex geometrical shapes or modify existing images:

Distributions, to draw complex distributions in 2D such as sunflower, spirals, parametric curves and many more.

Distributions

Functions, to create weights that will be applied to size, alpha, contour width...

Weights

Coupled to Chatoyant, to easily generate complex color palettes

palette

See more information on Chatoyant

And combine all of that in a PIL extension to draw multiple shapes in a canvas:

Examples1

Module allows to draw shapes at desired points, lines and other images as well. Modify their attributes according to axis, distances to centre, other distributions, etc...

Examples2

And it can be coupled with TILEs to create PILe objects and then modify them. For example using Quadtrees, dithering, etc...

Quad examples

See a notebook for more information.