MathArtGen / README.md
citoreh's picture
Update README.md
5ce95ec verified

A newer version of the Gradio SDK is available: 6.5.1

Upgrade
metadata
title: Mathematical Art Generator
emoji: 🎨
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 5.42.0
app_file: app.py
pinned: false
license: mit

Mathematical Art Generator 🎨

Generate stunning mathematical art using various equations and mathematical functions!

Features

  • Function-based Art: Create landscapes, wave patterns, spirals, and abstract compositions
  • Polar Coordinate Art: Generate roses, spirals, cardioids, and lemniscates
  • Customizable Parameters: Control complexity, scale, frequency, and color schemes
  • Real-time Generation: Interactive parameter adjustment with instant preview
  • High-Quality Output: Export-ready images with customizable resolution

Art Types

Function Art

  • Landscape: Mountain ranges using sine/cosine combinations
  • Wave Interference: Beautiful interference patterns
  • Spiral Patterns: Logarithmic and mathematical spirals
  • Fractal Noise: Multi-octave procedural patterns
  • Abstract Compositions: Complex mathematical combinations

Polar Art

  • Rose Curves: r = a·sin(nθ)
  • Spirals: Various spiral equations
  • Cardioid: Heart-shaped curves
  • Lemniscate: Figure-eight patterns

Usage

  1. Choose your art type from the tabs
  2. Adjust parameters to customize the output
  3. Click "Generate Art" to create your mathematical masterpiece
  4. Experiment with different settings for unique results!

Mathematical Background

This generator uses various mathematical concepts:

  • Trigonometric functions (sin, cos, tan)
  • Polar coordinates (r, θ)
  • Parametric equations
  • Fractal mathematics
  • Wave interference patterns

Perfect for artists, mathematicians, educators, and anyone interested in the beauty of mathematical visualization!