sepandhaghighi/samila

A Generative Art Generator

What it solves

Samila is a generative art tool that allows users to create complex, unique images based on mathematical formulas and random parameters. It solves the problem of creating algorithmic art by providing a framework to transform coordinate systems and plot thousands of points based on custom functions.

How it works

The tool works by calculating the position of thousands of points using mathematical formulas (f1 and f2) that include random parameters. These points are then projected from a Cartesian coordinate system into various other coordinate systems (such as Polar, Aitoff, Hammer, Lambert, or Mollweide).

Who it’s for

Artists, mathematicians, and developers who want to create algorithmic or generative art using Python.

Highlights

  • Customizable Functions: Users can define their own mathematical functions to drive the image generation.
  • Multiple Projections: Supports various projections including Polar and several map-like projections (Aitoff, Hammer, etc.).
  • Multiple Generation Modes: Offers various modes to determine how data is-vs-index or function-vs-function is plotted.
  • Flexible Styling: Extensive options for markers, colors (RGB, Hex, name, or custom maps), and background colors.
  • CLI and API: Can be used as a Python library or directly from the command line.
  • Persistence: Ability to save and load generated image data and configuration files in JSON format.

Related

  • Project
  • Project
  • Project
  • Project
  • Project