gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/demos/fractals.lua
diff options
context:
space:
mode:
Diffstat (limited to 'demos/fractals.lua')
-rw-r--r--demos/fractals.lua 3
1 files changed, 0 insertions, 3 deletions
diff --git a/demos/fractals.lua b/demos/fractals.lua
index 84ceb3c1..d6c8d0cf 100644
--- a/demos/fractals.lua
+++ b/demos/fractals.lua
@@ -12,8 +12,6 @@ local function c_generator(n, n_angle, len_frac, g)
local sh = ilist(|k| g[(k-1)%r+1] - g[(k-2)%r+1], r)
local a = (g[1]*n) % n_angle
- print('sh', sh)
-
local z = 0
return function()
if w[n+1] == 0 then
@@ -21,7 +19,6 @@ local function c_generator(n, n_angle, len_frac, g)
z = z + sz[a+1]
for j=1,n+1 do
w[j] = (w[j] + 1) % r
- print(j, w[j], sh[w[j]+1], a)
a = (a + sh[w[j]+1]) % n_angle
if w[j] ~= 0 then
break
generated by cgit v1.2.3 (git 2.25.1) at 2025年10月03日 13:59:11 +0000

AltStyle によって変換されたページ (->オリジナル) /