@bellinitte You wouldn't happen to have a bresenham arc drawing routine by any chance? I've been trying all morning and it's kicking my butt. In the form
@draw-arc ( x1* y1* x2* y2* clockwise -- )
@bellinitte You wouldn't happen to have a bresenham arc drawing routine by any chance? I've been trying all morning and it's kicking my butt. In the form @draw-arc ( x1* y1* x2* y2* clockwise -- ) 3 comments
@bellinitte yes! exactly :) I have made this a while back which is what I was trying to port, but it's not as clean: https://git.sr.ht/~rabbits/dotgrid/tree/master/item/old/dotgrid.c#L325 |
@neauoire I don't, but we can join forces!
just so we're on the same page, do you mean something like this? do u have an example implementation in another language on hand maybe?