biologyguy / Evopix

Pictures evolved
0 stars 0 forks source link

Changes to evp format #9

Open biologyguy opened 10 years ago

biologyguy commented 10 years ago

I'm running into cases where I need to know the extreme min/max coordinates of the evopic, but the calculation is fairly expensive because it has to check every Bézier curve (not just the coordinate values directly). We already run through this calcluation once in the zero_evp() function after a new breed, so I'm thinking we should either push the min/max values to the database or append them to the evp file. I'm in favor of the evp file, which keeps the input to the Evopic class just the evp. What are your thoughts on this? And should we record data for every path, or just the whole Evopic?