fractex 0.1.1__py3-none-any.whl → 0.1.2__py3-none-any.whl
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.
- fractex/examples/splash.py +5 -1
- fractex/interactive.py +11 -1
- {fractex-0.1.1.dist-info → fractex-0.1.2.dist-info}/METADATA +1 -1
- {fractex-0.1.1.dist-info → fractex-0.1.2.dist-info}/RECORD +8 -8
- {fractex-0.1.1.dist-info → fractex-0.1.2.dist-info}/WHEEL +0 -0
- {fractex-0.1.1.dist-info → fractex-0.1.2.dist-info}/entry_points.txt +0 -0
- {fractex-0.1.1.dist-info → fractex-0.1.2.dist-info}/licenses/LICENSE +0 -0
- {fractex-0.1.1.dist-info → fractex-0.1.2.dist-info}/top_level.txt +0 -0
fractex/examples/splash.py
CHANGED
|
@@ -58,7 +58,11 @@ def main():
|
|
|
58
58
|
dpi = fig.get_dpi()
|
|
59
59
|
fig.set_size_inches(screen_width / dpi, screen_height / dpi)
|
|
60
60
|
ax.axis("off")
|
|
61
|
-
ax.set_title(
|
|
61
|
+
ax.set_title("fractex")
|
|
62
|
+
try:
|
|
63
|
+
fig.canvas.manager.set_window_title("fractex")
|
|
64
|
+
except Exception:
|
|
65
|
+
pass
|
|
62
66
|
|
|
63
67
|
texture = textures[presets[0]]
|
|
64
68
|
width = max(64, int(screen_width * max(0.1, args.scale)))
|
fractex/interactive.py
CHANGED
|
@@ -104,6 +104,7 @@ def run_interactive(
|
|
|
104
104
|
try:
|
|
105
105
|
import matplotlib.pyplot as plt
|
|
106
106
|
from matplotlib.animation import FuncAnimation
|
|
107
|
+
import matplotlib as mpl
|
|
107
108
|
except Exception:
|
|
108
109
|
print("matplotlib is not available; cannot display interactive output.")
|
|
109
110
|
return
|
|
@@ -114,12 +115,21 @@ def run_interactive(
|
|
|
114
115
|
width = max(config.min_render, width)
|
|
115
116
|
height = max(config.min_render, height)
|
|
116
117
|
|
|
118
|
+
mpl.rcParams["toolbar"] = "None"
|
|
117
119
|
fig, ax = plt.subplots()
|
|
118
120
|
dpi = fig.get_dpi()
|
|
119
121
|
fig.set_size_inches(width / dpi, height / dpi)
|
|
120
122
|
ax.axis("off")
|
|
121
|
-
ax.set_title(
|
|
123
|
+
ax.set_title("fractex")
|
|
122
124
|
fig.subplots_adjust(left=0, right=1, top=1, bottom=0)
|
|
125
|
+
try:
|
|
126
|
+
fig.canvas.manager.toolbar.setVisible(False)
|
|
127
|
+
except Exception:
|
|
128
|
+
pass
|
|
129
|
+
try:
|
|
130
|
+
fig.canvas.manager.set_window_title("fractex")
|
|
131
|
+
except Exception:
|
|
132
|
+
pass
|
|
123
133
|
|
|
124
134
|
target_ms = 1000.0 / max(1.0, config.target_fps)
|
|
125
135
|
render_scale = 1.0
|
|
@@ -5,7 +5,7 @@ fractex/cli.py,sha256=jQ9bI_rwtXwu_u_J_5HpwoiC8ZIOVH6JXvaXWYvOQV4,2468
|
|
|
5
5
|
fractex/core.py,sha256=VppjXFtc-15wsKXJ8yXU-fdpIlzvWd-2xLnI1-qP0A0,21546
|
|
6
6
|
fractex/dynamic_textures_3d.py,sha256=ZFkdfbGak1fS-LkPkw_-bXSuPjDaB0RUWdIlo595l-g,83944
|
|
7
7
|
fractex/geometric_patterns_3d.py,sha256=kKGuAMYcNPJLvCUlRO7DzgJIAi5w-b7YkdwmznbKv94,103341
|
|
8
|
-
fractex/interactive.py,sha256=
|
|
8
|
+
fractex/interactive.py,sha256=pVFrXZ3kUXo-3UuKYQHKLvM6oyYIgvmp6K1iY-4jSg4,5558
|
|
9
9
|
fractex/simplex_noise.py,sha256=JuMl0tqo4Qq1XC8fmaxLSiH9GppYVvBhmBI5Zc2ZYpc,41571
|
|
10
10
|
fractex/texture_blending.py,sha256=2bgmqqsw6v6M2qDp5cEhC-SjdbnvPGxmZLJf7Iaa7Ds,58506
|
|
11
11
|
fractex/volume_scattering.py,sha256=T04rrW1N4VwimNskVww7K6XB1rEqo0foBXii6wAvhkk,54040
|
|
@@ -24,13 +24,13 @@ fractex/examples/game_integration.py,sha256=k85yfez6N46oyR5gXpenbOoxDNMQgRLIDRay
|
|
|
24
24
|
fractex/examples/game_texture.py,sha256=4hwtTOpspIQanQODD2g6opke0Zp5XwTriw8kqdtKLak,6841
|
|
25
25
|
fractex/examples/integration.py,sha256=jJwa3ChUmxikGmqJk_tchDnV3rhuYKlNdEATxdbvf_8,3494
|
|
26
26
|
fractex/examples/physic_integration.py,sha256=uh_ik_j-iiEOowPIvd37jwUDi5v9PZtCYUyHgyJBCC4,2551
|
|
27
|
-
fractex/examples/splash.py,sha256=
|
|
27
|
+
fractex/examples/splash.py,sha256=n01HxC0Zhry9NqJf-NmczLKB_OG1WiFaUB-9y-bJa7c,5969
|
|
28
28
|
fractex/examples/terrain.py,sha256=rsduhHchbyI6T-RDIzI-S6D07g2_rCSg6JtA4eXGve0,2611
|
|
29
29
|
fractex/examples/underwater.py,sha256=1_SlTVhd-ONEYqyV_B4sCFhSqScmCHQ7f6eRVI7v5X8,3313
|
|
30
30
|
fractex/examples/underwater_volkano.py,sha256=HobJi3ztK-R_VeHfI8oVRZupONbegWnOL40llj_LnaE,4161
|
|
31
|
-
fractex-0.1.
|
|
32
|
-
fractex-0.1.
|
|
33
|
-
fractex-0.1.
|
|
34
|
-
fractex-0.1.
|
|
35
|
-
fractex-0.1.
|
|
36
|
-
fractex-0.1.
|
|
31
|
+
fractex-0.1.2.dist-info/licenses/LICENSE,sha256=CRrETm3c-JFoqpolJMrRIfFXOxOy5uhnvdSVKFP6sVE,1069
|
|
32
|
+
fractex-0.1.2.dist-info/METADATA,sha256=08gXQDGLPMgpHrs4h0U1qCYdRNrGgeqDLLurlImdHqw,3603
|
|
33
|
+
fractex-0.1.2.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
34
|
+
fractex-0.1.2.dist-info/entry_points.txt,sha256=xgzT1MTUmB69bstzCyxybxJDI7D8nYqsJpBN2UMazL4,45
|
|
35
|
+
fractex-0.1.2.dist-info/top_level.txt,sha256=LFl1_h1YNgANgBDo6d-tPTJzlrO3ny_l5OTItasV9rw,8
|
|
36
|
+
fractex-0.1.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|