 canvas.getContext('2d'),
        eraseAllButton = document.getElementById('eraseAllButton'),
        strokeStyleSelect = document.getElementById('strokeStyleSelect'),
        startAngleSelect = document.getElementById('startAngleSelect'),

        fillStyleSelect = document.getElementById('fillStyleSelect'),
        fillCheckbox = document.getElementById('fillCheckbox'),
        editCheckbox = document.getElementById('editCheckbox'),

        sidesSelect = document.getElementById('sidesSelect'),

        C