https://gradrisrad.github.io/post/duo-drawing-base/