Draw Pixels.apk.zip (2.3 MB) - apk for performance testing
Defold engine native extension for drawing pixels and simple geometry into texture buffer.
Thanks @britzl and @Mathias_Westerdahl for help.
(Like a result of this polling)
Feel free to contribute!
If you want to contribute and don’t know what you can do, look into next list:
- Draw rectangle by two corner dots
- Draw line with thickness parameter
- Anti aliasing
- (Done!!! thanks @thekrasnikoff) Bézier curves
- (Done!!! thanks @britzl )Draw line
Materials
http://members.chello.at/~easyfilter/bresenham.html
http://www.sunshine2k.de/coding/java/TriangleRasterization/TriangleRasterization.html