fractex 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. fractex-0.1.0/LICENSE +21 -0
  2. fractex-0.1.0/MANIFEST.in +2 -0
  3. fractex-0.1.0/PKG-INFO +100 -0
  4. fractex-0.1.0/README.md +53 -0
  5. fractex-0.1.0/fractex/3d.py +1585 -0
  6. fractex-0.1.0/fractex/__init__.py +38 -0
  7. fractex-0.1.0/fractex/advanced.py +170 -0
  8. fractex-0.1.0/fractex/cli.py +81 -0
  9. fractex-0.1.0/fractex/core.py +508 -0
  10. fractex-0.1.0/fractex/dynamic_textures_3d.py +1935 -0
  11. fractex-0.1.0/fractex/examples/3d.py +109 -0
  12. fractex-0.1.0/fractex/examples/3d_integration.py +113 -0
  13. fractex-0.1.0/fractex/examples/3d_integration_2d.py +59 -0
  14. fractex-0.1.0/fractex/examples/__init__.py +34 -0
  15. fractex-0.1.0/fractex/examples/_output.py +115 -0
  16. fractex-0.1.0/fractex/examples/architecture_pattern.py +61 -0
  17. fractex-0.1.0/fractex/examples/atmosphere.py +54 -0
  18. fractex-0.1.0/fractex/examples/composite_material.py +63 -0
  19. fractex-0.1.0/fractex/examples/crystal_cave.py +61 -0
  20. fractex-0.1.0/fractex/examples/custom_pattern.py +114 -0
  21. fractex-0.1.0/fractex/examples/game_integration.py +86 -0
  22. fractex-0.1.0/fractex/examples/game_texture.py +178 -0
  23. fractex-0.1.0/fractex/examples/integration.py +102 -0
  24. fractex-0.1.0/fractex/examples/physic_integration.py +70 -0
  25. fractex-0.1.0/fractex/examples/splash.py +159 -0
  26. fractex-0.1.0/fractex/examples/terrain.py +76 -0
  27. fractex-0.1.0/fractex/examples/underwater.py +94 -0
  28. fractex-0.1.0/fractex/examples/underwater_volkano.py +112 -0
  29. fractex-0.1.0/fractex/geometric_patterns_3d.py +2372 -0
  30. fractex-0.1.0/fractex/interactive.py +158 -0
  31. fractex-0.1.0/fractex/simplex_noise.py +1113 -0
  32. fractex-0.1.0/fractex/texture_blending.py +1377 -0
  33. fractex-0.1.0/fractex/volume_scattering.py +1263 -0
  34. fractex-0.1.0/fractex/volume_textures.py +8 -0
  35. fractex-0.1.0/fractex.egg-info/PKG-INFO +100 -0
  36. fractex-0.1.0/fractex.egg-info/SOURCES.txt +40 -0
  37. fractex-0.1.0/fractex.egg-info/dependency_links.txt +1 -0
  38. fractex-0.1.0/fractex.egg-info/entry_points.txt +2 -0
  39. fractex-0.1.0/fractex.egg-info/requires.txt +2 -0
  40. fractex-0.1.0/fractex.egg-info/top_level.txt +1 -0
  41. fractex-0.1.0/pyproject.toml +42 -0
  42. fractex-0.1.0/setup.cfg +4 -0
