paulscottrobson / neo6502-firmware

Firmware for a Neo6502 Retrocomputer
http://www.neo6502.com
MIT License
63 stars 18 forks source link

feature request: draw triangle (group 5) #605

Open zbyti opened 1 month ago

zbyti commented 1 month ago

a filled triangle as an option would be nice ;)

paulscottrobson commented 1 month ago

Good idea. On holiday next week so I'll look at this when I get back.

Anyone who knows anything about triangle/polygon type algorithms and can recommend one ?

zbyti commented 1 month ago

https://cglearn.eu/pub/computer-graphics/task/bresenham-triangle-1

paulscottrobson commented 1 week ago

Not implemented for 1.0 , the primary reason is it will require some surgery to the BASIC drawing code which does not support more than 2 points.