function xEllipse(e, xRadius, yRadius, radiusInc, totalTime, startAngle, stopAngle)
Define your own values to pass to xEllipse(). The same arguments are passed to each of the demo elements. The 'Reset' button repositions the demo elements in the center of the page.
Each function call is in a for loop which calls xEllipse() for each demo element. a1 is a convenience variable I used. It is the start angle of each element (ele1=0, ele2=90, ele3=180, ele4=270).
xEllipse(ele[i], 200, 100, 0, 10000, a1, 2880+a1);
xEllipse(ele[i], 100, 200, 0, 10000, 2880+a1, a1);
xEllipse(ele[i], 200, 100, 0, 5000, 0, -360);
xEllipse(ele[i], 100, 200, 0, 5000, -360, 0);
xEllipse(ele[i], 400, 300, -1, 5000, 0, 720);
xEllipse(ele[i], 300, 400, -1, 5000, a1, 720+a1);
xEllipse(ele[i], 2, 2, 1, 10000, i * 360, 0);
xEllipse(ele[i], 2, 2, 1, 10000, 720+a1, a1);
xEllipse is part of the X Library as of v3.15.3.
Forum support is available at the X Library Support Forums.
The X core is designed to work with all browsers, Object-detection instead of browser-detection is used exclusively. Currently, I'm testing with the following browsers. X has been tested by others on a wide variety of platforms.
Win7 (Home): IE 9.
WinXP (SP3): Chrome 220.127.116.11, Firefox 3.5.5, IE 7 & 8, Opera 10.60 and Safari 4.0.3.
Linux (Ubuntu 9.10): Chrome 18.104.22.168 and FireFox 3.5.7.