Sunflower fractal: Difference between revisions

m (→‎{{header|Julia}}: reposition png)
Line 468:
x = r .* cos.(θ)
y = r .* sin.(θ)
f = Figure(show_axis = false)
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]]
<br />
 
=={{header|Liberty BASIC}}==
4,105

edits