HPInc / HP-Digital-Microfluidics

HP Digital Microfluidics Software Platform and Libraries
MIT License
2 stars 0 forks source link

Make splash zones round #168

Open EvanKirshenbaum opened 5 months ago

EvanKirshenbaum commented 5 months ago

The current implementation of splash zones (#57) has them as squares with a "radius" equal to half a side length. When the radius is large, this can result in the corners extending out further than we might like.

It would be nice if we could make the splash zones be circles. The hard part will likely be seeing whether we can do it with the same sort of incremental growth that we currently use. An alternative would be to figure out the bounding rectangle, compute the (square) distance, and sort the pads (that are within the radius) by distance. Dealing with drops on the border would still be tricky.

Migrated from internal repository. Originally created by @EvanKirshenbaum on Jun 10, 2022 at 3:55 PM PDT.