ShaharMS / Vision

Cross framework, cross platform computer vision for Haxe
MIT License
35 stars 5 forks source link

Vision triangle #16

Closed nanjizal closed 2 years ago

nanjizal commented 2 years ago

Untested just ported over some relevant aspects from my nanizal.Pixelimage before work this morning.

triangle fill and 3 gradient thick line fill and gradient quad fill and gradient

with these users can create all manor of solid shapes.

Will test if the approach seems viable and useful for the direction of your project. Aspects not include alpha blend, circle error and the polygon/quadrant.

( sorry by mistake it seems to have the other pull request as well, had intended branch not to include ).

( I can spot atleast one typo. )

nanjizal commented 2 years ago

wanted to pull the concept before any tidy up and testing

ShaharMS commented 2 years ago

Nice one!

I think those are nice features to port, and if u need help in certain things, feel free to ask.

I would recommend looking at CONTRIBUTING.md though, since the code here (and in the other pr) kinda breaks the rules there. These shouldn't be hard fixes, and I don't blame you for not following these, since the file was created very recently :)

nanjizal commented 2 years ago

Unfortunately I am going to close this as it is unlikely I will implement in the form of your PR.