Shape Projections with D3.js

d3js shape projections

Shapes

Circle

Square

Diamond

PolarZigZag

return t/5;

The graph needle rotates in constant angular velocity thanks to polar coordinates versions of the shape functions. See the messy code in this html. The PolarZigZag shape is me trying to make a polar coordinates function which has linear projections. I wasn't yet able to design a function that will have this effect on both coordinate projections.