Module:Sandbox/Flarn2006/circle: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

24 September 2021

  • curprev 03:1003:10, 24 September 2021 imported>Flarn2006 694 bytes +694 Created page with 'local p = {} function p.circle(frame) local output = '<pre>\n' local r = tonumber(frame.args[1]) / 2 for i=-r,r do local y = i/r for j=-r,r do local x = j/r if x*x + y*y > 1 then output = output..' ' else output = output..'()' end end output = output..'\n' end output = output..'</pre>' return output end function p.circles(frame) local start_diameter = tonumber(frame.args[1]) local end_diameter = tonumber(frame.args[2])...'