Bitmap/Midpoint circle algorithm: Difference between revisions
Content added Content deleted
(→{{header|evaldraw}}: evaldraw solution for midpoint circle aka bresenham circle) |
m (→{{header|Wren}}: Changed to Wren S/H) |
||
Line 2,605: | Line 2,605: | ||
{{trans|Kotlin}} |
{{trans|Kotlin}} |
||
{{libheader|DOME}} |
{{libheader|DOME}} |
||
<syntaxhighlight lang=" |
<syntaxhighlight lang="wren">import "graphics" for Canvas, Color, ImageData |
||
import "dome" for Window |
import "dome" for Window |
||
Line 2,665: | Line 2,665: | ||
var Game = MidpointCircle.new(400, 400)</syntaxhighlight> |
var Game = MidpointCircle.new(400, 400)</syntaxhighlight> |
||
=={{header|XPL0}}== |
=={{header|XPL0}}== |
||
<syntaxhighlight lang="xpl0">include c:\cxpl\codes; \include 'code' declarations |
<syntaxhighlight lang="xpl0">include c:\cxpl\codes; \include 'code' declarations |