Sunflower fractal: Difference between revisions
→{{header|Julia}}: move png
m (→{{header|Julia}}: reposition png) |
(→{{header|Julia}}: move png) |
||
Line 468:
x = r .* cos.(θ)
y = r .* sin.(θ)
f = Figure(
ax = Axis(f[1, 1], backgroundcolor = :green)
scatter!(ax, x, y, color = :gold, markersize = markersizes, strokewidth = 1)
hidespines!(ax)
hidedecorations!(ax)
return f
end
sunflowerplot()
</syntaxhighlight>{{out}}
[[File:Sunflower-julia.png|left|thumb]]
=={{header|Liberty BASIC}}==
|