const px = ( x ) => x . toFixed ( 3 ) + "px" ; export const circle = ( col , x , y , w , h = w ) => [ "div" , { class : "absolute z-1 white f7 tc br-100 o-80 " + col , style : { left : px ( x - w / 2 ) , top : px ( y - h / 2 ) , width : px ( w ) , height : px ( h ) , "line-height" : px ( h ) , } , } , `${ x };${ y }` , ] ;