Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,215 +1,8 @@
|
|
| 1 |
---
|
| 2 |
-
license: mit
|
| 3 |
task_categories:
|
| 4 |
-
- image-
|
| 5 |
-
- computer-vision
|
| 6 |
-
- other
|
| 7 |
-
language:
|
| 8 |
-
- en
|
| 9 |
tags:
|
| 10 |
-
-
|
| 11 |
-
- mathematical-patterns
|
| 12 |
-
- procedural-generation
|
| 13 |
-
- computer-graphics
|
| 14 |
-
- fractals
|
| 15 |
-
- generative-art
|
| 16 |
-
- webdataset
|
| 17 |
-
size_categories:
|
| 18 |
-
- 1M<n<10M
|
| 19 |
---
|
| 20 |
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
A large-scale dataset of 1 million procedurally generated animated GIFs featuring mathematical patterns, fractals, and artistic visualizations.
|
| 24 |
-
|
| 25 |
-
## Dataset Description
|
| 26 |
-
|
| 27 |
-
GradientTile 1M is a comprehensive dataset of animated mathematical patterns generated using advanced procedural algorithms. Each sample is a 100x100 pixel animated GIF with 60 frames, showcasing various mathematical patterns including fractals, geometric shapes, organic forms, and abstract visualizations.
|
| 28 |
-
|
| 29 |
-
### Dataset Summary
|
| 30 |
-
|
| 31 |
-
- **Total Samples**: 100,000
|
| 32 |
-
- **Total Size**: 9.44 GB
|
| 33 |
-
- **Pattern Types**: 159 unique patterns
|
| 34 |
-
- **Color Schemes**: 8 color schemes
|
| 35 |
-
- **Format**: WebDataset (tar files)
|
| 36 |
-
- **Resolution**: 100x100 pixels
|
| 37 |
-
- **Frames**: 60 frames per animation
|
| 38 |
-
- **Duration**: 6 seconds per animation (100ms per frame)
|
| 39 |
-
|
| 40 |
-
## Pattern Categories
|
| 41 |
-
|
| 42 |
-
### Mathematical Patterns
|
| 43 |
-
- **Fractals**: Mandelbrot, Julia sets, and other fractal patterns
|
| 44 |
-
- **Geometric**: Spirals, waves, concentric circles, ripples
|
| 45 |
-
- **Curves**: Lissajous, rose curves, cardioids, lemniscates
|
| 46 |
-
- **Complex**: Interference patterns, plasma, turbulence
|
| 47 |
-
|
| 48 |
-
### 3D Projections
|
| 49 |
-
- **Shapes**: Spheres, cubes, pyramids, diamonds, torus
|
| 50 |
-
- **Biological**: DNA helix, molecular structures
|
| 51 |
-
|
| 52 |
-
### Organic & Nature
|
| 53 |
-
- **Natural**: Trees, leaves, veins, neural networks
|
| 54 |
-
- **Atmospheric**: Aurora, northern lights, solar flares
|
| 55 |
-
- **Oceanic**: Wave motion, underwater effects, coral
|
| 56 |
-
|
| 57 |
-
### Technology & Aesthetics
|
| 58 |
-
- **Digital**: Circuit boards, matrix effects, holograms
|
| 59 |
-
- **Energy**: Laser, electric, magnetic, quantum effects
|
| 60 |
-
- **Punk Aesthetics**: Cyberpunk, steampunk, biopunk styles
|
| 61 |
-
|
| 62 |
-
### Cosmic & Abstract
|
| 63 |
-
- **Space**: Galactic, stellar, planetary, black holes
|
| 64 |
-
- **Abstract**: Infinity, eternity, consciousness, awareness
|
| 65 |
-
- **Philosophical**: Present, now, everywhere, nowhere
|
| 66 |
-
|
| 67 |
-
## Color Schemes
|
| 68 |
-
|
| 69 |
-
1. **Rainbow** - Vibrant spectrum colors
|
| 70 |
-
2. **Fire** - Warm red, orange, yellow tones
|
| 71 |
-
3. **Ocean** - Cool blue, teal, aqua tones
|
| 72 |
-
4. **Neon** - Bright electric colors
|
| 73 |
-
5. **Aurora** - Northern lights green and purple
|
| 74 |
-
6. **Cosmic** - Deep space blues and purples
|
| 75 |
-
7. **Thermal** - Heat map red to blue
|
| 76 |
-
8. **Random** - Procedurally generated colors
|
| 77 |
-
|
| 78 |
-
## Dataset Structure
|
| 79 |
-
|
| 80 |
-
The dataset is organized in WebDataset format for efficient loading:
|
| 81 |
-
|
| 82 |
-
```
|
| 83 |
-
gradienttile-1m/
|
| 84 |
-
├── shard_000000.tar # Samples 0-999
|
| 85 |
-
├── shard_000001.tar # Samples 1000-1999
|
| 86 |
-
├── ...
|
| 87 |
-
├── shard_009999.tar # Samples 9990000-9999999
|
| 88 |
-
└── dataset_info.json # Dataset metadata
|
| 89 |
-
```
|
| 90 |
-
|
| 91 |
-
Each shard contains:
|
| 92 |
-
- `sample_XXXXXX.gif` - Animated GIF file
|
| 93 |
-
- `sample_XXXXXX.json` - Complete metadata
|
| 94 |
-
|
| 95 |
-
## Sample Metadata
|
| 96 |
-
|
| 97 |
-
Each sample includes comprehensive metadata:
|
| 98 |
-
|
| 99 |
-
```json
|
| 100 |
-
{
|
| 101 |
-
"sample_id": 42,
|
| 102 |
-
"pattern_type": "mandelbrot",
|
| 103 |
-
"color_scheme": "rainbow",
|
| 104 |
-
"seed": 42,
|
| 105 |
-
"parameters": { /* pattern-specific parameters */ },
|
| 106 |
-
"frequency_stats": { /* mathematical frequency analysis */ },
|
| 107 |
-
"reproducibility": { /* complete args for regeneration */ }
|
| 108 |
-
}
|
| 109 |
-
```
|
| 110 |
-
|
| 111 |
-
## Usage
|
| 112 |
-
|
| 113 |
-
### Loading with Hugging Face Datasets
|
| 114 |
-
|
| 115 |
-
```python
|
| 116 |
-
from datasets import load_dataset
|
| 117 |
-
|
| 118 |
-
# Load the dataset
|
| 119 |
-
dataset = load_dataset("your-username/gradienttile-1m")
|
| 120 |
-
|
| 121 |
-
# Access samples
|
| 122 |
-
sample = dataset["train"][0]
|
| 123 |
-
gif_data = sample["gif"]
|
| 124 |
-
metadata = sample["metadata"]
|
| 125 |
-
```
|
| 126 |
-
|
| 127 |
-
### Loading with WebDataset
|
| 128 |
-
|
| 129 |
-
```python
|
| 130 |
-
import webdataset as wds
|
| 131 |
-
|
| 132 |
-
# Create WebDataset
|
| 133 |
-
dataset = wds.WebDataset("gradienttile-1m/shard-{000000..000999}.tar")
|
| 134 |
-
dataset = dataset.decode("pil").to_tuple("gif", "json")
|
| 135 |
-
|
| 136 |
-
# Iterate through samples
|
| 137 |
-
for gif, metadata in dataset:
|
| 138 |
-
# Process sample
|
| 139 |
-
pass
|
| 140 |
-
```
|
| 141 |
-
|
| 142 |
-
### Loading with PyTorch
|
| 143 |
-
|
| 144 |
-
```python
|
| 145 |
-
import torch
|
| 146 |
-
from torch.utils.data import DataLoader
|
| 147 |
-
|
| 148 |
-
# Create PyTorch dataset
|
| 149 |
-
dataset = wds.WebDataset("gradienttile-1m/shard-{000000..000999}.tar")
|
| 150 |
-
dataset = dataset.decode("pil").to_tuple("gif", "json")
|
| 151 |
-
dataloader = DataLoader(dataset, batch_size=32, shuffle=True)
|
| 152 |
-
```
|
| 153 |
-
|
| 154 |
-
## Applications
|
| 155 |
-
|
| 156 |
-
### Machine Learning
|
| 157 |
-
- **Pattern Recognition**: Train models to classify mathematical patterns
|
| 158 |
-
- **Style Transfer**: Learn to transfer color schemes between patterns
|
| 159 |
-
- **Generation**: Train GANs to generate new animated patterns
|
| 160 |
-
- **Compression**: Develop efficient video compression algorithms
|
| 161 |
-
|
| 162 |
-
### Research
|
| 163 |
-
- **Mathematical Analysis**: Study frequency properties and pattern relationships
|
| 164 |
-
- **Procedural Generation**: Research new pattern generation algorithms
|
| 165 |
-
- **Visualization**: Create tools for mathematical concept visualization
|
| 166 |
-
|
| 167 |
-
### Creative Applications
|
| 168 |
-
- **Art Generation**: Create unique animated artworks
|
| 169 |
-
- **Education**: Teach mathematics through visual patterns
|
| 170 |
-
- **Entertainment**: Generate dynamic backgrounds and visual effects
|
| 171 |
-
|
| 172 |
-
## Generation Process
|
| 173 |
-
|
| 174 |
-
The dataset was generated using the GradientTile animation generator with:
|
| 175 |
-
|
| 176 |
-
1. **Random Pattern Selection**: Each sample uses a randomly selected pattern type
|
| 177 |
-
2. **Parameter Generation**: Pattern-specific parameters are randomly generated within valid ranges
|
| 178 |
-
3. **Color Scheme Assignment**: Random color scheme selection
|
| 179 |
-
4. **Reproducibility**: Each sample uses a deterministic seed for full reproducibility
|
| 180 |
-
5. **Quality Control**: All samples are validated for correct format and content
|
| 181 |
-
|
| 182 |
-
## Technical Specifications
|
| 183 |
-
|
| 184 |
-
- **Image Format**: Animated GIF
|
| 185 |
-
- **Resolution**: 100x100 pixels
|
| 186 |
-
- **Frame Rate**: 10 FPS (100ms per frame)
|
| 187 |
-
- **Duration**: 6 seconds per animation
|
| 188 |
-
- **Compression**: GIF LZW compression
|
| 189 |
-
- **File Size**: 50-200KB per sample (average ~100KB)
|
| 190 |
-
|
| 191 |
-
## Citation
|
| 192 |
-
|
| 193 |
-
If you use this dataset in your research, please cite:
|
| 194 |
-
|
| 195 |
-
```bibtex
|
| 196 |
-
@dataset{gradienttile1m,
|
| 197 |
-
title={GradientTile 1M: A Large-Scale Dataset of Animated Mathematical Patterns},
|
| 198 |
-
author={Your Name},
|
| 199 |
-
year={2024},
|
| 200 |
-
url={https://huggingface.co/datasets/your-username/gradienttile-1m},
|
| 201 |
-
note={A dataset of 1 million procedurally generated animated mathematical patterns}
|
| 202 |
-
}
|
| 203 |
-
```
|
| 204 |
-
|
| 205 |
-
## License
|
| 206 |
-
|
| 207 |
-
This dataset is released under the MIT License. See the LICENSE file for details.
|
| 208 |
-
|
| 209 |
-
## Contact
|
| 210 |
-
|
| 211 |
-
For questions or issues, please open an issue on the [GitHub repository](https://github.com/your-username/gradienttile) or contact the maintainers.
|
| 212 |
-
|
| 213 |
-
---
|
| 214 |
-
|
| 215 |
-
*Generated on 2025-10-26 20:43:07*
|
|
|
|
| 1 |
---
|
|
|
|
| 2 |
task_categories:
|
| 3 |
+
- image-to-image
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
tags:
|
| 5 |
+
- WebDataset
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
---
|
| 7 |
|
| 8 |
+
A large-scale dataset of 100K procedurally generated animated GIFs featuring mathematical patterns, fractals, and artistic visualizations.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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