Fractal texture engine for procedural and infinite-detail textures.
Project description
Fractex
Fractex — библиотека для генерации процедурных фрактальных текстур и шума с бесконечной детализацией.
Репозиторий: https://github.com/xtimon/fractex.git
Установка
pip install fractex
Быстрый старт
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
fractex --list
fractex splash --preset lava
fractex terrain --interactive --fps 30 --scale 1.0
Интерактивный API
import fractex as fx
print(fx.list_examples())
fx.run_example("splash", ["--preset", "marble", "--fps", "30"])
Возможности
- Фрактальный шум (fBm), симплекс‑шум
- Бесконечная детализация через адаптивные октавы
- Пресеты текстур: облака, мрамор, дерево, лава, вода и др.
- Интерактивные примеры с адаптацией качества к FPS
Лицензия
MIT License. См. файл LICENSE.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fractex-0.1.0.tar.gz.
File metadata
- Download URL: fractex-0.1.0.tar.gz
- Upload date:
- Size: 105.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ec4445e20212df9e2af674146a70a5dc5ce06e396c3659c5fbd871c4bb3f3c3
|
|
| MD5 |
e1274d48e508b2d735b0833002a061b5
|
|
| BLAKE2b-256 |
cbe53f7a54c803002f9ebd3ab4aaf34c0f28a6328f73520ddac51ae566a3b04d
|
Provenance
The following attestation bundles were made for fractex-0.1.0.tar.gz:
Publisher:
pypi.yaml on xtimon/fractex
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fractex-0.1.0.tar.gz -
Subject digest:
8ec4445e20212df9e2af674146a70a5dc5ce06e396c3659c5fbd871c4bb3f3c3 - Sigstore transparency entry: 910894371
- Sigstore integration time:
-
Permalink:
xtimon/fractex@ec1f65d8a19385aa0d90324a3da96bb03708655d -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/xtimon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yaml@ec1f65d8a19385aa0d90324a3da96bb03708655d -
Trigger Event:
release
-
Statement type:
File details
Details for the file fractex-0.1.0-py3-none-any.whl.
File metadata
- Download URL: fractex-0.1.0-py3-none-any.whl
- Upload date:
- Size: 121.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6a852ffa4876efd1286b4750850de5084b64a9d7e0d218b368a33a7211f9601
|
|
| MD5 |
a122c544a7e7eb18bd9d6a865a5a6210
|
|
| BLAKE2b-256 |
6c309a42cb787bda40f31ae109c00b5ce17bdc97cbe6de1d37b195bea2f7726c
|
Provenance
The following attestation bundles were made for fractex-0.1.0-py3-none-any.whl:
Publisher:
pypi.yaml on xtimon/fractex
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fractex-0.1.0-py3-none-any.whl -
Subject digest:
b6a852ffa4876efd1286b4750850de5084b64a9d7e0d218b368a33a7211f9601 - Sigstore transparency entry: 910894377
- Sigstore integration time:
-
Permalink:
xtimon/fractex@ec1f65d8a19385aa0d90324a3da96bb03708655d -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/xtimon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yaml@ec1f65d8a19385aa0d90324a3da96bb03708655d -
Trigger Event:
release
-
Statement type: