File size: 1,770 Bytes
1f1aa46
4f26443
 
 
 
39bbfbc
5ce95ec
39bbfbc
 
 
 
 
4f26443
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5ce95ec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
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!