HTML and CSS Reference
In-Depth Information
Figure 5-12. Moving an object in a circle
You can easily alter the location and size of the circle path by altering the radius ,
centerX , and centerY properties of the circle path object.
Example 5-9 shows the code for CH5EX9.html .
Example 5-9. Moving in a circle
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>CH5EX9: Moving In A Circle</title>
<script src="modernizr-1.6.min.js"></script>
<script type="text/javascript">
 
Search WWH ::




Custom Search