cam:
 - fix bug where polygon might sometime not get closed.
pocketing code better performances and easier to understand
 - separated the spiral code from the polygon closing and rotation.
2D view : try to get better performance by avoiding DOM calls.