TaiJi
代码说明:
自己写的JS程序: 具体是使用JS+JQ+animate动画+勾股定理实现了画太极图,原理很简单,就是使用绝对定位作为 div坐标+动画+div生成,升级画法:可以使用三角函数(sin,cos,tan etc),使用勾股定理每个像 素点的位置不太好把握! 最后:感兴趣的同学可以将imgs中的图片改成透明的图片,替换JS中方块,这样效果好看些。(JS write their own programs: Specifically using JS+ JQ+ animate animation+ Pythagorean realized painting of Tai Chi, the principle is very simple, is to use absolute positioning as + animation+ div div coordinate generation, upgrade painting: You can use trigonometric functions (sin, cos, tan etc), each pixel using the Pythagorean theorem Prime location is not very good grasp of the point! Finally: Interested students can imgs pictures into a transparent image, replace JS in the box, so the effect look better.)
下载说明:请别用迅雷下载,失败请重下,重下不扣分!