fractex-0.1.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Timur Isanov
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,2 @@
1
+ include README.md
2
+ include LICENSE
fractex-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,100 @@
1
+ Metadata-Version: 2.4
2
+ Name: fractex
3
+ Version: 0.1.0
4
+ Summary: Fractal texture engine for procedural and infinite-detail textures.
5
+ Author-email: Timur Isanov <tisanov@yahoo.com>
6
+ License: MIT License
7
+
8
+ Copyright (c) 2026 Timur Isanov
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ SOFTWARE.
27
+
28
+ Project-URL: Repository, https://github.com/xtimon/fractex.git
29
+ Keywords: fractal,texture,procedural,noise
30
+ Classifier: Development Status :: 3 - Alpha
31
+ Classifier: Intended Audience :: Developers
32
+ Classifier: License :: OSI Approved :: MIT License
33
+ Classifier: Programming Language :: Python :: 3
34
+ Classifier: Programming Language :: Python :: 3 :: Only
35
+ Classifier: Programming Language :: Python :: 3.9
36
+ Classifier: Programming Language :: Python :: 3.10
37
+ Classifier: Programming Language :: Python :: 3.11
38
+ Classifier: Programming Language :: Python :: 3.12
39
+ Classifier: Topic :: Multimedia :: Graphics
40
+ Classifier: Topic :: Software Development :: Libraries
41
+ Requires-Python: >=3.9
42
+ Description-Content-Type: text/markdown
43
+ License-File: LICENSE
44
+ Requires-Dist: numpy
45
+ Requires-Dist: numba
46
+ Dynamic: license-file
47
+
48
+ ## Fractex
49
+
50
+ Fractex — библиотека для генерации процедурных фрактальных текстур и шума
51
+ с бесконечной детализацией.
52
+
53
+ Репозиторий: https://github.com/xtimon/fractex.git
54
+
55
+ ## Установка
56
+
57
+ ```bash
58
+ pip install fractex
59
+ ```
60
+
61
+ ## Быстрый старт
62
+
63
+ ```python
64
+ from fractex import FractalParams, FractalGenerator, InfiniteTexture
65
+
66
+ params = FractalParams(seed=42, detail_level=2.0)
67
+ generator = FractalGenerator(params)
68
+
69
+ clouds = InfiniteTexture(generator, "clouds")
70
+ tile = clouds.generate_tile(0, 0, 256, 256, zoom=1.0)
71
+ print(tile.shape, tile.min(), tile.max())
72
+ ```
73
+
74
+ ## CLI
75
+
76
+ ```bash
77
+ fractex --list
78
+ fractex splash --preset lava
79
+ fractex terrain --interactive --fps 30 --scale 1.0
80
+ ```
81
+
82
+ ## Интерактивный API
83
+
84
+ ```python
85
+ import fractex as fx
86
+
87
+ print(fx.list_examples())
88
+ fx.run_example("splash", ["--preset", "marble", "--fps", "30"])
89
+ ```
90
+
91
+ ## Возможности
92
+
93
+ - Фрактальный шум (fBm), симплекс‑шум
94
+ - Бесконечная детализация через адаптивные октавы
95
+ - Пресеты текстур: облака, мрамор, дерево, лава, вода и др.
96
+ - Интерактивные примеры с адаптацией качества к FPS
97
+
98
+ ## Лицензия
99
+
100
+ MIT License. См. файл `LICENSE`.
@@ -0,0 +1,53 @@
1
+ ## Fractex
2
+
3
+ Fractex — библиотека для генерации процедурных фрактальных текстур и шума
4
+ с бесконечной детализацией.
5
+
6
+ Репозиторий: https://github.com/xtimon/fractex.git
7
+
8
+ ## Установка
9
+
10
+ ```bash
11
+ pip install fractex
12
+ ```
13
+
14
+ ## Быстрый старт
15
+
16
+ ```python
17
+ from fractex import FractalParams, FractalGenerator, InfiniteTexture
18
+
19
+ params = FractalParams(seed=42, detail_level=2.0)
20
+ generator = FractalGenerator(params)
21
+
22
+ clouds = InfiniteTexture(generator, "clouds")
23
+ tile = clouds.generate_tile(0, 0, 256, 256, zoom=1.0)
24
+ print(tile.shape, tile.min(), tile.max())
25
+ ```
26
+
27
+ ## CLI
28
+
29
+ ```bash
30
+ fractex --list
31
+ fractex splash --preset lava
32
+ fractex terrain --interactive --fps 30 --scale 1.0
33
+ ```
34
+
35
+ ## Интерактивный API
36
+
37
+ ```python
38
+ import fractex as fx
39
+
40
+ print(fx.list_examples())
41
+ fx.run_example("splash", ["--preset", "marble", "--fps", "30"])
42
+ ```
43
+
44
+ ## Возможности
45
+
46
+ - Фрактальный шум (fBm), симплекс‑шум
47
+ - Бесконечная детализация через адаптивные октавы
48
+ - Пресеты текстур: облака, мрамор, дерево, лава, вода и др.
49
+ - Интерактивные примеры с адаптацией качества к FPS
50
+
51
+ ## Лицензия
52
+
53
+ MIT License. См. файл `LICENSE`.