Metadata-Version: 2.4
Name: fractex
Version: 0.2.1
Summary: Fractal texture engine for procedural and infinite-detail textures.
Author-email: Timur Isanov <tisanov@yahoo.com>
License: MIT License
        
        Copyright (c) 2026 Timur Isanov
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Repository, https://github.com/xtimon/fractex.git
Keywords: fractal,texture,procedural,noise
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Multimedia :: Graphics
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy
Requires-Dist: numba
Requires-Dist: matplotlib
Dynamic: license-file

## Fractex

Fractex — библиотека для генерации процедурных фрактальных текстур и шума
с бесконечной детализацией.

Репозиторий: https://github.com/xtimon/fractex.git

## Установка

```bash
pip install fractex
```

## Быстрый старт

```python
from fractex import FractalParams, FractalGenerator, InfiniteTexture

params = FractalParams(seed=42, detail_level=2.0)
generator = FractalGenerator(params)

clouds = InfiniteTexture(generator, "clouds")
tile = clouds.generate_tile(0, 0, 256, 256, zoom=1.0)
print(tile.shape, tile.min(), tile.max())
```

## CLI

```bash
fractex --list
fractex splash --preset lava
fractex terrain --interactive --fps 30 --scale 1.0
```

## Интерактивный API

```python
import fractex as fx

print(fx.list_examples())
fx.run_example("splash", ["--preset", "marble", "--fps", "30"])
```

## Возможности

- Фрактальный шум (fBm), симплекс‑шум
- Бесконечная детализация через адаптивные октавы
- Пресеты текстур: облака, мрамор, дерево, лава, вода и др.
- Интерактивные примеры с адаптацией качества к FPS

## Лицензия

MIT License. См. файл `LICENSE`.
