Sunflower fractal: Difference between revisions
m
→{{header|Phix}}
(Added C++ solution) |
|||
Line 408:
=={{header|Phix}}==
{{libheader|Phix/pGUI}}
<lang Phix>constant numberofseeds = 3000
Line 444 ⟶ 445:
cdCanvasSetForeground(cddbuffer, CD_BLACK)
return IUP_DEFAULT
end function
Line 460 ⟶ 456:
dlg = IupDialog(canvas)
IupSetAttribute(dlg, "TITLE", "Sunflower")
IupCloseOnEscape(dlg)
IupSetCallback(canvas, "ACTION", Icallback("redraw_cb"))
|