fogleman / primitive

Reproducing images with geometric primitives.
https://primitive.lol/
MIT License
12.35k stars 608 forks source link

Possible new option #25

Open bmaltais opened 7 years ago

bmaltais commented 7 years ago

An interesting option could be to implement a score based cutoff... so instead of providing the number of primitives one would specify the desired "score" of the result.

I am not sure I fully understand the scoring at the moment. Is a score of 1 (1 x 100) meaning 100% away from source picture and a score of 0.01 (0.01 x 100) meaning 1% away from source...

bmaltais commented 7 years ago

I created a pull request for the implementation of this feature: https://github.com/fogleman/primitive/pull/29