gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/examples/fractals.lua
diff options
context:
space:
mode:
Diffstat (limited to 'examples/fractals.lua')
-rw-r--r--examples/fractals.lua 5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/fractals.lua b/examples/fractals.lua
index a2236e80..4543a203 100644
--- a/examples/fractals.lua
+++ b/examples/fractals.lua
@@ -44,8 +44,9 @@ end
function levyc(n)
local p = plot()
local c = ipath(c_generator(n, 4, 1/2, {-1,0,0,1}))
- p:add(c, 'red', {{'stroke'}}, {{'rotate', angle= -pi/4}})
- p:add(c, 'red', {{'stroke'}}, {{'translate', x=1/sqrt(2), y=-1/sqrt(2)},{'rotate', angle= pi/4}})
+ p:add(c, 'red', {{'stroke', width=0.7}}, {{'rotate', angle= -pi/4}})
+ p:add(c, 'red', {{'stroke', width=0.7}},
+ {{'translate', x=1/sqrt(2), y=-1/sqrt(2)},{'rotate', angle= pi/4}})
p:show()
return p
end
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月21日 08:01:19 +0000

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