Finding the "center" of things graphical

The screen
JavaScript    CSS    SVG
An equilateral triangle
using bit of geometry (and assignment#1)
An arbitrary polygon
here for example class discussion