Anonymous user
Bitmap/Bresenham's line algorithm: Difference between revisions
Bitmap/Bresenham's line algorithm (view source)
Revision as of 04:25, 9 November 2023
, 6 months ago→{{header|MiniScript}}
m (→{{header|Wren}}: Changed to Wren S/H) |
imported>Chinhouse |
||
Line 2,836:
This GUI implementation is for use with [http://miniscript.org/MiniMicro Mini Micro].
<syntaxhighlight lang="miniscript">
Img = new Image
Img.line = function(x1, y1, x2, y2, colr)
dx = abs(x2 - x1)
|