Refactor drawing algorithm
Merge branch 'release/v0.0.1'