These widgets are created using HTML5, a Canvas element and JavaScript with a dash of geometry and trigonometry.