TomZelazny / Polar.js

Place html elements using polar coordinates

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Polar.js

Place html elements using polar coordinates

A couple of fiddles that mess with the concept:

I think the interface should look like this:


  Polar("css-element") // returns PolarBaseElement
  .appendElement("html/domElement") // returns polarOrbitElement (adds to polarBase children)
  .placeAt("deg","radius/border") // return polarOrbitElement
  .animate("cssAnimation") // return polarOrbitElement
  .show(); // return polarOrbitElement

this is probably helpful:

About

Place html elements using polar coordinates

License:MIT License