[–] cedric_h 1y ago ↗ I made this earclipping visualizer that visually demonstrates how the technique works and provides a minimal (~70 lines with comments) implementation.The "stepping through the algorithm" is done by way of a generator; I simply "yield" after each interesting bit of progress.
1 comment
[ 5.8 ms ] story [ 16.4 ms ] threadThe "stepping through the algorithm" is done by way of a generator; I simply "yield" after each interesting bit of progress.