Barnsley fern: Difference between revisions
Content added Content deleted
Line 1,683: | Line 1,683: | ||
=={{header|SPL}}== |
=={{header|SPL}}== |
||
<lang spl> |
<lang spl>w,h = #.scrsize() |
||
x,y = 0 |
x,y = 0 |
||
> |
> |
||
Line 1,691: | Line 1,691: | ||
? r!<92 & r<99, x,y = f4(x,y) |
? r!<92 & r<99, x,y = f4(x,y) |
||
? r!<99, x,y = f1(y) |
? r!<99, x,y = f1(y) |
||
#.drawpoint(x/10* |
#.drawpoint(x/10*w+w/2,h-y/10*h,0,0.5,0,0.1) |
||
< |
< |
||
f1(y) <= 0, 0.16*y |
f1(y) <= 0, 0.16*y |